Skip to content
BENIBIX Learn

MCP Roots

AI🔌 MCPClient Features

Also known as Roots (MCP), MCP Root Folders

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

Think of it like

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

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.

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.
One project folder is the root. The server works inside it and leaves the rest of the disk alone.

Common mistake

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

Key takeaways

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