← Back to Kontasks
4 New MCP Tools Implemented
Added konui_get_task, konui_get_stats, konui_bulk_delete_tasks, konui_get_metrics to the MCP server
Output
✅ 4 New MCP Tools Implemented
The konui MCP server has been updated from v1.0.0 → v1.1.0 with 4 new tools:
🔧 New Tools
| Tool | Purpose |
|---|---|
konui_get_task |
Fetch full kontask details by ID (including context.output) |
konui_get_stats |
Get kontask statistics (pending, approved, completed, etc.) |
konui_bulk_delete_tasks |
Bulk delete by status, optionally filtered by scope/tag |
konui_get_metrics |
Platform health (CPU, memory, disk, service status) |
📋 Example Usage
Get full kontask details:
konui_get_task({ taskId: "abc123" })
→ { success: true, task: { id, title, context, output, ... } }
Get kontask statistics:
konui_get_stats()
→ { success: true, stats: { pending: 5, completed: 145, ... } }
Bulk delete completed kontasks:
konui_bulk_delete_tasks({ status: "completed", scope: "vibetools" })
→ { success: true, deleted: 15, message: "Deleted 15 task(s)..." }
Check platform health:
konui_get_metrics()
→ { success: true, metrics: { cpu: 12.5, memory: {...}, services: {...} } }
📁 Changes
konui/mcp/server.ts +139 lines ├── 4 new tool definitions in TOOLS array ├── 4 new case handlers in executeToolCall() └── Version bumped to 1.1.0
✓ Verified
- Type checking passes:
deno check mcp/server.ts ✓ - All 84 tests pass
- Committed:
1665dcd7
What's Next?
The new tools are available immediately. No service restart required - Claude will see them on the next MCP connection.
Quick Actions
Original Request
No layout configured
Details
Type
General
Status
Completed
Scope
vibetools
Tags
mcpkontasksapi
Created
7 Jan 2026, 8:39 pm
Updated
7 Jan 2026, 8:39 pm
Timing
⏱️ 154.7s
0 tools
● TTFE 0%
● Thinking 100%
● Tools 0%
Created By
claude
Raw Data
{
"id": "ff0b6d34-481a-473a-a601-ddfe7a42586d",
"type": "general",
"status": "completed",
"title": "4 New MCP Tools Implemented",
"description": "Added konui_get_task, konui_get_stats, konui_bulk_delete_tasks, konui_get_metrics to the MCP server",
"context": {
"output": "<div style=\"background:#1e1e1e;color:#e0e0e0;padding:20px;border-radius:8px;font-family:system-ui,-apple-system,sans-serif;\">\n<h2 style=\"color:#22c55e;margin:0 0 16px 0;\">✅ 4 New MCP Tools Implemented</h2>\n\n<p style=\"color:#9ca3af;margin-bottom:16px;\">The konui MCP server has been updated from v1.0.0 → v1.1.0 with 4 new tools:</p>\n\n<div style=\"background:#2d2d2d;padding:16px;border-radius:6px;margin-bottom:16px;\">\n<h3 style=\"color:#e5c07b;margin:0 0 12px 0;\">🔧 New Tools</h3>\n\n<table style=\"width:100%;border-collapse:collapse;font-size:0.9em;\">\n<tr style=\"border-bottom:1px solid #444;\">\n<th style=\"text-align:left;padding:8px;color:#9ca3af;\">Tool</th>\n<th style=\"text-align:left;padding:8px;color:#9ca3af;\">Purpose</th>\n</tr>\n<tr style=\"border-bottom:1px solid #333;\">\n<td style=\"padding:8px;\"><code style=\"background:#1a1a2e;padding:2px 6px;border-radius:3px;color:#61afef;\">konui_get_task</code></td>\n<td style=\"padding:8px;color:#9ca3af;\">Fetch full kontask details by ID (including context.output)</td>\n</tr>\n<tr style=\"border-bottom:1px solid #333;\">\n<td style=\"padding:8px;\"><code style=\"background:#1a1a2e;padding:2px 6px;border-radius:3px;color:#61afef;\">konui_get_stats</code></td>\n<td style=\"padding:8px;color:#9ca3af;\">Get kontask statistics (pending, approved, completed, etc.)</td>\n</tr>\n<tr style=\"border-bottom:1px solid #333;\">\n<td style=\"padding:8px;\"><code style=\"background:#1a1a2e;padding:2px 6px;border-radius:3px;color:#61afef;\">konui_bulk_delete_tasks</code></td>\n<td style=\"padding:8px;color:#9ca3af;\">Bulk delete by status, optionally filtered by scope/tag</td>\n</tr>\n<tr>\n<td style=\"padding:8px;\"><code style=\"background:#1a1a2e;padding:2px 6px;border-radius:3px;color:#61afef;\">konui_get_metrics</code></td>\n<td style=\"padding:8px;color:#9ca3af;\">Platform health (CPU, memory, disk, service status)</td>\n</tr>\n</table>\n</div>\n\n<div style=\"background:#2d2d2d;padding:16px;border-radius:6px;margin-bottom:16px;\">\n<h3 style=\"color:#3b82f6;margin:0 0 12px 0;\">📋 Example Usage</h3>\n\n<h4 style=\"color:#98c379;margin:8px 0 4px 0;\">Get full kontask details:</h4>\n<pre style=\"background:#1a1a2e;padding:12px;border-radius:4px;overflow-x:auto;font-size:0.85em;margin:0;\">konui_get_task({ taskId: \"abc123\" })\n→ { success: true, task: { id, title, context, output, ... } }</pre>\n\n<h4 style=\"color:#98c379;margin:12px 0 4px 0;\">Get kontask statistics:</h4>\n<pre style=\"background:#1a1a2e;padding:12px;border-radius:4px;overflow-x:auto;font-size:0.85em;margin:0;\">konui_get_stats()\n→ { success: true, stats: { pending: 5, completed: 145, ... } }</pre>\n\n<h4 style=\"color:#98c379;margin:12px 0 4px 0;\">Bulk delete completed kontasks:</h4>\n<pre style=\"background:#1a1a2e;padding:12px;border-radius:4px;overflow-x:auto;font-size:0.85em;margin:0;\">konui_bulk_delete_tasks({ status: \"completed\", scope: \"vibetools\" })\n→ { success: true, deleted: 15, message: \"Deleted 15 task(s)...\" }</pre>\n\n<h4 style=\"color:#98c379;margin:12px 0 4px 0;\">Check platform health:</h4>\n<pre style=\"background:#1a1a2e;padding:12px;border-radius:4px;overflow-x:auto;font-size:0.85em;margin:0;\">konui_get_metrics()\n→ { success: true, metrics: { cpu: 12.5, memory: {...}, services: {...} } }</pre>\n</div>\n\n<div style=\"background:#2d2d2d;padding:16px;border-radius:6px;margin-bottom:16px;\">\n<h3 style=\"color:#c678dd;margin:0 0 12px 0;\">📁 Changes</h3>\n<pre style=\"background:#1a1a2e;padding:12px;border-radius:4px;overflow-x:auto;font-size:0.85em;margin:0;\"><span style=\"color:#98c379;\">konui/mcp/server.ts</span> <span style=\"color:#7f848e;\">+139 lines</span>\n├── 4 new tool definitions in TOOLS array\n├── 4 new case handlers in executeToolCall()\n└── Version bumped to 1.1.0</pre>\n</div>\n\n<div style=\"background:#1a2e1a;border:1px solid #22c55e;padding:16px;border-radius:6px;margin-bottom:16px;\">\n<h4 style=\"color:#22c55e;margin:0 0 8px 0;\">✓ Verified</h4>\n<ul style=\"margin:0;padding-left:20px;color:#9ca3af;\">\n<li>Type checking passes: <code style=\"background:#2d2d2d;padding:2px 6px;border-radius:3px;\">deno check mcp/server.ts ✓</code></li>\n<li>All 84 tests pass</li>\n<li>Committed: <code style=\"background:#2d2d2d;padding:2px 6px;border-radius:3px;\">1665dcd7</code></li>\n</ul>\n</div>\n\n<div style=\"background:#2d2d2d;padding:16px;border-radius:6px;\">\n<h4 style=\"margin:0 0 8px 0;color:#fff;\">What's Next?</h4>\n<p style=\"color:#9ca3af;margin:0;\">The new tools are available immediately. No service restart required - Claude will see them on the next MCP connection.</p>\n</div>\n</div>",
"choices": [
{
"label": "Test konui_get_stats",
"value": "Test the new konui_get_stats MCP tool - show me the current kontask statistics",
"primary": true
},
{
"label": "Test konui_get_metrics",
"value": "Test the new konui_get_metrics MCP tool - show me the platform health metrics"
},
{
"label": "Push to remote",
"value": "Push the MCP server changes to the remote git repository"
}
],
"requestedAt": "2026-01-07T03:50:00.000Z",
"requestId": "211cdce4-db05-48bb-9cbf-f0fd6b3b1df6",
"turnTiming": {
"totalMs": 154708,
"ttfeMs": 59,
"thinkingMs": 154649,
"toolExecutionMs": 0,
"toolCallCount": 0,
"thinkingPct": 100,
"toolsPct": 0,
"ttfePct": 0
}
},
"createdBy": "claude",
"createdAt": "2026-01-07T10:39:30.254Z",
"updatedAt": "2026-01-07T10:39:34.388Z",
"requestId": "211cdce4-db05-48bb-9cbf-f0fd6b3b1df6",
"scope": "vibetools",
"tags": [
"mcp",
"kontasks",
"api"
],
"targetUser": "claude"
}