📡 MCP Radar

SalyyS1/mcp-slim

Zero-dependency MCP stdio proxy: cuts tool schema & output tokens by 48.8%-98.7%, inlines $ref for Gemini/Vertex, tracks $ saved, and redacts leaked secrets.

⭐ 3 stars
⑂ 0 forks
Python
momentum ▲ 6.0
created 2026-11-11
on radar since 2026-11-16
ai-agentsai-securityclaude-codecursorjson-rpcllmmcpmodel-context-protocoltoken-optimizationwindsurf
View on GitHub ↗Homepage ↗

About mcp-slim

Zero-Dependency MCP JSON-RPC 2.0 Stdio Proxy for Context Compression (-48.8% to -98.7% Tokens), Cross-LLM $ref Inlining, On-Demand Tool Discovery, and Real-Time Secret Redaction

Try Instantly in Your Browser (Zero Install, 100% Client-Side): Interactive MCP Token & Security Playground (https://salyys1.github.io/mcp-slim/): paste any tools/list, tools/call, or mcp.json config to preview token savings, $defs/$ref inlining, secret redaction, and monthly API USD savings live.

When connecting MCP clients (Claude Code, Cursor, Windsurf, Claude Desktop, LibreChat, Cherry Studio, or custom agents) to multiple Model Context Protocol (MCP) servers (git, filesystem, postgres, github, atlassian, slack), three structural bottlenecks degrade agent reliability on every conversation turn:

1. Context Window Bloat & Tool Selection Rot (14,000–60,000+ tokens per turn): Auto-generated Pydantic and Zod tools/list JSON schemas include $schema declarations, redundant title fields, verbose multi-paragraph descriptions, nullable anyOf: [{"type": "string"}, {"type": "null"}] wrappers, and uncompacted tools/call JSON responses filled with null, "", [], and {} entries. 2. Cross-Provider Schema Rejections ($defs / $ref): FastMCP and Pydantic servers emit nested "$defs" and {"$ref": "/$defs/..."} pointers inside inputSchema, triggering 400 Invalid Argument errors on Google Gemini, Vertex AI, Azure OpenAI, and local vLLM/Ollama function-calling endpoints. 3. Unfiltered Credential Exposure: MCP tools reading logs, .env files, database rows, or git remotes frequently return raw API keys (sk-ant-..., ghp

From the project README.

Maintaining this server?

Add the radar badge to your README — it shows your project was picked up by MCP Radar and links to this page:

[![On MCP Radar](https://mcp.liqiwa.com/badge.svg)](https://mcp.liqiwa.com/s/SalyyS1--mcp-slim.html)

Related MCP servers

00200200/usagetrim

Keep the signal. Cut the noise. Local CLI + MCP — fold verbose tool output for Claude Code, Codex, Cursor & Desktop.

⭐ 11Python
erayerturk/surgical-context-mcp

🧠 Save 70–95% tokens in Claude Code, Cursor, Windsurf & Cline. Local Tree-sitter code graph MCP server: surgical edit context instead of full-file reads, refactor safety checks, and a hook that blocks

⭐ 4Python
mcpdelta/mcpdelta

Delta MCP is a free app that sits between your AI apps and their MCP servers: one program per task instead of one tool call per step, up to 24.1× fewer tokens in our benchmarks. Every change is record

⭐ 82
fluyeporlaweb/ai-agent-tools

Curated directory of open-source AI tools for marketing and agents: MCP servers, skills, SDKs and workflows for Claude, Cursor, Windsurf and any MCP-compatible agent. Maintained by fluyeporlaweb.

⭐ 7
abhishekswe/agent-fastpath

Jev MCP server: a decision layer for coding agents, built on TypeSafe Jev (System One model). Ship gates, risk checks, file triage that keeps files out of context, and a safe headless browser, with ca

⭐ 3TypeScript
tokensafe-dev/tokensafe

Reduce your AI bills by up to 99%. Your agents read only needed code, keep prompt caches intact across turns, and keep secrets out of git.

⭐ 41Python

📬 Get the weekly radar in your inbox

The top new MCP servers of the week, every Monday. No spam, unsubscribe anytime.