Repository navigation
Description
Summary
Copilot CLI advertises MCP Tasks support during initialization, but it does not send task augmentation when invoking a tool declared with taskSupport: "required". The server refuses the call and no task is started.
This reproduces with a generic MCP server. It does not depend on Atrium or any other project-specific implementation.
Environment
- Copilot CLI:
1.0.115-2 - Host: Windows
- MCP transport: stdio
- MCP SDK:
@modelcontextprotocol/sdk@1.30.0 - MCP protocol: Tasks extension
io.modelcontextprotocol/tasks
Reproduction
- Start a generic MCP stdio server that registers a task-based tool:
server.experimental.tasks.registerToolTask("delay_v2", {
description: "Create a delayed task",
execution: { taskSupport: "required" }
}, {
createTask: async (args, extra) => {
const task = await extra.taskStore.createTask({
ttl: 300000,
pollInterval: 1000
});
// Complete the task later and return a terminal result.
return { task };
},
getTask: async (args, extra) => {
return extra.taskStore.getTask(extra.taskId);
},
getTaskResult: async (args, extra) => {
return extra.taskStore.getTaskResult(extra.taskId);
}
});- Configure this server as an additional MCP server.
- Ask Copilot CLI to call
delay_v2once.
Observed behavior
Copilot CLI initializes the MCP connection and reports a client capability containing:
{
"extensions": {
"io.modelcontextprotocol/tasks": {}
}
}It does not send an augmented tools/call request. Instead, the server receives a normal tools/call request without the task augmentation. A server implementing taskSupport: "required" rejects it with an MCP error:
MCP error -32601: delay_v2 requires task augmentation (taskSupport: 'required')
No task ID is created, no task status is polled or notified, and no result is returned.
Expected behavior
For a task-required tool, Copilot CLI should send the supported MCP Tasks request shape, including task augmentation, and handle the returned task lifecycle.
After receiving a task handle, Copilot CLI should support one of:
- polling
tasks/getuntil a terminal status is reached, or - subscribing to
notifications/tasks/statusand processing the terminal task result.
At minimum, Copilot CLI should not advertise io.modelcontextprotocol/tasks support unless it can correctly initiate a task-augmented tool call.
Control result
An SDK 1.30.0 MCP client and the same generic server successfully completed a 30-second task using the Tasks protocol: task creation, working status polling, a terminal task-status notification, and terminal result retrieval all worked.
This isolates the failure to the Copilot CLI host’s task augmentation behavior rather than the task server implementation.
References
- MCP Tasks extension: https://tasks.extensions.modelcontextprotocol.io/specification/2026-07-28/tasks
- MCP 2026-07-28 Streamable HTTP: https://modelcontextprotocol.io/specification/draft/basic/transports/streamable-http
- MCP 2026-07-28 specification: https://modelcontextprotocol.io/specification/2026-07-28
Activity