MCP Academy · Lesson

What Roots Tell a Server

Know which folders the client makes available.

Servers Are a Little Blind

Your server runs as its own process, so it cannot just see the user's project. It needs the client to tell it which folders are fair game. That hint is called a root. 🧭

What a Root Really Is

A root is a single location a client says your server may work within, usually one project folder. It marks the edge of where you should reach.

All lessons in this course

  1. What Roots Tell a Server
  2. Request the Client's Roots
  3. Negotiating Capabilities
  4. Respect Client Boundaries
← Back to MCP Academy