作者 yvgude · yvgude/lean-ctx
把 AI 编码成本降低 99%——适用于 Cursor、Claude Code、Copilot、Windsurf、Gemini CLI 及 24 种工具的 MCP 服务器 + Shell Hook。单个 Rust 二进制,零遥测。
把 AI 编码成本降低 99%——适用于 Cursor、Claude Code、Copilot、Windsurf、Gemini CLI 及 24 种工具的 MCP 服务器 + Shell Hook。单个 Rust 二进制,零遥测。
%APPDATA%\Claude\claude_desktop_config.json{
"mcpServers": {
"lean-ctx": {
"command": "TODO",
"args": [
"See README: https://github.com/yvgude/lean-ctx"
],
"_inferred": true
}
}
}
打开 Claude Desktop → Settings → Developer → Edit Config。保存后重启应用。
{
"mcpServers": {
"lean-ctx": {
"command": "TODO",
"args": [
"See README: https://github.com/yvgude/lean-ctx"
],
"_inferred": true
}
}
}
Cursor 使用与 Claude Desktop 相同的 mcpServers 格式。项目级配置优先于全局。
{
"mcpServers": {
"lean-ctx": {
"command": "TODO",
"args": [
"See README: https://github.com/yvgude/lean-ctx"
],
"_inferred": true
}
}
}
点击 Cline 侧栏中的 MCP Servers 图标,然后选 "Edit Configuration"。
{
"mcpServers": {
"lean-ctx": {
"command": "TODO",
"args": [
"See README: https://github.com/yvgude/lean-ctx"
],
"_inferred": true
}
}
}
格式与 Claude Desktop 相同。重启 Windsurf 生效。
{
"mcpServers": [
{
"name": "lean-ctx",
"command": "TODO",
"args": [
"See README: https://github.com/yvgude/lean-ctx"
]
}
]
}
Continue 使用服务器对象数组,而非映射。
{
"context_servers": {
"lean-ctx": {
"command": {
"path": "TODO",
"args": [
"See README: https://github.com/yvgude/lean-ctx"
]
}
}
}
}
加入 context_servers。Zed 保存后热重载。
claude mcp add lean-ctx -- TODO 'See README: https://github.com/yvgude/lean-ctx'
一行命令搞定。用 claude mcp list 验证,claude mcp remove 卸载。