roots-support

Installation
SKILL.md

Roots Support for MCP Servers

Security Requirement

MCP servers MUST support the roots directive and respect root boundaries during all operations. The roots directive defines the allowed filesystem boundaries within which the MCP server can operate.

What Roots Provide

The roots mechanism allows MCP clients to declare which directories or resources the server is authorized to access. The server must:

  • Accept the roots declaration from the client
  • Constrain all operations to within the declared roots
  • Reject any operation that would access resources outside the declared roots
  • Never traverse above or outside root boundaries (no path traversal)

Boundary Enforcement

Declared root: /home/user/project
Installs
2
GitHub Stars
52
First Seen
Jul 18, 2026
roots-support — redhatproductsecurity/prodsec-skills