Server data from the Official MCP Registry
Meta-MCP proxy for stdio and HTTP/SSE upstreams with BM25 discovery and secret redaction.
About
Meta-MCP proxy for stdio and HTTP/SSE upstreams with BM25 discovery and secret redaction.
Security Report
slimmcp-proxy is a stdio meta-MCP proxy that exposes three meta-tools and forwards calls to configured upstream servers, with env isolation, SSRF/metadata guards, and secret redaction. The code shows no exfiltration or backdoor patterns in the visible portions; the main observations are minor, such as the truncated redactor file being unreviewable and the wide network reach needed for remote upstream proxying. Permissions align with the server's proxy purpose, so the score remains in the good range. Supply chain analysis found 6 known vulnerabilities in dependencies (0 critical, 4 high severity). Package verification found 1 issue.
7 files analyzed · 11 issues found
Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.
Permissions Required
This plugin requests these system permissions. Most are normal for its category.
How to Install
Add this to your MCP configuration file:
{
"mcpServers": {
"slimmcp-proxy": {
"command": "npx",
"args": [
"-y",
"slimmcp-proxy@1.0.5"
]
}
}
}Some servers take additional arguments. See the repository for details.
Documentation
View on GitHubFrom the project's GitHub README.
slimmcp-proxy (v1.0.5) — Progressive-Disclosure Meta-MCP Proxy
Stop AI agents from burning context tokens loading dozens of unused MCP tool schemas.
slimmcp-proxysits in front of yourstdio, Streamable-HTTP, and SSE MCP servers and exposes just 3 lightweight meta-tools for BM25 tool discovery, lazy single-tool schema inspection, fail-closed secret redaction, and local RBAC policy enforcement.
- Key Capabilities:
- Progressive Tool Disclosure: Exposes
discover_tools,inspect_tool_schema, andinvoke_toolinstead of dumping every upstream tool definition upfront (97.86%initial schema reduction across 60 tools;95.10%net 1-turn savings). - Multi-Transport Upstreams: Proxies local
stdioservers (with strict minimal environment isolation) and remote Streamable-HTTP / SSE servers (with metadata/SSRF and redirect guards). - Security & Guardrails: Fail-closed secret redaction (
depth <= 24, keys + values), linear-time deny-overrides RBAC rules, per-tool call budgets, and built-innode:sqlitemetrics (Node.js >= 22.13.0).
- Progressive Tool Disclosure: Exposes
- Official MCP Registry:
io.github.apexhive-hq/slimmcp-proxy - Glama MCP Directory: https://glama.ai/mcp/servers/apexhive-hq/slimmcp-proxy
Architecture Flow
+-------------------------------------------------------------------+
| AI Coding Client (Claude Desktop / Claude Code / Cursor / Cline) |
| Sees ONLY 3 meta-tools (~322 tokens initial schema, 1,286 bytes) |
+---------------------------------+---------------------------------+
| stdio (JSON-RPC 2.0)
v
+-------------------------------------------------------------------+
| slimmcp-proxy v1.0.5 (cli/src/server.ts & upstream.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 |
| - Fail-Closed Secret Redactor (keys + values, depth <= 24) |
| - PolicyGuard (MIT RBAC deny-overrides + call/spend caps) |
| - MetricsLedger (Node >=22.13 built-in node:sqlite) |
+---------------------------------+---------------------------------+
| stdio (isolated env) OR HTTP/SSE
v
+-------------------------------------------------------------------+
| Upstream MCP Servers (local processes or remote HTTP/SSE URLs) |
+-------------------------------------------------------------------+
Verified Local Benchmark (Initial Schema vs Multi-Turn Net Savings)
Measured with pnpm run benchmark (node dist/src/cli.js benchmark --config slimmcp.benchmark.config.json) against 3 real stdio child MCP servers (60 tools total; heuristic ~4 UTF-8 bytes/token alongside exact UTF-8 byte counts):
| Metric | Raw Upstream tools/list | slimmcp-proxy Meta-Tools | Reduction / Net Cost |
|---|---|---|---|
| Exposed Tools | 60 tools | 3 meta-tools | 95.0% fewer exposed definitions |
Initial tools/list Payload | 60,185 bytes (~15,047 tok) | 1,286 bytes (~322 tok) | 97.86% initial schema reduction (14,725 tokens saved) |
| Net 1-Turn Lookup Cost (meta + 5 BM25 matches + 1 inspected schema) | ~15,047 tokens | ~737 tokens (322 + 232 + 183) | 95.10% net 1-turn savings (14,310 net tokens saved) |
How Initial vs Multi-Turn Net Savings Work
- Initial schema reduction (
97.86%): Instead of injecting all60upstream schemas (60,185bytes /~15,047tokens) into the prompt on turn 0, the client only loads the3meta-tools (1,286bytes /~322tokens). - 1-turn net savings (
95.10%): Discovering and invoking a tool adds onediscover_toolsmatch list (927bytes /~232tokens for 5 matches) and oneinspect_tool_schemapayload (~183tokens), totaling~737tokens instead of~15,047tokens. - Multi-turn net savings: Across a multi-turn session where only
kdistinct tools are actually needed (k << 60), each newly inspected tool adds only its single schema (~183tokens) rather than paying the full~15,047-token upfront schema tax across every conversation or prompt-cache miss.
Quickstart (Node.js >= 22.13.0, Node 22 LTS / Node 24 LTS)
Why
>= 22.13.0?slimmcp-proxyuses Node's built-in unflaggednode:sqlite(DatabaseSync, unflagged since Node 22.13.0) with zero native C++ addons. Node 20 LTS does not includenode:sqlite.
Instant Run via npm (npx)
Run from any directory with zero local setup using the bundled 60-tool demo (--demo), or pass your own --config ./mcp-servers.json:
npx -y slimmcp-proxy --help
npx -y slimmcp-proxy status
npx -y slimmcp-proxy benchmark --demo
npx -y slimmcp-proxy serve --demo
To proxy your own upstream servers, create ./mcp-servers.json (see template below) and run:
npx -y slimmcp-proxy serve --config ./mcp-servers.json
Build & Run Out-of-the-Box from Source
slimmcp.config.example.json connects 3 built-in stdio demo MCP servers (60 tools total via demo-upstream) so you can run serve, benchmark, and stats --json immediately with zero external setup:
git clone https://github.com/apexhive-hq/slimmcp-proxy.git
cd slimmcp-proxy/cli
pnpm install --ignore-scripts
pnpm run build
# Start the Meta-MCP proxy immediately with the runnable 3-server (60-tool) example config
node dist/src/cli.js serve --config slimmcp.config.example.json --policy slimmcp.policy.example.json
# Run the 60-tool real stdio benchmark (one-shot report; does not write SQLite telemetry)
pnpm run benchmark
# Inspect cumulative SQLite telemetry recorded by `serve` sessions
node dist/src/cli.js stats --json
# Run unit, stdio, and Streamable-HTTP integration tests
pnpm test
Connecting Your Own Upstream Servers (stdio + Streamable-HTTP / SSE)
Create your own mcp-servers.json (accepts both { "servers": [...] } and standard { "mcpServers": { ... } }; replace the example command/URL below with your real MCP servers):
{
"servers": [
{
"id": "filesystem",
"command": "node",
"args": ["/path/to/local-mcp.js"],
"envAllowlist": ["CUSTOM_SAFE_VAR"],
"connectTimeoutMs": 15000,
"requestTimeoutMs": 30000
},
{
"id": "remote-docs",
"transport": "streamable-http",
"url": "https://mcp.example.com/mcp",
"headers": { "Authorization": "Bearer YOUR_MCP_TOKEN" }
}
]
}
Claude Desktop / Cursor mcp.json
{
"mcpServers": {
"slimmcp": {
"command": "npx",
"args": ["-y", "slimmcp-proxy", "serve", "--config", "/abs/path/to/mcp-servers.json"]
}
}
}
Security & Telemetry Features
- Fail-Closed Secret Redaction (Default On): Masks AWS keys, GitHub/GitLab/npm/HuggingFace/GCP/Stripe/OpenAI/Slack tokens, JWTs, Bearer headers, URL credentials, PEM private keys, hex keys, mnemonic seed phrases, and sensitive JSON object keys (
secret,token,password,apiKey,privateKey,mnemonic,authorization,cookie,credential) — failing closed atdepth > 24with[REDACTED:MAX_DEPTH_EXCEEDED]. Note:redactInputsdefaults totrue, replacing matched secrets before forwarding arguments to upstreams (set"redaction": { "redactInputs": false }to mask outputs only). - Policy-as-Code (
--policy slimmcp.policy.json): Linear-time globallow/denytool rules with strict deny-overrides precedence, per-tool call budgets, and sessionx402USDC spend caps enforced locally. - Child Process Env Isolation & Timeouts:
stdioupstreams receive only a minimal safe environment allowlist (PATH,HOME,USERPROFILE,SYSTEMROOT,COMSPEC,TMP,TEMP,LANG,NODE_ENV) plus explicitenv/envAllowlist— host CI secrets likeGITHUB_TOKENorNPM_TOKENare never blindly inherited. ConfigurableconnectTimeoutMsandrequestTimeoutMsensure hung upstreams fail cleanly. - SQLite Telemetry (
node:sqlite):serverecords session savings, tool calls, policy blocks, and redactions to SQLite; inspect cumulative metrics vianode dist/src/cli.js stats --json(benchmarkdoes not write to the telemetry ledger).
License: MIT · Security: SECURITY.md · Support: apexhive.hq@proton.me.
Reviews
No reviews yet
Be the first to review this server!
More Developer Tools MCP Servers
Rea
Freeby Morluto · Developer Tools
Reverse engineer anything from your terminal or agent with one CLI and MCP server.
Paperclip
Freeby Paperclipai · Developer Tools
Trending hip-hop artist momentum scores across four cultural dimensions.
Scrapling
Freeby D4Vinci · Developer Tools
Web scraping with stealth HTTP, real browsers, and Cloudflare bypass. CSS selectors supported.
Server Time
Freeby Modelcontextprotocol · Developer Tools
Current time lookup and conversion between IANA timezones
Toleno
Freeby Toleno · Developer Tools
Toleno Network MCP Server — Manage your Toleno mining account with Claude AI using natural language.
MCP Marketplace
Freeby mcp-marketplace · Developer Tools
Search and install MCP servers from inside your AI client.
