MCP & integrations/GitHub/MCP
lean-ctx
by yvgude·Last observed 2026-10-27
★ 3,901 stars⑂ 358 forks
LeanCTX is an open-source local context gateway for AI systems, available through CLI, MCP, hooks, proxy paths, and an SDK. It selects task-relevant context, applies configured controls on supported paths, and records observable context operations and delivery evidence; the host retains its agent loop and model calls. Some features, including agent handoff and context packaging, are marked experimental.
Useful for
- Use the MCP read path and shell hook to give a coding agent focused file context and compressed command output.
Key features
- Selects relevant context using search, structural views, compression, and reuse, with source references available for supported compact views.
- Applies configured path permissions, content filters, and context budgets on supported calls.
- Retains local task records across sessions and exposes recorded source references, policy decisions, and delivery evidence for inspection.
Requirements & limitations
- A context-only integration records its prepared result; the host owns and performs any later model call outside the Engine's observed path.
- Content-filter coverage and enforcement depend on integration and settings; the filesystem boundary is not an operating-system sandbox.
- Local multi-agent handoff with context transfer is experimental, not a hosted or generally available team service.
Discussion
No comments yet.
Sign in with Google to comment. Browsing is open to everyone.