Express-REST-API-and-MCP-Server-Framework vs filesystem
并排对比,帮你在这两个 MCP server 之间做选择。
Express-REST-API-and-MCP-Server-Framework by iolufemi | filesystem by modelcontextprotocol | |
|---|---|---|
| Stars | ★ 147 | ★ 85,748 |
| 30天用量 | — | — |
| 综合分 | 48 | 77 |
| 官方 | — | ✓ |
| 分类 | 开发者工具AI / LLM 工具运维基建 | 本地文件系统开发者工具效率工具 |
| 实现语言 | TypeScript | TypeScript |
| 最近提交 | 本月 | 本月 |
Express-REST-API-and-MCP-Server-Framework · 概述
Express 框架,可从同一代码库生成双重 REST API 和 MCP 服务器。
filesystem · 概述
功能丰富的文件系统操作 MCP 服务器,具有动态目录访问控制功能。
Express-REST-API-and-MCP-Server-Framework · 使用场景
- 构建 AI 原生应用程序,其中 LLM 需要与后端数据交互
- 快速原型化 REST API,自动集成 MCP 服务器
- 创建双重用途 API,同时服务传统客户端和 AI 助手
filesystem · 使用场景
- 使 AI 模型能够读取和写入项目文件进行开发
- 允许 Claude 或其他 MCP 客户端浏览和分析代码库
- 为内容生成提供对特定目录的安全沙盒访问
Express-REST-API-and-MCP-Server-Framework · 安装
安装
- 克隆存储库并安装依赖项:
$ git clone https://github.com/iolufemi/Express-REST-API-and-MCP-Server-Framework.git ./yourProjectName
$ cd yourProjectName
$ npm install- 生成您的第一个服务:
$ npm run generate -- --name yourFirstEndpoint- 启动开发服务器:
$ npm run devClaude Desktop 集成
将以下内容添加到您的 Claude Desktop 配置中:
{
"mcpServers": {
"express-mcp": {
"command": "node",
"args": ["path/to/your/project/dist/server.js"],
"env": {}
}
}
}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 中安装。