mcp-gateway vs filesystem
并排对比,帮你在这两个 MCP server 之间做选择。
mcp-gateway by lightconetech | filesystem by modelcontextprotocol | |
|---|---|---|
| Stars | ★ 151 | ★ 85,748 |
| 30天用量 | — | — |
| 综合分 | 42 | 77 |
| 官方 | — | ✓ |
| 分类 | 开发者工具AI / LLM 工具其它 | 本地文件系统开发者工具效率工具 |
| 实现语言 | JavaScript | TypeScript |
| 最近提交 | 18 个月前 | 本月 |
mcp-gateway · 概述
一个桥接stdio Claude Desktop与HTTP/SSE MCP服务器的网关服务。
filesystem · 概述
功能丰富的文件系统操作 MCP 服务器,具有动态目录访问控制功能。
mcp-gateway · 使用场景
- 使Claude Desktop能够连接基于HTTP/SSE的MCP服务器
- 通过Claude Desktop访问MCP Hub服务
- 弥合MCP使用不同传输方法发展时的协议差距
filesystem · 使用场景
- 使 AI 模型能够读取和写入项目文件进行开发
- 允许 Claude 或其他 MCP 客户端浏览和分析代码库
- 为内容生成提供对特定目录的安全沙盒访问
mcp-gateway · 安装
npm install -g @mcphub/gateway通过更新config.json配置Claude Desktop:
{
"mcpServers": {
"server-name": {
"command": "node",
"args": ["/path/to/@mcphub/gateway/dist/src/mcphub-gateway.js"]
}
}
}通过环境变量设置目标MCP服务器URL:export MCP_SERVER_URL=https://your-mcp-server.com/api/mcp
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 中安装。