# MCP roots: definition and example

URL: https://mcpservercybersecurity.com/glossary/mcp-roots/
Updated: 2026-11-16

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.

## 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](https://modelcontextprotocol.io/specification/2026-07-28/client/roots) (modelcontextprotocol.io), read 2026-11-16

## Related pages

- [MCP sampling](/glossary/mcp-sampling/)
- [Path traversal](/glossary/path-traversal/)
- [Server pinning](/glossary/server-pinning/)
- [All glossary terms](/glossary/)
- [MCP resource](/glossary/mcp-resource/)
- [Guides](/guides/)
