MCP roots: definition and example
MCP roots are a client feature that tells a server which directories and files the client considers relevant. The specification says roots are informational guidance rather than an access-control mechanism, and that the protocol does not enforce that servers stay within them. The feature is deprecated as of the 2026-07-28 revision.
Facts read on .
Example
The specification's own wording is that the protocol does not enforce that servers stay within roots, so filesystem limits have to come from a sandbox or operating system controls.
Sources
- MCP specification 2026-07-28: Roots (modelcontextprotocol.io), read