roots support in MCP clients
Which MCP clients support roots, and how each claim is known. The protocol introduced it in 2024-11-05. It was deprecated in 2026-07-28.
Has roots.listChanged.
Support
| Client | Kind | Status | Known from | Revisions | Notes |
|---|---|---|---|---|---|
| goose | host | ● full | read | 2026-07-28 |
list_roots returns one root derived from the working directory the client was connected with. Marked #[expect(deprecated)] at the declaration site — roots is deprecated as of 2026-07-28 (SEP-2577). Declared as roots: {} with no listChanged. |
| Codex CLI | host | ○ unsupported | read | 2025-06-18 |
Not in the declared capabilities and no list_roots handler, so a server cannot learn the working directory this way. ready_selected_capability_roots in the same crates is a Codex-internal concept, unrelated to MCP roots. |
| opencode | host | ○ unsupported | read | 2026-07-28 |
roots is still declared and roots/list still answered, but 2026-07-28 deprecates roots and a server on that revision cannot request them. |
| Cline * | host | ○ unsupported | read | 2024-11-05, 2025-11-25 |
Not declared and not implemented, despite the extension knowing the workspace roots for its own file tools. |
| fast-agent | framework | ◇ opt-in | read | 2026-07-28 |
Declared only for a server whose config entry lists roots, and served correctly when it is: roots/list returns the configured file:// URIs, with an optional alias so the URI presented to the server differs from the local path. The roots are read once from config and never change. |
| OpenClaw * | host | ○ unsupported | read | 2025-11-25 |
Not declared and not implemented for configured servers, so unlike goose, opencode and fast-agent this client does not reach the roots.listChanged declaration gap at all. A roots/list handler and a sendRootsListChanged call exist only on the native projection bridge, which nothing in production acquires. |
| Hermes Agent | host | ○ unsupported | read, declared | 2025-11-25 |
No list_roots_callback is passed at either session construction site and no roots handler exists anywhere in the client, so nothing is declared and roots/list is never answered. Hermes is the second client read here that does not reach the SDK roots.listChanged problem at all, for the same reason as OpenClaw: it never opts in. |
| Kilo Code * | host | ● full | read | 2025-11-25 |
The only capability Kilo declares. list_roots returns one root, the file URL of the instance directory. |
| Mastra | framework | ○ unsupported | read, declared | 2026-07-28 |
Not declared, and no roots/list handler is registered. The roots option, setRoots() and sendRootsListChanged() of 1.x are gone; the 2.0.0 changelog lists roots as removed. |
| fx (native engine) | host | ○ unsupported | read | 2025-11-25, 2026-07-28 |
Never declared. A 2026 round that asks for roots ends the call as unsupported input, and a 2025 roots/list request gets -32601. |
| libfx (fx JavaScript adapter) * | framework | ○ unsupported | read | 2025-11-25 |
Not declared by a default client, and libfx passes no workspace to it. |
| eve | framework | ○ unsupported | read | 2026-07-28 |
Not declared. The SDK answers roots/list with -32601. |
| pi * | host | ● full | read | 2025-11-25 |
The only capability the coding agent declares, as roots: {}. roots/list returns one root, the file URL of the session working directory, named after its last path segment. |
| Strands Agents | framework | ○ unsupported | read, declared | 2026-07-28 |
No list_roots callback is passed and MCPClient has no parameter for one, so roots is not declared. TypeScript: no roots key, and a task input request for roots/list throws CapabilityNotSupported. |
| crewAI * | framework | ○ unsupported | read | 2025-11-25 |
Not declared. No list_roots_callback is passed, so the SDK leaves roots out of the capabilities and answers roots/list with an Invalid Request error. |
| deepagents * | framework | ○ unsupported | read, declared | 2025-11-25 |
Declared to every server and not served. FastMCP's ProxyClient installs a forwarding handler by default, and the handler relays roots/list to the in-process router session, whose client deepagents-code builds with no handler. On deepagents-code 0.2.5 with fastmcp 4.1.2 and mcp 2.2.0 a server that sent roots/list got a JSON-RPC error: "Cannot send 'roots/list': this transport context has no back-channel for server-initiated requests." The loader code is the same at 87f6080d. |
| Google ADK (Python) | framework | ○ unsupported | read | 2025-11-25 |
No list_roots_callback is passed to ClientSession, and McpToolset has no parameter for one. The SDK default answers roots/list with an error. |
| Microsoft Agent Framework | framework | ○ unsupported | read | 2026-07-28 |
No list_roots_callback is passed to Client, so roots is not declared. .NET: C# SDK 2.2.0 adds an empty roots capability when the application sets a RootsHandler, and no file in dotnet/src sets one. |
| Google Antigravity | host | ● full | declared | 2025-06-18 |
|
| Claude Code | host | ● full | declared | 2025-06-18 |
|
| Claude.ai | host | ○ unsupported | declared | 2025-06-18 |
|
| ChatGPT | host | ○ unsupported | declared | 2025-06-18 |
|
| Hugging Face Chat UI | host | ○ unsupported | read | 2026-07-28 |
Not declared and no roots/list handler. |
| Cursor * | host | ● full | declared | 2025-06-18 |
|
| Visual Studio Code * | host | ● full | read, declared | 2025-06-18, 2025-11-25 |
Roots are the workspace folders on the server's remote authority, as file URIs with normalised drive letters, or the explicit roots of a server definition. |
| n8n * | host | ○ unsupported | read | 2025-11-25 |
Not declared. capabilities is {}. |
| Langflow * | host | ○ unsupported | read | 2025-11-25 |
Not declared. No list_roots_callback is passed, so the SDK answers roots/list with an Invalid Request error. |
| mcp-use | framework | ● full | read | 2025-11-25, 2026-07-28 |
Declared on every connection with listChanged true, by both bindings. roots/list returns the roots from the config entry, empty by default. setRoots replaces them and sends notifications/roots/list_changed. The TypeScript source marks roots as kept for v1 compatibility. |
| Zed * | host | ○ unsupported | read | 2025-11-25 |
Declared as roots: None. A roots/list request from the server finds no handler and gets no response. |
| TypeScript SDK Client | sdk | ◇ opt-in | read | 2025-11-25 |
Not declared by default. The application passes capabilities.roots and registers setRequestHandler('roots/list'). Marked deprecated as of 2026-07-28 (SEP-2577). |
| Warp | host | ○ unsupported | read | 2026-07-28 |
Not declared: the capability object is ClientCapabilities::default(). rmcp's default list_roots still answers a roots/list with an empty list, where goose returns its working directory and Codex has the same default. |
| Reachy Mini conversation app | host | ○ unsupported | read | 2026-07-28 |
No list_roots_callback, so no roots capability is declared. |
Not recorded for Codex Desktop. A missing record is not the same as unsupported.
Rows describe each client on 2026-07-28. A row marked * is for the newest revision the client speaks, because it cannot negotiate 2026-07-28: 2025-11-25 for 12 clients.
Tiers are not ranked. read is a source read at a pinned commit, verified is a probe run, observed is telemetry, and declared is what the client or a curated list says. "Through" names the parent capability whose evidence a row rests on when it has none of its own.
By protocol revision
On 2025-11-25 these clients record a different row. The other clients' rows above hold on 2025-11-25 as well.
| Client | On 2026-07-28 |
On 2025-11-25 |
Notes on 2025-11-25 |
|---|---|---|---|
| opencode | ○ unsupported | ● full | Declared beside elicitation. roots/list returns exactly one root, the file URL of the location directory. A pooled connection shared across directories declares no roots and leaves roots/list unanswered. |
goose, Hermes Agent, Google Antigravity, Claude Code, Claude.ai, ChatGPT, Warp, Reachy Mini conversation app have one set of rows for every revision they speak, not yet split by revision.
The matrix on 2025-11-25 shows every capability on that revision.
Where the tiers disagree
- deepagents is recorded as unsupported. declared at
2025-11-25says full: canimcp-probe, 2026-11-08. The initialize request in probe/runs/deepagents@0.7.34+code-0.2.5/default/both-http/tools.result.app_only/wire.jsonl, from deepagents-code 0.2.5 on fastmcp 4.1.2 and mcp 2.2.0, declares roots: {listChanged: true}.
Evidence
- read at
2026-07-28: aaif-goose/goose atc546eaa1crates/oi-kit-agent/src/mcp/client.rs:GooseClient.get_info, 2026-11-27
- read at
2025-06-18: openai/codex at18c09f20codex-rs/rmcp-client/src/logging_client_handler.rs:LoggingClientHandler, 2026-11-27 - read at
2025-06-18: openai/codex at18c09f20codex-rs/codex-mcp/src/connection_manager.rs:McpConnectionSet, 2026-11-27. ready_selected_capability_roots, the Codex-internal concept.
- read at
2026-07-28: anomalyco/opencode at5d1f7884packages/core/src/mcp/client.ts:initialize, 2026-11-27
- read at
2025-11-25: cline/cline atcbc7d141apps/vscode/src/services/mcp/McpHub.ts:McpHub.connectToServer, 2026-11-27 - read at
2024-11-05: cline/cline atcbc7d141sdk/packages/core/src/extensions/mcp/client.ts:StdioMcpClient.connect, 2026-11-27
- read at
2026-07-28: evalstate/fast-agent at16f8bb65src/fast_agent/mcp/client_callback_runtime.py:MCPClientCallbackRuntime._make_list_roots_callback, 2026-11-27 - read at
2026-07-28: evalstate/fast-agent at16f8bb65src/fast_agent/config.py:MCPRootSettings, 2026-11-27. A root URI must start with file://, enforced in config.
- read at
2025-11-25: openclaw/openclaw atb607eb7bsrc/agents/mcp-metadata.ts:buildMcpClientCapabilities, 2026-11-27 - read at
2025-11-25: openclaw/openclaw atb607eb7bsrc/node-host/mcp.ts:connectionAdmission, 2026-11-27 - read at
2025-11-25: openclaw/openclaw atb607eb7bsrc/agents/native-mcp-runtime-client.ts:createNativeMcpClientBridge,rootsChanged, 2026-11-27
- read at
2025-11-25: NousResearch/hermes-agent at77236c4atools/mcp_tool_transport.py:MCPServerTransportMixin._session_kwargs, 2026-11-27. _session_kwargs carries the sampling and elicitation handlers, message_handler, logging_callback and client_info only. - read at
2025-11-25: modelcontextprotocol/python-sdk at2118f14fsrc/mcp/client/session.py:ClientSession._build_capabilities, 2026-11-09. ClientSession derives the roots capability from list_roots_callback; with none passed the capability is absent. - declared at
2025-11-25says unsupported: canimcp-probe, 2026-11-08. initialize.capabilities on the wire was {"sampling":{},"elicitation":{"form":{},"url":{}}} (wire.jsonl). No roots key.
- read at
2025-11-25: Kilo-Org/kilocode at3c7f2659packages/opencode/src/mcp/index.ts:CLIENT_OPTIONS,createClient, 2026-11-27
- read at
2026-07-28: mastra-ai/mastra at0a31d4d0packages/mcp/src/client/types.ts:MCPClientCapabilities, 2026-11-27 - read at
2026-07-28: mastra-ai/mastra at0a31d4d0packages/mcp/src/client/client.ts:InternalMastraMCPClient, 2026-11-27 - read at
2026-07-28: mastra-ai/mastra at0a31d4d0packages/mcp/CHANGELOG.md:Major Changes, 2026-11-27 - declared at
2026-07-28says unsupported: canimcp-probe, 2026-11-08. The clientCapabilities sent with server/discover and every later request were {"extensions":{"io.modelcontextprotocol/ui":{}}} (wire.jsonl). The probe ran @mastra/mcp 2.9.0-alpha.1; the capability code is the same at bb984550.
- read at
2026-07-28: vercel-labs/fx atb4502b01src/core/mcp_host/runtime.zig:declaredCapabilities, 2026-11-27 - read at
2026-07-28: vercel-labs/fx atb4502b01src/mcp/protocol/mrtr.zig:supported, 2026-11-27 - read at
2026-07-28: vercel-labs/fx atb4502b01src/core/mcp/mrtr.zig, 2026-11-27 - read at
2025-11-25: vercel-labs/fx atb4502b01src/mcp/server.zig:Server, 2026-11-27
libfx (fx JavaScript adapter):
- read at
2025-11-25: vercel-labs/fx atb4502b01sdk/types/mcp.d.ts, 2026-11-27 - read at
2025-11-25: vercel-labs/fx atb4502b01sdk/mcp.js:createMcpAdapter, 2026-11-27
eve:
- read at
2026-07-28: vercel/eve at4545806dpackages/eve/src/runtime/connections/mcp-client.ts:McpConnectionClient.createClient, 2026-11-27. createMCPClient is called with protocolVersionDiscovery and transport only. No capabilities, name or handlers are passed. - read at
2026-07-28: @ai-sdk/mcpdist/index.js, 2026-11-16. @ai-sdk/mcp 2.0.99, the npm artifact before eve applies its build patches. onRequestMessage answers ping, handles elicitation/create when a handler is registered, and returns -32601 for every other server request.
pi:
- read at
2025-11-25: earendil-works/pi atcdf74062packages/coding-agent/src/extensions/mcp/runtime.ts:McpServerConnection.connectOnce, 2026-11-27 - read at
2025-11-25: earendil-works/pi atcdf74062packages/mcp/src/client.ts:McpClient,McpClient.connect, 2026-11-27
- read at
2026-07-28: strands-agents/harness-sdk at78855cadstrands-py/src/strands/tools/mcp/mcp_client.py:MCPClient._async_background_thread, 2026-11-27 - read at
2026-07-28: modelcontextprotocol/python-sdkmcp/client/session.py, 2026-11-16. mcp 2.3.0. roots is declared only when a list_roots callback was passed. - read at
2026-07-28: strands-agents/harness-sdk at78855cadstrands-ts/src/mcp/client.ts:McpClient._createClient,McpClient.roots, 2026-11-27. TypeScript binding. - declared at
2026-07-28says unsupported: canimcp-probe, 2026-11-08. The server/discover request and every later request carried io.modelcontextprotocol/clientCapabilities {} and clientInfo {"name":"mcp","version":"0.1.0"} (wire.jsonl). The server answered discover, so no initialize was sent.
- read at
2025-11-25: crewAIInc/crewAI at77237aeclib/crewai/src/crewai/mcp/client.py:MCPClient.connect, 2026-11-27. ClientSession is constructed with the two streams and nothing else: no callbacks, no message_handler, no client_info. - read at
2025-11-25: modelcontextprotocol/python-sdkmcp/client/session.py, 2026-11-16. mcp 1.30.0 wheel. The default callback and the capability built from it.
- declared at
2025-11-25says full: canimcp-probe, 2026-11-08. The initialize request in probe/runs/deepagents@0.7.34+code-0.2.5/default/both-http/tools.result.app_only/wire.jsonl, from deepagents-code 0.2.5 on fastmcp 4.1.2 and mcp 2.2.0, declares roots: {listChanged: true}. - read at
2025-11-25: langchain-ai/deepagents atc84eb7f1libs/code/deepagents_code/mcp_tools.py:connect, 2026-11-27. The per-server client is StatefulProxyClient(transport=..., log_handler=...). No mode, client_info, roots, sampling_handler, elicitation_handler or message_handler is passed. The calls on it are connect and list_tools. - read at
2025-11-25: langchain-ai/deepagents atc84eb7f1libs/code/deepagents_code/mcp_tools.py:_mount_backends, 2026-11-27. Each connected client is wrapped with create_proxy and mounted on a FastMCP router. The tools call through FastMCPClient(router), built with no handlers. - read at
2025-11-25: PrefectHQ/fastmcpfastmcp/server/providers/proxy.py, 2026-11-16. fastmcp-slim 4.1.2, from the PyPI wheel. ProxyClient sets mode to legacy when none is given and installs forwarding handlers for roots, sampling, elicitation, logging and progress. - read at
2025-11-25: modelcontextprotocol/python-sdkmcp/client/session.py, 2026-11-16. mcp 2.3.0, from the PyPI wheel. A capability is declared for each callback that is not the SDK default: sampling, elicitation with form and url, roots with listChanged true.
- read at
2025-11-25: google/adk-python at03725e8csrc/google/adk/tools/mcp_tool/session_context.py:SessionContext._run, 2026-11-27. The only ClientSession construction under src. It passes sampling_callback, sampling_capabilities, elicitation_callback, message_handler and client_info, and no list_roots_callback or logging_callback. - read at
2025-11-25: google/adk-python at03725e8csrc/google/adk/tools/mcp_tool/mcp_toolset.py:McpToolset.__init__, 2026-11-27. The McpToolset constructor signature.
- read at
2026-07-28: microsoft/agent-framework atf8ade3e9python/packages/core/agent_framework/_mcp.py:MCPTool._connect_on_owner, 2026-11-27 - read at
2026-07-28: modelcontextprotocol/python-sdkmcp/client/session.py, 2026-11-16. mcp 2.3.0 wheel. roots is declared only for a non-default callback.
- declared at
2025-06-18: apify/mcp-client-capabilities at2b28e97, 2026-11-11. Records roots with listChanged: true.
- declared at
2025-06-18: apify/mcp-client-capabilities at2b28e97, 2026-11-15
- declared at
2025-06-18: apify/mcp-client-capabilities at2b28e97, 2026-11-15. No roots key on the claude-ai record.
- declared at
2025-06-18: apify/mcp-client-capabilities at2b28e97, 2026-11-15. No roots key on the ChatGPT record.
- read at
2026-07-28: huggingface/chat-ui at7fc0f672src/lib/server/mcp/client.ts:mcpClientCapabilities,createMcpClient, 2026-11-27
- declared at
2025-06-18: apify/mcp-client-capabilities at2b28e97, 2026-11-15
- declared at
2025-06-18: apify/mcp-client-capabilities at2b28e97, 2026-11-15 - read at
2025-11-25: microsoft/vscode at6737a1ccsrc/vs/workbench/contrib/mcp/common/mcpServerRequestHandler.ts:McpServerRequestHandler,McpServerRequestHandler.create,McpServerRequestHandler.handleRootsList, 2026-11-27 - read at
2025-11-25: microsoft/vscode at6737a1ccsrc/vs/workbench/contrib/mcp/common/mcpServer.ts:McpServer, 2026-11-27
n8n:
- read at
2025-11-25: n8n-io/n8n atfb1aec9cpackages/@n8n/nodes-langchain/nodes/mcp/shared/utils.ts:connectMcpClient, 2026-11-27 - read at
2025-11-25: n8n-io/n8n atfb1aec9cpackages/@n8n/agents/src/runtime/mcp/mcp-connection.ts:McpConnection.doConnect, 2026-11-27
- read at
2025-11-25: langflow-ai/langflow at2b6faa1csrc/lfx/src/lfx/base/mcp/util.py:MCPSessionManager.session_task, 2026-11-27 - read at
2025-11-25: modelcontextprotocol/python-sdkmcp/client/session.py, 2026-11-20. mcp 1.30.0 wheel.
- read at
2026-07-28: mcp-use/mcp-use atbc8fb6f3libraries/typescript/packages/client/src/transport/http.ts:HttpConnector.onChanged, 2026-11-27 - read at
2026-07-28: mcp-use/mcp-use atbc8fb6f3libraries/typescript/packages/client/src/transport/stdio.ts:StdioConnector.establishTransport, 2026-11-27 - read at
2026-07-28: mcp-use/mcp-use atbc8fb6f3libraries/typescript/packages/client/src/transport/base.ts:BaseConnector, 2026-11-27 - read at
2025-11-25: mcp-use/mcp-use atbc8fb6f3libraries/python/mcp_use/client/connectors/base.py:BaseConnector.__init__,BaseConnector, 2026-11-27. Python binding. Always passes a list_roots_callback.
Zed:
- read at
2025-11-25: zed-industries/zed atda3a2740crates/context_server/src/protocol.rs:ModelContextProtocol.initialize, 2026-11-27 - read at
2025-11-25: zed-industries/zed atda3a2740crates/context_server/src/client.rs:Client.handle_input, 2026-11-27
- read at
2025-11-25: modelcontextprotocol/typescript-sdk at5ee54ee3packages/client/src/client/client.ts:Client, 2026-11-20. The constructor copies options.capabilities, or {} when none are given. - read at
2025-11-25: modelcontextprotocol/typescript-sdk at5ee54ee3packages/client/src/client/client.ts:Client.assertRequestHandlerCapability, 2026-11-20. assertRequestHandlerCapability: registering a sampling, elicitation or roots handler throws unless the matching capability was declared.
Warp:
- read at
2026-07-28: warpdotdev/warp at1c7fda11crates/mcp/src/runtime.rs:make_client_info, 2026-11-27 - read at
2026-07-28: rmcpsrc/handler/client.rs, 2026-11-21
- read at
2026-07-28: modelcontextprotocol/python-sdkmcp/client/session.py:638-645, 2026-11-26
opencode on 2025-11-25:
- read at
2025-11-25: anomalyco/opencode at5d1f7884packages/core/src/mcp/client.ts:initialize, 2026-11-27 - read at
2025-11-25: anomalyco/opencode at5d1f7884packages/core/src/mcp/connection.ts:make, 2026-11-27. A pooled connection declares no roots.
Lifecycle
| Revision | Change |
|---|---|
2024-11-05 |
Introduced. |
2026-07-28 |
Server-initiated roots/list replaced by the MRTR inputRequests pattern. Feature deprecated (SEP-2322, SEP-2577) |
2026-07-28 |
Deprecated. Earliest removal First revision released on or after 2027-07-28. |
Pass directories or files via tool parameters, resource URIs, or server configuration.
SEP-2577.
Research notes
- ADK Python declares no client capabilities unless the application passes callbacks
- Agent Framework's Python and .NET bindings are two different MCP clients
- Cline declares an empty capability object on both surfaces
- deepagents-code declares sampling, elicitation and roots to every server and answers none of them
- fast-agent's capability declaration varies from server to server
- fast-agent declares roots.listChanged and never sends the notification
- goose emits a roots notification that 2026-07-28 removed, and rmcp does not stop it
- Kilo Code is built on opencode now, and one MCP client serves the CLI, VS Code and JetBrains
- Langflow's MCP client is its own wrapper on the mcp SDK, and langchain-mcp-adapters is an unused extra
- A default Mastra MCPClient declares the MCP Apps extension and nothing else
- A default OpenClaw install declares no client capabilities at all
- opencode declares roots and nothing else, with sampling, elicitation and tasks commented out
- pi's README said No MCP until September 2026, and pi now ships its own MCP client, on by default
- Warp declares no client capabilities, and rmcp still answers roots and elicitation for it
- Zed hand-writes its MCP client, declares no capabilities and never answers a server request
Kinds
- framework: A library an application embeds. A capability row is what a default install declares, and the embedding application can change it.
- sdk: An MCP SDK. A capability row is the default every client on it inherits unless it overrides.
Data
This page as JSON: /data/capabilities/roots.json. All capabilities: /data/capabilities/index.json, and the matrix.