mcp-slim
This 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.
MCP Slim (Rust)
Blazing-fast, single-binary Rust CLI to audit MCP server token bloat, startup latency, and plaintext API key leaks across Claude Code, Claude Desktop, Cursor, Windsurf, VS Code, Antigravity & Gemini CLI.
Every MCP server you attach injects thousands of JSON tool-schema tokens into every single turn — before you even type your prompt. Attach 5–6 servers and you quietly burn 30,000–60,000+ input tokens per turn while degrading model tool-selection accuracy.
Why Rust?
< 2ms cold start & ~2MB RAM — zero Python/Node runtime required
Single native binary for Windows, macOS (Apple Silicon & Intel), and Linux
100% local & offline-safe — never uploads your configs or API keys anywhere
Related MCP server: mcpwatch
Quick Start
Option 1: Install from Source (Cargo)
cargo install --path .Option 2: Download Pre-built Binary
Download the latest binary for your OS from GitHub Releases, then run:
# 1. Fast config & plaintext secret audit across all discovered AI IDEs
mcp-slim audit
# 2. Live-probe stdio MCP servers for exact per-tool token bloat & startup latency
mcp-slim audit --probe
# 3. Audit a specific config and output JSON
mcp-slim audit --config .mcp.json --probe --jsonWhat It Detects
Auto-Discovery across 11 IDE config locations — Claude Code (
.claude.json,.mcp.json), Claude Desktop (Win/Mac/Linux), Cursor (global & project), Windsurf, VS Code (.vscode/mcp.json), Antigravity, and Gemini CLI.Exact Token Bloat & Monthly Cost Estimate — Performs real JSON-RPC
initialize+tools/listhandshakes against stdio MCP servers and ranks the heaviest tools.Plaintext Secret Scanner — Flags hardcoded OpenAI/Anthropic (
sk-...), GitHub (ghp_,github_pat_), AWS (AKIA...), Slack (xox...), JWTs, and raw env tokens while cleanly ignoring${ENV_VAR}placeholders.
Need to Actually Cut MCP Token Bloat by 60–85%?
MCP Slim (MIT Open Source) audits and exposes the problem. MCP Slim Pro ($15 one-time, Rust single binary) fixes it permanently:
mcp-slim-pro proxy— Drop-in<2msRust stdio tool-filter proxy (--allow,--deny,--allow-regex,--max-desc) with stricttools/callblocking (proven >80% token reduction on bloated servers)mcp-slim-pro sync— 1-command cross-IDE profile switcher (minimal,webdev,python-data,devops,research) across Claude Code, Cursor, and VS Code with${ENV_VAR}vault + automatic timestamped backups & rollbackmcp-slim-pro ui— Built-in local dark-mode Web Dashboard (http://127.0.0.1:4789) with interactive tool checkboxes & 1-click proxy JSON exportmcp-slim-pro guard— Native Git pre-commit hook blocking plaintext MCP secret leaks
Instant ZIP download (pre-built binary + full Rust Cargo source + lifetime updates, 0% crypto fee): 👉 https://ontech.bytesell.app/products/mcp-slim-pro
License
MIT — see LICENSE.
MCP Server Mode (mcp-slim serve) & Docker
Run mcp-slim directly as a standard stdio MCP server exposing 3 tools (audit_mcp_config, discover_mcp_configs, estimate_schema_tokens):
mcp-slim serveOr via Docker:
docker build -t mcp-slim .
docker run -i --rm mcp-slimGlama MCP Server Listing
Browse tools, check quality score, and inspect this server online via Glama MCP Server Directory and MCP Inspector.
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
LLM cost optimization gateway, repo token-waste auditor & model arbitrage MCP server.
Audit your MCP servers for poisoned tools and leaked secrets, and check AI-generated code for flaws.
Free, no-key MCP server: token estimates, JSON Schema conversion, MCP configs, tool search.
Statically audits MCP tool surfaces for token cost, schema quality, and design issues.
Related MCP Servers
- AlicenseAqualityDmaintenanceDiagnose, secure, and benchmark your MCP servers. Zero-config CLI for Claude Code, Cursor, VS Code, and Windsurf.44MIT
- AlicenseNot gradedqualityDmaintenanceMCP server that audits other MCP servers. Run MCPWatch security scans from inside Claude Code or any MCP-compatible agent with 10 OWASP MCP Top 10 aligned checks and A-F letter grades.MIT
- AlicenseNot gradedqualityDmaintenanceDiagnose MCP servers — health checks, tool testing, token cost audits, conflict detection, and security scanning with 50+ prompt injection patterns. Works as CLI or MCP server inside Claude Desktop.1MIT
- AlicenseAqualityBmaintenanceHigh-performance local MCP server and CLI written in Rust that scrubs 90%+ framework noise from AI debug logs with Tree-sitter AST validation and test rollback.56MIT