MCP Catalogs
首页

everything vs lean-ctx

并排对比,帮你在这两个 MCP server 之间做选择。

everything
by modelcontextprotocol
lean-ctx
by yvgude
Stars★ 85,748★ 1,676
30天用量
综合分7757
官方
分类
开发者工具AI / LLM 工具其它
开发者工具AI / LLM 工具效率工具
实现语言TypeScriptRust
最近提交本月本月

everything · 概述

官方 MCP 测试服务器,展示协议全部功能,供客户端开发者使用。

lean-ctx · 概述

lean-ctx 是一个 MCP server,通过智能上下文压缩和缓存,在 AI 编码工具中减少 60-95% 的 token 消耗。

everything · 使用场景

  • 测试 MCP 客户端实现是否支持所有协议功能
  • 通过参考服务器学习 MCP 协议能力
  • 验证客户端对不同传输方式的兼容性

lean-ctx · 使用场景

  • 在 AI 编码助手减少 token 使用同时保持完整上下文感知
  • 优化大型代码库和 monorepo 的上下文管理
  • 创建可共享的上下文包供团队协作使用

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

lean-ctx · 安装

使用以下方法之一安装 lean-ctx:

# 通用安装程序(不需要 Rust)
curl -fsSL https://leanctx.com/install.sh | sh

# macOS / Linux 通过 Homebrew
brew tap yvgude/lean-ctx && brew install lean-ctx

# Node.js
npm install -g lean-ctx-bin

# Rust
cargo install lean-ctx

# Pi 编码代理
pi install npm:pi-lean-ctx

安装后,设置:

lean-ctx setup

然后重启您的 shell 和 AI 工具。对于 Claude Desktop,添加到 config.json:

{
  "mcpServers": {
    "lean-ctx": {
      "command": "lean-ctx",
      "args": ["mcp"]
    }
  }
}
对比内容由 README + GitHub 公开数据自动生成,定期更新。