← Back to Kontasks
Add Edge Delete MCP Tool
Added konui_delete_edge MCP tool for cleaning up stale edges
Output
✓ Added konui_delete_edge MCP Tool
New MCP tool to soft-delete graph edges by ID.
New Tool Definition
konui_delete_edge ├── edgeId: string (required) │ └── Edge ID to delete (e.g., 'edge_01ABC...') └── Returns: deleted edge with deletedAt timestamp
Files Changed
konui/mcp/server.ts +41 lines ├── Tool definition at line 1505 └── Handler at line 3965
Stale Edges Found
13 edges reference deleted topics:
topic_pipeline- old pipeline topic (removed)topic_ui- old UI topic (removed)
Usage Example
// Delete a stale edge await konui_delete_edge({ edgeId: "edge_01KEKNN2PT6KPWB6CRRWQW8WTA" });
Note: The tool is now available but requires konsole restart to be usable in this session. The stale edges can be cleaned up in a follow-up turn.
Quick Actions
Original Request
No layout configured
Details
Type
General
Status
Completed
Scope
greatvibe
Tags
mcpedgesgraph
Created
11 Jan 2026, 12:02 am
Updated
11 Jan 2026, 12:02 am
Timing
⏱️ 123.6s
0 tools
● TTFE 0%
● Thinking 100%
● Tools 0%
Created By
claude
📋 Claude's Context
Session
ses_7c4eba4a...
🔗 Git Commit
6149d7a1
Raw Data
{
"id": "3aaf2b73-68d0-4486-a909-3931d28f97db",
"type": "general",
"status": "completed",
"title": "Add Edge Delete MCP Tool",
"description": "Added konui_delete_edge MCP tool for cleaning up stale edges",
"context": {
"output": "<div style=\"background:#1e1e1e;color:#e0e0e0;padding:20px;border-radius:8px;font-family:'Consolas','Monaco',monospace;\"><h2 style=\"font-family:sans-serif;color:#fff;margin:0 0 16px 0;\">✓ Added konui_delete_edge MCP Tool</h2><p style=\"color:#98c379;margin:0 0 16px 0;\">New MCP tool to soft-delete graph edges by ID.</p><div style=\"background:#2d2d2d;padding:16px;border-radius:6px;margin-bottom:16px;\"><h3 style=\"color:#61afef;margin:0 0 12px 0;font-size:14px;\">New Tool Definition</h3><pre style=\"margin:0;line-height:1.6;color:#e0e0e0;\"><span style=\"color:#c678dd;\">konui_delete_edge</span>\n├── <span style=\"color:#e5c07b;\">edgeId</span>: string (required)\n│ └── <span style=\"color:#7f848e;\">Edge ID to delete (e.g., 'edge_01ABC...')</span>\n└── <span style=\"color:#7f848e;\">Returns: deleted edge with deletedAt timestamp</span></pre></div><div style=\"background:#2d2d2d;padding:16px;border-radius:6px;margin-bottom:16px;\"><h3 style=\"color:#61afef;margin:0 0 12px 0;font-size:14px;\">Files Changed</h3><pre style=\"margin:0;line-height:1.6;\"><span style=\"color:#98c379;\">konui/mcp/server.ts</span> <span style=\"color:#7f848e;\">+41 lines</span>\n├── Tool definition at <span style=\"color:#e5c07b;\">line 1505</span>\n└── Handler at <span style=\"color:#e5c07b;\">line 3965</span></pre></div><div style=\"background:#2d2d2d;padding:16px;border-radius:6px;margin-bottom:16px;\"><h3 style=\"color:#f97316;margin:0 0 12px 0;font-size:14px;\">Stale Edges Found</h3><p style=\"color:#e0e0e0;margin:0 0 8px 0;\"><span style=\"color:#f97316;font-weight:bold;\">13 edges</span> reference deleted topics:</p><ul style=\"margin:0;padding-left:20px;color:#7f848e;\"><li><code style=\"color:#e5c07b;\">topic_pipeline</code> - old pipeline topic (removed)</li><li><code style=\"color:#e5c07b;\">topic_ui</code> - old UI topic (removed)</li></ul></div><div style=\"background:#2d2d2d;padding:16px;border-radius:6px;\"><h3 style=\"color:#61afef;margin:0 0 12px 0;font-size:14px;\">Usage Example</h3><pre style=\"margin:0;line-height:1.6;color:#e0e0e0;\"><span style=\"color:#7f848e;\">// Delete a stale edge</span>\n<span style=\"color:#c678dd;\">await</span> konui_delete_edge({ \n edgeId: <span style=\"color:#98c379;\">\"edge_01KEKNN2PT6KPWB6CRRWQW8WTA\"</span> \n});</pre></div><p style=\"color:#7f848e;font-size:13px;margin:16px 0 0 0;\"><strong>Note:</strong> The tool is now available but requires konsole restart to be usable in this session. The stale edges can be cleaned up in a follow-up turn.</p></div>",
"requestedAt": "2026-01-10T14:05:00.000Z",
"requestId": "6f5fdea4-c7ee-4ece-85f5-7b8b4e528ed8",
"commitSha": "6149d7a1",
"choices": [
{
"label": "Clean up stale edges",
"value": "Delete all 13 stale topic_pipeline and topic_ui edges using the new delete tool",
"primary": true
},
{
"label": "View stale edges",
"value": "Show me the full list of stale topic_pipeline and topic_ui edges"
},
{
"label": "Restart konsole",
"value": "Restart konsole to make the new MCP tool available"
}
],
"turnTiming": {
"totalMs": 123578,
"ttfeMs": 47,
"thinkingMs": 123531,
"toolExecutionMs": 0,
"toolCallCount": 0,
"thinkingPct": 100,
"toolsPct": 0,
"ttfePct": 0
}
},
"createdBy": "claude",
"createdAt": "2026-01-10T14:02:12.151Z",
"updatedAt": "2026-01-10T14:02:16.193Z",
"requestId": "6f5fdea4-c7ee-4ece-85f5-7b8b4e528ed8",
"scope": "greatvibe",
"tags": [
"mcp",
"edges",
"graph"
],
"sessionId": "ses_7c4eba4a-596"
}