Filesystem MCP Server
简介
官方文件系统 MCP Server:让 AI 安全地读写指定目录的文件、列目录、搜索内容,既是现成工具也是学习 Server 实现的官方范例。
English
The official filesystem MCP server: safe read/write within allowed directories — both a ready-to-use tool and a reference implementation.
适用场景
- 让 AI 助手直接操作项目文件
- 学习官方 Server 的权限控制设计
- 做文档批处理自动化
快速上手
- npx 启动并指定允许访问的目录
- 在 Claude Desktop 配置注册
- 测试读文件/写文件/搜索等工具
- 阅读源码理解目录白名单机制
标签
相关资源
Model Context Protocol(MCP) 精选
Anthropic 推出的模型上下文开放协议,已成为 AI 工具调用的事实标准;官方 servers 仓库收录文件系统、搜索、数据库等参考实现。Anthropic's open protocol connecting AI models to tools and data — the de-facto standard, with reference server implementations.
Playwright MCP
微软官方的浏览器自动化 MCP Server,让 Agent 可以操作网页、填表、截图、跑端到端测试,网页 Agent 开发必备。Microsoft's official MCP server for browser automation: let agents browse, fill forms, screenshot and run E2E tests.
FastMCP
最流行的 Python MCP Server 开发框架,几行装饰器即可把函数发布为 MCP 工具,开发效率极高。The popular Pythonic framework for building MCP servers — expose functions as tools with a few decorators.