Filesystem README recommends deprecated MCP Roots protocol for restricting directory access
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 76/100
- Issue 类型
- 文档
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 技术栈
- typescript
调研方向
从 README.md 中关于通过 Roots 限制文件系统访问的部分开始,并将其中的指南与所引用的 MCP deprecated-features 规范进行比较。检查服务器实现是否使用 ListRootsRequest(如 issue 所述),并记录所需的后续工作。完成的标准是:README.md 记录当前的替代方案,在适用的情况下将保留的 Roots 指南标记为 legacy,并清晰描述受支持的访问配置。
由索引模型根据 Issue 内容生成。
描述
Summary
The README.md contains a section recommending the use of the MCP Roots protocol as the mechanism for restricting which directories the filesystem server can access. However, according to the current official MCP specification, Roots is deprecated as of protocol version 2026-07-28 and scheduled for removal.
Source: MCP Specification — Deprecated features
Why this matters
- New users following the README will adopt a deprecated mechanism that is scheduled for removal from the protocol.
- Roots-based access restriction may not work with newer MCP clients, so the documented guidance will break over time.
- The project's documented access-control story should stay aligned with the current specification.
Suggested changes
- Update the README section to stop recommending Roots as the primary way to restrict directory access
- Document the alternatives recommended by the spec:
- passing directories/files via tool parameters
- resource URIs
- server configuration (e.g., allowed directories passed via CLI arguments, which the server already supports)
- If any Roots-related guidance or behavior is kept, mark it explicitly as legacy/deprecated with a pointer to the migration guidance
- Check whether the server implementation itself relies on Roots (e.g.,
ListRootsRequest) and, if so, open a follow-up issue for migrating away from it
References
- MCP Specification — Deprecated features (
2026-07-28) README.md— section on restricting filesystem access via Roots
- 主要语言
- TypeScript
- 星标
- 90.6k
- 派生
- 11.7k
- 平均合并
- 8 小时 33 分钟
- 30 天内合并 PR
- 15
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
modelcontextprotocol/servers 的其他 Issue
-
agent guidance documentation v2
难度 1/5 1-3 小时 新手友好度 92/100
modelcontextprotocol/servers#4924 ·
维护者通常 1 天内回复
-
bug server-everything v2
难度 2/5 1-3 小时 新手友好度 85/100
modelcontextprotocol/servers#4923 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
modelcontextprotocol/servers#4914 ·
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 92/100
modelcontextprotocol/servers#4892 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
modelcontextprotocol/servers#4830 · 1 条评论 ·
维护者通常 1 天内回复
查看 modelcontextprotocol/servers 的全部 Issue
相似的 Issue
-
area/frontend good first issue kind/cooldown
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 85/100
voidzero-dev/oxc-angular-compiler#511 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
langchain-ai/deepagentsjs#898 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 92/100
anomalyco/models.dev#8509 · 2 条评论 ·
维护者通常 1 天内回复
-
bug documentation P2 UI/UX
难度 2/5 1-3 小时 新手友好度 85/100
维护者通常 1 天内回复