code-to-tree vs everything
并排对比,帮你在这两个 MCP server 之间做选择。
code-to-tree by micl2e2 | everything by modelcontextprotocol | |
|---|---|---|
| Stars | ★ 83 | ★ 85,748 |
| 30天用量 | — | — |
| 综合分 | 43 | 77 |
| 官方 | — | ✓ |
| 分类 | 开发者工具AI / LLM 工具 | 开发者工具AI / LLM 工具其它 |
| 实现语言 | C | TypeScript |
| 最近提交 | 2 个月前 | 本月 |
code-to-tree · 概述
无运行时的 MCP 服务器,使用 tree-sitter 将源代码转换为 AST,依赖最小化。
everything · 概述
官方 MCP 测试服务器,展示协议全部功能,供客户端开发者使用。
code-to-tree · 使用场景
- LLM 进行代码分析和重构
- 跨语言代码结构比较
- 基于代码结构的自动化文档生成
everything · 使用场景
- 测试 MCP 客户端实现是否支持所有协议功能
- 通过参考服务器学习 MCP 协议能力
- 验证客户端对不同传输方式的兼容性
code-to-tree · 安装
安装
- 从 [GitHub 发布页面](https://github.com/micl2e2/code-to-tree/releases) 下载预编译的二进制文件
- 配置您的 MCP 客户端(以 Claude Desktop 为例):
**Windows:** ``json { "mcpServers": { "code-to-tree": { "command": "C:\\path\\to\\code-to-tree.exe" } } } ``
**macOS:** ``json { "mcpServers": { "code-to-tree": { "command": "/path/to/code-to-tree" } } } ``
- 重启您的 MCP 客户端以应用配置
everything · 安装
NPX(推荐)
{
"mcpServers": {
"everything": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-everything"]
}
}
}Windows 用户请使用 cmd /c:
{
"mcpServers": {
"everything": {
"command": "cmd",
"args": ["/c", "npx", "-y", "@modelcontextprotocol/server-everything"]
}
}
}Docker
{
"mcpServers": {
"everything": {
"command": "docker",
"args": ["run", "-i", "--rm", "mcp/everything"]
}
}
}全局安装
npm install -g @modelcontextprotocol/server-everything@latest
npx @modelcontextprotocol/server-everything