mcp-client-gen vs filesystem
并排对比,帮你在这两个 MCP server 之间做选择。
mcp-client-gen by kriasoft | filesystem by modelcontextprotocol | |
|---|---|---|
| Stars | ★ 16 | ★ 85,748 |
| 30天用量 | — | — |
| 综合分 | 41 | 77 |
| 官方 | — | ✓ |
| 分类 | 开发者工具AI / LLM 工具其它 | 本地文件系统开发者工具效率工具 |
| 实现语言 | TypeScript | TypeScript |
| 最近提交 | 4 个月前 | 本月 |
mcp-client-gen · 概述
用于为任何 MCP 服务器生成类型安全 TypeScript 客户端的工具,支持 OAuth 2.1。
filesystem · 概述
功能丰富的文件系统操作 MCP 服务器,具有动态目录访问控制功能。
mcp-client-gen · 使用场景
- 将 MCP 服务集成到 TypeScript 应用程序中,具有完整类型安全
- 快速为新服务构建 MCP 客户端实现原型
- 构建需要与多个 MCP 服务器一致交互的应用程序
filesystem · 使用场景
- 使 AI 模型能够读取和写入项目文件进行开发
- 允许 Claude 或其他 MCP 客户端浏览和分析代码库
- 为内容生成提供对特定目录的安全沙盒访问
mcp-client-gen · 安装
# 全局安装
npm install -g mcp-client-gen
# 或
bun add -g mcp-client-gen
# 从 URL 生成客户端
npx mcp-client-gen https://mcp.notion.com/mcp -o notion.ts
# Claude Desktop 集成
# 添加到 claude_desktop_config.json:
"mcpServers": {
"mcpClientGen": {
"command": "npx",
"args": ["mcp-client-gen"]
}
}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 中安装。