CommencerCommencez gratuitement

Roots

When a user starts your file-converting MCP server, they pass a couple of folder paths on the command line. The server is only ever supposed to read files inside those folders.

What are roots in MCP?

Cet exercice fait partie du cours

<cours>Model Context Protocol: Advanced Topics</cours>
Voir le cours

Exercice interactif pratique

Transformez la théorie en action avec l’un de nos exercices interactifs

Commencer l’exercice