通用兼容性

适用于所有
AI 编码工具。

一次安装。一条设置命令。LeanCTX 通过 shell-hook 压缩,为所有使用 MCP 的 AI 工具,乃至不使用 MCP 的工具添加上下文工程能力。

81 个 MCP 工具 + shell hook 上下文层

全 MCP 支持

Aider

基于模式(混合/MCP)
lean-ctx init --agent aider

Amazon Q Developer

基于模式(混合/MCP)
lean-ctx init --agent amazonq

Amp

基于模式(混合/MCP)
lean-ctx init --agent amp

Antigravity IDE

基于模式(混合/MCP)
lean-ctx init --agent antigravity

Antigravity CLI

基于模式(混合/MCP)
lean-ctx init --agent antigravity-cli

Augment Code

基于模式(混合/MCP)
lean-ctx init --agent augment

AWS Kiro

基于模式(混合/MCP)
lean-ctx init --agent kiro

Claude Code

基于模式(混合/MCP)
lean-ctx init --agent claude

Cline

基于模式(混合/MCP)
lean-ctx init --agent cline

CodeBuddy

基于模式(混合/MCP)
lean-ctx init --agent codebuddy

Continue

基于模式(混合/MCP)
lean-ctx setup

Crush

基于模式(混合/MCP)
lean-ctx init --agent crush

Cursor

基于模式(混合/MCP)
lean-ctx setup

Emacs

基于模式(混合/MCP)
lean-ctx init --agent emacs

Gemini CLI

基于模式(混合/MCP)
lean-ctx init --agent gemini

GitHub Copilot

基于模式(混合/MCP)
lean-ctx init --agent copilot

Hermes Agent

基于模式(混合/MCP)
lean-ctx init --agent hermes

JetBrains IDEs

基于模式(混合/MCP)
lean-ctx init --agent jetbrains

Neovim

基于模式(混合/MCP)
lean-ctx init --agent neovim

OpenAI Codex

基于模式(混合/MCP)
lean-ctx init --agent codex

OpenClaw

基于模式(混合/MCP)
lean-ctx init --agent openclaw

OpenCode

基于模式(混合/MCP)
lean-ctx init --agent opencode

Pi

基于模式(混合/MCP)
lean-ctx init --agent pi

Qoder

基于模式(混合/MCP)
lean-ctx init --agent qoder

QoderWork

基于模式(混合/MCP)
lean-ctx init --agent qoderwork

Qwen Code

基于模式(混合/MCP)
lean-ctx init --agent qwen

Roo Code

基于模式(混合/MCP)
lean-ctx init --agent roo

Sublime Text

基于模式(混合/MCP)
lean-ctx init --agent sublime

Trae

基于模式(混合/MCP)
lean-ctx init --agent trae

Verdent

基于模式(混合/MCP)
lean-ctx init --agent verdent

VS Code

基于模式(混合/MCP)
lean-ctx init --agent vscode

VS Code Insiders

基于模式(混合/MCP)
lean-ctx init --agent vscode-insiders

Windsurf

基于模式(混合/MCP)
lean-ctx init --agent windsurf

Zed AI

基于模式(混合/MCP)
lean-ctx setup
没有 MCP?没问题。

Shell Hook 仅限

不支持 MCP 的工具仍然受益于 LeanCTX。shell hook 会拦截 CLI 命令(git, npm, cargo, docker, kubectl, ls, find 和 95+ 个更多),并在 AI 看到之前压缩其输出。

任何基于 CLI 的 AI 工具
Shell Hook

拦截 gitnpmcargodockerkubectlpipgotsc 和 95+ 个更多命令。压缩输出量达 60–90%。

MCP Server

81 个专业工具:ctx_readctx_searchctx_graphctx_intentctx_sessionctx_taskctx_cost,以及 74 个更多。意图感知压缩、会话内存、上下文路由、多智能体交接、知识图谱。

lean-ctx setup

$ lean-ctx setup

◆ lean-ctx Setup Wizard

────────────────────────────────────

 

Shell detected: zsh

Hook installed: ~/.zshrc

 

AI tool detected: Cursor

Hooks installed: ~/.cursor/hooks.json

 

AI tool detected: Claude Code

MCP server added: claude mcp add

 

────────────────────────────────────

Setup complete. Restart your shell.

2 AI tools configured, shell hook active

零手动配置

如何设置 适用

1

检测您的 Shell

查找 zsh、bash 或 fish 并安装拦截 CLI 命令的 shell hook。

2

查找 AI 工具

扫描 Cursor、Claude Code、Copilot、Windsurf、Pi、Cline、Zed 等工具,并为每个工具配置 MCP。

3

写入 MCP 配置

为每个工具创建正确的 JSON 配置。无需手动编辑。

基于开放标准

MCP (Model Context Protocol) 是连接 AI 工具与外部能力的开放标准。任何支持 MCP 的未来工具都能自动与 LeanCTX 协同工作——无需更新。

一个二进制文件。一个协议。所有 AI 工具。

兼容您的 工具。今天。

一次安装,一次 lean-ctx setup,您使用的所有 AI 工具都能获得相同的 context engineering。无需为每个工具单独配置。