MCP 文件系统服务器
用 Go 实现的模型上下文协议 (MCP),支持 LLM 应用与外部数据源和工具无缝集成。
快速入门
-
安装服务端: 使用以下命令安装 mcp-filesystem-server: go install github.com/qiangmzsx/mcp-filesystem-server
-
配置文件: 将以下内容添加到您的 claude_desktop_config.json 文件中: { "mcpServers": { "filesystem": { "command": "mcp-filesystem-server", "args": [ "/Users/username/Desktop", "/path/to/other/allowed/dir" ] } } }
-
启动服务: 根据配置运行服务,确保正确设置路径参数。
-
参考文档: 本项目基于 github.com/mark3labs/mcp-filesystem-server 实现,主要用于学习 github.com/metoro-io/mcp-golang。