filesystem vs modex
并排对比,帮你在这两个 MCP server 之间做选择。
filesystem by modelcontextprotocol | modex by theronic | |
|---|---|---|
| Stars | ★ 85,748 | ★ 114 |
| 30天用量 | — | — |
| 综合分 | 77 | 41 |
| 官方 | ✓ | — |
| 分类 | 本地文件系统开发者工具效率工具 | 开发者工具AI / LLM 工具数据库 |
| 实现语言 | TypeScript | Clojure |
| 最近提交 | 本月 | 14 个月前 |
filesystem · 概述
功能丰富的文件系统操作 MCP 服务器,具有动态目录访问控制功能。
modex · 概述
Modex 是一个用 Clojure 实现的 MCP 服务器和客户端库,用于扩展 AI 模型的工具、资源和提示。
filesystem · 使用场景
- 使 AI 模型能够读取和写入项目文件进行开发
- 允许 Claude 或其他 MCP 客户端浏览和分析代码库
- 为内容生成提供对特定目录的安全沙盒访问
modex · 使用场景
- 用数据库工具增强 AI 模型,如 Datomic 集成
- 为生产系统监控构建自定义 MCP 服务器
- 用领域特定工具和资源扩展 AI 客户端
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 中安装。
modex · 安装
安装
- 克隆仓库:
``bash git clone git@github.com/theronic/modex.git cd modex ``
- 构建 uberjar:
``bash ./build.sh ` 这会在 target/modex-mcp-0.2.2.jar` 创建可执行 jar 文件。
- 配置 Claude Desktop:
打开 ~/Library/Application Support/Claude/claude_desktop_config.json 并添加: ``json { "mcpServers": { "modex-mcp": { "command": "java", "args": ["-jar", "/完整路径/modex/target/modex-mcp-0.2.2.jar"] } } } ``
- 重启 Claude Desktop 激活服务器。