# MCP Roots

> The folders a client tells an MCP server to work in.

**Field:** Artificial Intelligence  
**Category:** MCP  
**Also known as:** Roots (MCP), MCP Root Folders

## Think of it like

Think of it like telling a friend which rooms they may tidy. They stay out of the rest.

## Definition

MCP roots are the folders that a client tells a server it should work in. Each root is a file address, such as the path to one project folder. The server uses the roots to know where the user's work is. Since the 2026-07-28 version of MCP, roots are deprecated, so new servers and clients should not add them. The spec says to pass folders as tool inputs, as resource addresses or in the server's settings instead.

## Example

Emma opens her web project in her editor. The editor tells the file server that this folder is its root. So the server leaves her other folders alone.

## Why it matters

Older servers still read roots to learn where the work is. Newer ones take the folder as a tool input.

## Common mistake

Treating roots as a wall. A server could still read outside them, so real limits need a sandbox.

## Three principles

- **Where to work.** Folders by address.
- **Deprecated in 2026.** Pass folders as tool inputs.
- **A guide, not a lock.** Pair with real limits.

## Related terms

- [MCP Client](https://learn.benibix.com/term/ai/mcp-client)
- [Agent Sandbox](https://learn.benibix.com/term/ai/agent-sandbox)
- [Agent Permissions](https://learn.benibix.com/term/ai/agent-permissions)

![A folder tree with one project folder marked as a root. The server works inside that folder, and the rest of the disk is shaded out.](https://learn.benibix.com/diagrams/mcp-roots.svg)

---

Source: https://learn.benibix.com/term/ai/mcp-roots
Author: Behnia Zarei (a developer in Vienna, Austria, who builds and teaches data, AI and business intelligence at BENIBIX)
Publisher: BENIBIX Learn (https://learn.benibix.com/)
Last updated: 2026-11-18
Licence: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Quote freely with attribution.
