slimmcp-proxy
OfficialThis server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
slimmcp-proxy — Progressive-Disclosure Meta-MCP Proxy
Cut MCP context-window overhead by 97.87% (
~15,047 -> ~320tokens across 60 upstream tools) using deterministic BM25 tool discovery, lazy single-tool schema loading, local secret redaction, and pure Node.js>=24.
Interactive Browser Playground & Docs: https://slimmcp-proxy-store.apexhive-hq.workers.dev
Agent Showcase & Calculator: https://apexhive-showcase.pages.dev
Packages:
cli/(Node >=24, zero Docker / zero C++ addons) •storefront/(Cloudflare Workers playground,x402API, and Ed25519 license issuer)
Architecture Flow
+-------------------------------------------------------------------+
| AI Coding Client (Claude Desktop / Claude Code / Cursor / Cline) |
| Sees ONLY 3 meta-tools (~320 tokens total, 1,279 UTF-8 bytes) |
+---------------------------------+---------------------------------+
| stdio (JSON-RPC 2.0)
v
+-------------------------------------------------------------------+
| slimmcp-proxy (cli/src/server.ts) |
| 1. discover_tools(query, server?, limit?) -> Pure-TS BM25 index |
| 2. inspect_tool_schema(server, tool) -> Lazy 1-tool schema |
| 3. invoke_tool(server, tool, arguments) -> Redactor + Policy |
| - Secret Redactor (AWS/GitHub/Stripe/OpenAI/Slack/JWT/PEM) |
| - PolicyGuard (optional RBAC + session/x402 spend caps) |
| - MetricsLedger (Node v24 built-in node:sqlite) |
+---------------------------------+---------------------------------+
| stdio (spawns configured MCPs)
v
+-------------------------------------------------------------------+
| Upstream MCP Servers (e.g., 3 servers / 60 tools / ~15,047 tok) |
+-------------------------------------------------------------------+Related MCP server: mcpfold
Verified Local Benchmark
Measured with node dist/src/cli.js benchmark --config slimmcp.config.example.json against 3 real stdio child MCP servers (60 tools total):
Metric | Raw Upstream |
| Reduction |
Exposed Tools |
|
|
|
Serialized Payload |
|
|
|
Heuristic Tokens ( |
|
|
|
1-Turn Lookup Cost |
|
|
|
Quickstart (Node.js >= 24.0.0, Zero Docker)
git clone https://github.com/apexhive-hq/slimmcp-proxy.git
cd slimmcp-proxy/cli
pnpm install --ignore-scripts
pnpm run build
# Run the 60-tool real stdio benchmark
node dist/src/cli.js benchmark --config slimmcp.config.example.json
# Run unit & stdio integration tests (5/5 passing)
pnpm testClaude Desktop / Cursor mcp.json Configuration
{
"mcpServers": {
"slimmcp": {
"command": "node",
"args": [
"/abs/path/to/slimmcp-proxy/cli/dist/src/cli.js",
"serve",
"--config",
"/abs/path/to/mcp-servers.json"
]
}
}
}(Accepts both { "servers": [...] } and standard { "mcpServers": { ... } } config files.)
Security, Policy Guardrails & Live Sandbox
Secret Redaction (Default On): Automatically masks AWS keys, GitHub tokens, Stripe keys, OpenAI tokens, Slack tokens, JWTs, and PEM private keys before responses return to the LLM.
Policy-as-Code (
--policy slimmcp.policy.json): Enforce globallow/denytool rules, per-tool call budgets, and sessionx402USDC caps locally.SQLite Telemetry (
node:sqlite): Inspect cumulative bytes/tokens saved and proxy latency vianode dist/src/cli.js stats --json.Browser Playground & Agent
x402API: Paste any MCPtools/listJSON athttps://slimmcp-proxy-store.apexhive-hq.workers.dev/#playgroundor callPOST /api/playground/compress(orPOST /api/x402/compressforx402automated agents).
License & Commercial Support
MIT Open Source ($0). Managed commercial multi-seat policy bundles, optional community sponsorship, and offline Ed25519 license tokens are available on the ApexHive Labs Storefront. Support: apexhive.hq@proton.me.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
AI Reasoning Cache & Consensus Layer with 11 MCP tools via Streamable HTTP.
MCP server for progressive tool usage at any scale (see https://klavis.ai)
LLM cost optimization gateway, repo token-waste auditor & model arbitrage MCP server.
Remote MCP server exposing your Node Command fleet (files, shell, processes, browser) to AI hosts.
Related MCP Servers
- AlicenseAqualityBmaintenanceCode-mode MCP server (docs_search + execute_code two-tool surface) backed by a unified capability manifest across three sandbox kernels (in-process node:vm, WASM via QuickJS / Pyodide / Wasmtime, and remote microVM via E2B / Cloudflare Sandbox). At N=30 tools the bootstrap-context cost drops to 13.6% of direct tool-use. Apache-2.0.27Apache 2.0
- AlicenseNot gradedqualityCmaintenanceLocal-first CLI + proxy that curates your MCP servers per client from one canonical config, cutting tool-schema tokens ~80% and resolving secret references instead of hardcoding keys.MIT
- AlicenseNot gradedqualityCmaintenanceIntelligent MCP proxy server that reduces context bloat by serving only the tools your AI actually needs through semantic search and a fixed two-tool surface.14MIT
- AlicenseNot gradedqualityBmaintenanceA context-aware MCP proxy that reduces token usage by exposing only 3 tools (mcp_search, mcp_call, mcp_schema) to LLMs, with on-demand tool loading and BM25 search.152 npm2MIT