filesystem vs tmux-mcp
并排对比,帮你在这两个 MCP server 之间做选择。
filesystem by modelcontextprotocol | tmux-mcp by nickgnd | |
|---|---|---|
| Stars | ★ 85,748 | ★ 278 |
| 30天用量 | — | — |
| 综合分 | 77 | 48 |
| 官方 | ✓ | — |
| 分类 | 本地文件系统开发者工具效率工具 | 开发者工具效率工具本地文件系统 |
| 实现语言 | TypeScript | JavaScript |
| 最近提交 | 本月 | 3 个月前 |
filesystem · 概述
功能丰富的文件系统操作 MCP 服务器,具有动态目录访问控制功能。
tmux-mcp · 概述
一个让 Claude Desktop 能够交互和控制 tmux 终端会话的 MCP 服务器。
filesystem · 使用场景
- 使 AI 模型能够读取和写入项目文件进行开发
- 允许 Claude 或其他 MCP 客户端浏览和分析代码库
- 为内容生成提供对特定目录的安全沙盒访问
tmux-mcp · 使用场景
- 通过 AI 助手自动化终端任务
- 监控和调试长时间运行的终端进程
- 通过 AI 代理程序化创建 tmux 会话
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 中安装。
tmux-mcp · 安装
安装步骤
- 如果尚未安装,请安装 Node.js
- 安装并配置 tmux
- 添加到 Claude Desktop 配置中:
"mcpServers": {
"tmux": {
"command": "npx",
"args": ["-y", "tmux-mcp"]
}
}可指定 shell 类型:
"mcpServers": {
"tmux": {
"command": "npx",
"args": ["-y", "tmux-mcp", "--shell-type=fish"]
}
}