Stop flooding your agent's prompt with MCP tools: MCPtoCodeMode puts every MCP server behind 3 tools and a sandbox, for Codex, Claude Code, Cursor, Grok, OpenCode, Pi, or any MCP client.
Specification · Benchmarks · CI · MIT License · Changelog
One MCP server in front of all the MCP servers you already use. Your model sees three tools instead of hundreds, and it writes one short program instead of making dozens of tool calls.
That finds the coding agents on your machine (Claude Code, Codex, Cursor, Grok, OpenCode, Pi, Claude Desktop), lets you pick which ones get MCPtoCodeMode, and adds it after you confirm. It keeps using the MCP servers you already configured for them.
Connect seven MCP servers and your client puts 55 tool definitions in every prompt. Then ask it something like "read these 25 order files and total the paid ones". That is 26 tool calls and 26 model turns, and each turn re-reads every file that came before it.
With MCPtoCodeMode the model writes this once, and only the answer comes back:
The code runs in a sandbox with no network, no filesystem, and no credentials. Its only way out is the MCP servers you configured.
Seven official reference servers, 55 tools. Method, raw data, and caveats are in REPORT.md.
With Claude Sonnet 5.5 on real tasks, through OpenRouter:
Plain MCP MCPtoCodeMode --- ---: ---: Correct answers, three tasks × 3 runs 9 / 9 9 / 9 Input tokens for those 9 runs 531,480 94,002 (5.7× fewer) Cost for those 9 runs $1.108 $0.222 (5× less) Tokens to count errors in a 2,000-line log 102,282 8,197 Mail: page through threads, pass a 150 KB image to another tool (1 run) failed, $0.756, 79 s correct, $0.061, 10 s Model turns, three tasks × 3 runs 21 29
From the project README.
Add the radar badge to your README — it shows your project was picked up by MCP Radar and links to this page:
[](https://mcp.liqiwa.com/s/minkaworks--mcptocodemode.html)
Your coding agent answers with dashboards, not paragraphs. An MCP server for Claude Code, Codex, Cursor, Gemini CLI and more: charts and tables from read-only SQL on Postgres, SQLite, Excel or CSV, in
Secra-Solutions/ConectorSelf-hosted MCP gateway: connect 1,178 apps once and use them from Claude, Codex, Cursor, Gemini CLI, Copilot and 42 more AI agents. Talk with us at https://secra.es
Umair/stalemapTell your coding agent which dependencies changed after its training cutoff. Diffs types and changelogs, writes a short block into AGENTS.md / CLAUDE.md.
furkankoykiran/telegram-ads-mcpOpen-source MCP server for the official Telegram Ads API. Manage accounts, ads, stats, audiences, pixels, and targeting from Claude, Cursor, Codex, and other AI agents.
Ryrahul/session-relayShare AI coding-agent sessions with your team: /share in Claude Code, Codex, OpenCode, Gemini CLI, Copilot CLI, Cursor or ZCode, /pickup in another. Self-hosted, open source.
make0-official/brain-ossAI memory for Claude Code, Cursor, Codex, Windsurf, and every MCP agent: one shared, versioned memory in a local MCP server. Offline, no API key.
The top new MCP servers of the week, every Monday. No spam, unsubscribe anytime.