Integrations

Setting up AI tools for every IDE and every team is a nightmare.

LeanCTX installs once and adapts automatically to your AI tool. Automatic agent prompt injection ensures every IDE uses lean-ctx tools without manual rule setup. It runs as an MCP server with 58+ tools, provides an HTTP API with typed errors and rate limiting, offers a TypeScript SDK for custom integrations, and supports 29+ IDEs including Cursor, Claude Code, Copilot, Windsurf, Pi, JetBrains, and Neovim.

The Problem

Locked to a Single IDE

Your context tools are locked to a single IDE or agent. Switching from Cursor to Claude Code means losing all context infrastructure. Teams using different editors cannot share context or collaborate effectively.

LeanCTX works with 29+ editors and agents through MCP, HTTP API, and SDK. Install once, use everywhere.

lean-ctx
lean-ctx (setup --auto)
- Detected: Cursor, Claude Code, Windsurf, Copilot, Antigravity
- Cursor: CLI-redirect (MCP removed, rules installed)
- Claude Code: CLI-redirect (rules + skill installed)
- Windsurf: Hybrid (MCP active, CLI for shell)
- Copilot: MCP (56 tools, lazy set)
- Daemon started (PID 4139, UDS ready)
Integrations

6 tools

01

CLI-Redirect Mode

Zero MCP overhead. Agents call lean-ctx directly via shell for maximum token savings and fastest response times.

02

Smart Mode Selection

Automatically detects each agent's capabilities and configures CLI-Redirect, Hybrid, or Full MCP mode.

03

Background Daemon

Persistent Unix Domain Socket daemon with session state, instant cache hits, and zero startup overhead. Auto-restarts on binary update, proactive stale-file cleanup, 3s connect timeout for resilience.

04

29+ Agent Support

Cursor, Claude Code, Windsurf, Copilot, Pi, JetBrains, Gemini CLI, Codex, Qoder, and 15+ more — all auto-configured.

05

HTTP Tool Gateway

Every MCP tool is also callable via REST. The gateway persists shared state and publishes events for downstream automations.

06

Event-Driven Routing

Tool calls route through the Team Server with audit logging, scope enforcement, and real-time event publication.

Live Demo

See it in action

LeanCTX installs once and adapts automatically to your AI tool. Automatic agent prompt injection ensures every IDE uses lean-ctx tools without manual rule setup. It runs as an MCP server with 58+ tools, provides an HTTP API with typed errors and rate limiting, offers a TypeScript SDK for custom integrations, and supports 29+ IDEs including Cursor, Claude Code, Copilot, Windsurf, Pi, JetBrains, and Neovim.

lean-ctx
lean-ctx (serve --status)
- daemon running (PID 4139)
- socket /tmp/lean-ctx.sock
- uptime 2h 14m
- sessions 3 active
- cache 247 entries (hit rate 94.2%)
29+ Editors & Agents
3 Delivery Surfaces
1 Install Command
Verification

Every output carries proof

LeanCTX generates proof artifacts for every session: which files were read, what was compressed, which checks passed, and how tokens were spent. This makes AI work auditable, replayable, and trustworthy.

Explore Integrations

LeanCTX installs once and adapts automatically to your AI tool. Automatic agent prompt injection ensures every IDE uses lean-ctx tools without manual rule setup. It runs as an MCP server with 58+ tools, provides an HTTP API with typed errors and rate limiting, offers a TypeScript SDK for custom integrations, and supports 29+ IDEs including Cursor, Claude Code, Copilot, Windsurf, Pi, JetBrains, and Neovim.