You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Missing call capability in tasks.requests.tools causes VS Code Copilot to ignore task support #1853
When using experimental.enable_tasks(), the SDK creates TasksToolsCapability() without the nested call capability. This causes VS Code Copilot to silently fall back to synchronous tool calls instead of using the MCP Tasks protocol.
Expected Behavior
The task capabilities should include tasks.requests.tools.call so clients can detect task-augmented tool call support:
# mcp/server/lowlevel/experimental.py, line 81- tools=TasksToolsCapability()+ tools=TasksToolsCapability(call=TasksCallCapability())
Also need to import at the top:
frommcp.typesimportTasksCallCapability
Reproduction
frommcp.serverimportServerfrommcp.server.lowlevel.serverimportNotificationOptionsserver=Server("test")
server.experimental.enable_tasks()
opts=server.create_initialization_options(NotificationOptions(), {})
# This is None but should be TasksCallCapability()print(opts.capabilities.tasks.requests.tools.call) # None ❌
Environment
MCP Python SDK: 1.25.0
Python: 3.12
VS Code: 1.96+ with Copilot extension
Impact
All MCP servers using experimental.enable_tasks() are affected. VS Code Copilot cannot use MCP Tasks for long-running tools, causing 5-minute timeouts instead of proper async task handling.
Activity
Add missing TasksCallCapability to enable proper MCP task support
maxisbey commentedon Jan 15, 2026
Merged a fix here: #1854
Feel free to re-open if this is still an issue