
LeanProxy-MCP
Supports UIby mmornati
Token firewall for MCP that reduces AI token costs by 50-80% via JIT schema loading.
What it does
LeanProxy acts as a smart gateway between your IDE and MCP servers. It eliminates the "Schema Tax" by loading tool schemas only when they are actually needed, rather than injecting thousands of tokens into every single LLM request.
Tools
router: Manages tool invocation and listing with minimal token overhead (~110 tokens).jit-loader: Just-in-time schema loading for requested tools.token-firewall: Redacts secrets, API keys, and PII before they reach the LLM provider.
Installation
Add LeanProxy as an MCP server in your config:
{
"mcp": {
"leanproxy": {
"type": "local",
"command": ["leanproxy-mcp", "server", "run", "--stdio"],
"enabled": true
}
}
}
Supported hosts
- Claude Desktop
- Cursor
- VS Code Copilot
Quick install
brew install mmornati/leanproxy-mcp/leanproxy-mcpInformation
- Pricing
- free
- Published
- 5/24/2026
- stars






