Feature Request: Real-Time Progress Updates for MCP Tools #3802
farazshaikh
started this conversation in
1. Feature requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Feature Request: Real-Time Progress Updates for MCP Tools
Problem
MCP tools with long-running operations show no progress feedback, while terminal commands display real-time status updates. This creates an inconsistent user experience.
Current: 30 seconds of silence while MCP tool executes
Expected: Real-time progress updates (like terminal commands show)
Context
The MCP specification includes standard progress notification support via
notifications/progress. Kilocode already has the perfect infrastructure for this - theMcpExecutionStatussystem used for streaming terminal output.Proposed Solution
Apply the same pattern used for
CommandExecutionStatusto MCP progress notifications:3 Small Changes:
Send
progressTokenin tool calls (McpHub.ts:1655)_meta: { progressToken: uuidv4() }
2. Handle
ProgressNotificationSchema(NotificationService.ts)client.setNotificationHandler(ProgressNotificationSchema, (notification) => {
// Send mcpExecutionStatus with status: "output"
provider.postMessageToWebview({
type: "mcpExecutionStatus",
text: JSON.stringify({
executionId,
status: "output",
response:
[${percent}%] ${message}})
})
})
3. Track executionId ↔ progressToken mapping
Benefits
Impact
Benefits any MCP server with long-running operations:
Users get real-time feedback instead of wondering if the operation is stuck.
Beta Was this translation helpful? Give feedback.
All reactions