mcp-framework vs filesystem
并排对比,帮你在这两个 MCP server 之间做选择。
mcp-framework by koki7o | filesystem by modelcontextprotocol | |
|---|---|---|
| Stars | ★ 22 | ★ 85,748 |
| 30天用量 | — | — |
| 综合分 | 42 | 77 |
| 官方 | — | ✓ |
| 分类 | 开发者工具AI / LLM 工具浏览器自动化 | 本地文件系统开发者工具效率工具 |
| 实现语言 | Rust | TypeScript |
| 最近提交 | 5 个月前 | 本月 |
mcp-framework · 概述
Rust 框架,用于构建支持原生 MCP、多 LLM 集成和网络检查器的 AI 代理。
filesystem · 概述
功能丰富的文件系统操作 MCP 服务器,具有动态目录访问控制功能。
mcp-framework · 使用场景
- 构建能够搜索和分析信息的研究助手
- 创建能够读取代码库和编写代码的编程助手
- 开发用于网页抓取和表单填写的浏览器自动化代理
filesystem · 使用场景
- 使 AI 模型能够读取和写入项目文件进行开发
- 允许 Claude 或其他 MCP 客户端浏览和分析代码库
- 为内容生成提供对特定目录的安全沙盒访问
mcp-framework · 安装
安装
# 需要 Rust 1.70+
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
git clone https://github.com/koki7o/mcp-framework
cd mcp-framework
cp .env.example .env
# 编辑 .env 文件并添加 API 密钥
# 运行示例
cargo run --example server_with_tools
cargo run --example anthropic_agent_demo_with_tools
cargo run --example openai_agent_demo_with_toolsClaude Desktop 集成
添加到 Claude 的 config.json 文件中:
{
"mcpServers": {
"mcp-framework": {
"command": "cargo",
"args": ["run", "--example", "server_with_tools"],
"env": {
"ANTHROPIC_API_KEY": "your-api-key"
}
}
}
}filesystem · 安装
安装
使用 NPX
{
"mcpServers": {
"filesystem": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-filesystem",
"/path/to/allowed/directory"
]
}
}
}使用 Docker
{
"mcpServers": {
"filesystem": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"--mount", "type=bind,src=/path/to/allowed/dir,dst=/projects/allowed/dir",
"mcp/filesystem",
"/projects"
]
}
}
}VS Code 扩展
点击 README 中的安装按钮直接在 VS Code 中安装。