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

Evidence

goose:

Codex CLI:

opencode:

Cline:

fast-agent:

OpenClaw:

Hermes Agent:

Kilo Code:

Mastra:

fx (native engine):

libfx (fx JavaScript adapter):

eve:

pi:

Strands Agents:

crewAI:

deepagents:

Google ADK (Python):

Microsoft Agent Framework:

Google Antigravity:

Claude Code:

Claude.ai:

ChatGPT:

Hugging Face Chat UI:

Cursor:

Visual Studio Code:

n8n:

Langflow:

mcp-use:

Zed:

TypeScript SDK Client:

Warp:

Reachy Mini conversation app:

opencode on 2025-11-25:

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

Kinds

Data

This page as JSON: /data/capabilities/roots.json. All capabilities: /data/capabilities/index.json, and the matrix.