开始使用免费开始使用

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?

本练习是课程的一部分

Model Context Protocol: Advanced Topics

查看课程

动手互动练习

通过我们的互动练习之一,将理论转化为实践

开始练习