Filesystem(文件系统)
Model Context Protocol 官方参考实现:为 AI 提供受限的本地文件系统读写能力(读/写文件、建目录、移动、搜索)。
中文实测记录
实测:配置简单,注意 allowed dir 权限范围
{"mcpServers":{"filesystem":{"command":"npx","args":["-y","@modelcontextprotocol/server-filesystem","/path/to/allowed/dir"]}}} Model Context Protocol 官方参考实现:为 AI 提供受限的本地文件系统读写能力(读/写文件、建目录、移动、搜索)。
实测:配置简单,注意 allowed dir 权限范围
{"mcpServers":{"filesystem":{"command":"npx","args":["-y","@modelcontextprotocol/server-filesystem","/path/to/allowed/dir"]}}}