Copilot Agent Host does not surface MCP progress notifications shown by Local Harness
Summary
MCP notifications/progress messages are visible when a long-running tool is invoked through VS Code's Local Harness, but the same progress is not surfaced when the tool is invoked through the Copilot Agent Host Harness.
The tool eventually completes successfully in both paths. The difference is that the Agent Host tool row remains silent for the duration of the call, giving the appearance that the operation is stalled.
Steps to reproduce
- Configure an MCP server with a long-running tool that accepts the client-supplied progress token and emits several
notifications/progressmessages before returning. - Invoke the tool in an explicit Local Harness chat.
- Observe incremental progress messages while the tool runs.
- Invoke the same tool through the Copilot Agent Host Harness.
- Observe that the final tool result appears, but the intermediate progress messages do not.
The same server-side progress is also visible through other direct MCP clients, including GitHub Copilot CLI.
Expected behavior
The Copilot Agent Host Harness should:
- Supply an MCP progress token when invoking a progress-capable tool.
- Consume the resulting
notifications/progressmessages. - Associate each message with the running tool call.
- forward an Agent Host progress update.
- Render the latest progress message on the running tool row.
Actual behavior
No progress is shown through the Copilot Agent Host path, although the same MCP tool reports progress through the Local Harness.
This suggests a gap at one or more Agent Host boundaries:
- The hosted MCP client may not supply a progress token.
- The SDK/runtime may receive progress without exposing a suitable event.
- The VS Code Copilot adapter may not translate the event into AHP state.
- The VS Code AHP client may not render the resulting update.
Why the existing issues are not exact duplicates
VS Code issue #267500 covered a regression in the traditional Local Harness path:
- https://github.com/microsoft/vscode/issues/267500
That issue was closed after Local Harness progress rendering was restored. The behavior reported here is specifically the newer Copilot Agent Host path: Local works while Copilot Harness does not.
AHP PR #405 proposes the missing durable representation for progress on a running tool call:
- https://github.com/microsoft/agent-host-protocol/pull/405
That proposal addresses the protocol carrier but does not wire MCP notifications/progress through the Copilot SDK/VS Code Agent Host adapter or verify VS Code rendering.
Architecture boundary
In the Local Harness, VS Code is directly on the MCP client path and can consume MCP notifications.
In the Copilot Harness:
VS Code AHP client
<-> Agent Host Protocol
Copilot Agent Host
-> Copilot SDK/runtime
-> MCP client
-> MCP server
The MCP progress notification must therefore be translated into an Agent Host state/action before the VS Code UI can render it.
Requested investigation and acceptance criteria
- Verify whether the Copilot Agent Host MCP invocation includes a progress token.
- Verify whether the SDK/runtime receives emitted progress notifications.
- Map each progress event to the correct running AHP tool call, aligning with AHP PR #405 or its accepted replacement.
- Render progress in the VS Code Agent Host tool-call row.
- Add an end-to-end test with multiple progress messages followed by a successful tool result.
Related work
- Previous Local Harness regression: https://github.com/microsoft/vscode/issues/267500
- AHP running-tool progress proposal: https://github.com/microsoft/agent-host-protocol/pull/405
- MCP migration to Copilot Agent Host Harness: https://github.com/microsoft/vscode/issues/332782
Routing to @roblourens (agentic loop + LM Tools API in vscode-copilot-chat) as the most likely owner for wiring MCP notifications/progress through the Copilot SDK / Agent Host adapter. Suggested area: agent-host.
[!WARNING]
Firewall blocked 1 domain
The following domain was blocked by the firewall during workflow execution:
host.docker.internalTo allow these domains, add them to the
network.allowedlist in your workflow frontmatter:network: allowed: - defaults - "host.docker.internal"See Network Configuration for more information.
Generated by Issue Triage · copilot · opus48 · 120.8 AIC · ⌖ 28.4 AIC · ⊞ 8.8K · ◷
Not sure if related. But the tool input arguments also don't show in Copilot harness:
VS Code Local (I can see the input arguments sent):
Copilot (only shows the server name and tool name):
I just want to mention that in Copilot Agents, I can observe the same issue and am being asked to run database_service_run_query, how am I supposed to know if the agent wants to drop a table or SELECT TOP 1 * FROM users?
I noticed the same in 1.142.0. Before it used to work.
I plugged a reverse proxy and I do see the notifications coming, so it's purely a VSCode issue.
:status: 200 cache-control: no-cache content-type: text/event-stream ms-correlation-x: d8632a40-c1d5-f3e6-949b-6e2a6397a039 x-content-type-options: nosniff strict-transport-security: max-age=31536000; includeSubDomains cross-origin-resource-policy: same-origin date: Mon, 19 Oct 2026 08:41:03 GMT
event: message data: {"method":"notifications/progress","params":{"progressToken":5,"progress":1,"total":10,"message":"Step 1 of 10"},"jsonrpc":"2.0"}
event: message data: {"method":"notifications/progress","params":{"progressToken":5,"progress":2,"total":10,"message":"Step 2 of 10"},"jsonrpc":"2.0"}
event: message data: {"method":"notifications/progress","params":{"progressToken":5,"progress":3,"total":10,"message":"Step 3 of 10"},"jsonrpc":"2.0"}
event: message data: {"method":"notifications/progress","params":{"progressToken":5,"progress":4,"total":10,"message":"Step 4 of 10"},"jsonrpc":"2.0"}
event: message data: {"method":"notifications/progress","params":{"progressToken":5,"progress":5,"total":10,"message":"Step 5 of 10"},"jsonrpc":"2.0"}
event: message data: {"method":"notifications/progress","params":{"progressToken":5,"progress":6,"total":10,"message":"Step 6 of 10"},"jsonrpc":"2.0"}
event: message data: {"method":"notifications/progress","params":{"progressToken":5,"progress":7,"total":10,"message":"Step 7 of 10"},"jsonrpc":"2.0"}
event: message data: {"method":"notifications/progress","params":{"progressToken":5,"progress":8,"total":10,"message":"Step 8 of 10"},"jsonrpc":"2.0"}
event: message data: {"method":"notifications/progress","params":{"progressToken":5,"progress":9,"total":10,"message":"Step 9 of 10"},"jsonrpc":"2.0"}
event: message data: {"method":"notifications/progress","params":{"progressToken":5,"progress":10,"total":10,"message":"Step 10 of 10"},"jsonrpc":"2.0"}
event: message data: {"result":{"content":[{"type":"text","text":"Completed 10 steps."}]},"id":7,"jsonrpc":"2.0"}
VSCode shows only:
Additional data point: the drop is located in the agent host itself.
Environment
- VS Code 1.147.0 (commit 8a14f0cc1b08d531eb83255ea3764ae22aa932b5), Windows 11 Enterprise (build 26200)
- Copilot Chat 0.75.0, Copilot Harness (Agent Host)
- stdio MCP server built with the MCP Python SDK 2.3.0; the long-running tool calls
ctx.report_progress(progress, total, message)every 60 s
Observation
With Developer: Set Log Level → Agent Host → Trace, the agent host log shows that every progress notification reaches the agent host, with its message:
14:25:44.753 [trace] [Copilot:<session>] Tool progress: toolu_01Fc2vSYu1WyAaYR87ixAT5q - 0.5371409000072163/900.0 (0%): wait_for_setpoint: 0.5/900 s (0% of timeout) | stabilizing: 25.001 °C, setpoint 25.0 °C
14:26:45.164 [trace] [Copilot:<session>] Tool progress: toolu_01Fc2vSYu1WyAaYR87ixAT5q - 60.946314300002996/900.0 (7%): wait_for_setpoint: 60.9/900 s (6% of timeout) | stabilizing: 25.001 °C, setpoint 25.0 °C
14:27:45.711 [trace] [Copilot:<session>] Tool progress: toolu_01Fc2vSYu1WyAaYR87ixAT5q - 121.49225480000314/900.0 (13%): wait_for_setpoint: 121.5/900 s (13% of timeout) | stabilizing: 24.04 °C, setpoint 25.0 °C
14:28:46.133 [trace] [Copilot:<session>] Tool progress: toolu_01Fc2vSYu1WyAaYR87ixAT5q - 181.91417470001034/900.0 (20%): wait_for_setpoint: 181.9/900 s (20% of timeout) | stabilizing: 24.04 °C, setpoint 25.0 °C
The tool completed normally at 14:29:32. For the whole call, the tool row showed only the tool name: no message and no progress bar. The Local Harness shows the progress bar for the same server.
So the path MCP server → Copilot SDK runtime → agent host works: tool.execution_progress arrives with its progressMessage. The drop happens in the agent host. In out/vs/platform/agentHost/node/agentHostMain.js (1.147.0, minified, reformatted below), the progress handler logs the event, then returns early for every tool except image_generation:
let s = a => {
this._logService.trace(`[Copilot:${n}] Tool progress: ${a.data.toolCallId} - ${a.data.progressMessage}`);
let d = this._pendingClientToolReplacement?.calls.get(a.data.toolCallId);
if (d) { d.completed || (d.progress = () => s(a)); return; }
let l = this._activeToolCalls.get(a.data.toolCallId);
if (l?.toolName !== "image_generation") return; // MCP tool progress is discarded here
...
l.meta = { ...l.meta, progressMessage: a.data.progressMessage, ... };
Suggested fix: forward progressMessage for every running tool call, not only image_generation, for example through the running-tool progress action proposed in agent-host-protocol#405.