squeez vs filesystem
并排对比,帮你在这两个 MCP server 之间做选择。
squeez by claudioemmanuel | filesystem by modelcontextprotocol | |
|---|---|---|
| Stars | ★ 121 | ★ 85,748 |
| 30天用量 | — | — |
| 综合分 | 49 | 77 |
| 官方 | — | ✓ |
| 分类 | AI / LLM 工具开发者工具效率工具 | 本地文件系统开发者工具效率工具 |
| 实现语言 | Rust | TypeScript |
| 最近提交 | 本月 | 本月 |
squeez · 概述
squeez 是一个 MCP 服务器,通过钩子为 AI CLI 主机提供令牌压缩和优化功能。
filesystem · 概述
功能丰富的文件系统操作 MCP 服务器,具有动态目录访问控制功能。
squeez · 使用场景
- 通过 bash 输出压缩减少 AI 编程助手的令牌消耗
- 保持长时间运行的开发会话的上下文窗口效率
- 通过去重冗余工具调用和输出来优化 AI CLI 性能
filesystem · 使用场景
- 使 AI 模型能够读取和写入项目文件进行开发
- 允许 Claude 或其他 MCP 客户端浏览和分析代码库
- 为内容生成提供对特定目录的安全沙盒访问
squeez · 安装
安装
三种方法 — 都会产生相同的结果:
curl(推荐)
curl -fsSL https://raw.githubusercontent.com/claudioemmanuel/squeez/main/install.sh | shnpm / npx
npm install -g squeez
npx squeezcargo
cargo install squeezMCP 服务器设置
不需要特殊的 MCP 设置,因为 squeez 包含自己的 MCP 服务器。运行:
squeez mcpClaude Desktop 集成
添加到 Claude Desktop 配置中:
{
"mcpServers": {
"squeez": {
"command": "squeez",
"args": ["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 中安装。