Skip to content

Copilot CLI does not send MCP Tasks augmentation for task-required tools #5540

Backlog

Description

@supermem613

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

  1. 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);
  }
});
  1. Configure this server as an additional MCP server.
  2. Ask Copilot CLI to call delay_v2 once.

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/get until a terminal status is reached, or
  • subscribing to notifications/tasks/status and 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

Activity

  1. added
    area:mcpMCP server configuration, discovery, connectivity, OAuth, policy, and registry
    and removed on Nov 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:mcpMCP server configuration, discovery, connectivity, OAuth, policy, and registry

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions