Vibe Coding Discover

MCP

MCP tool discovery burns 71,929 tokens. mcptoon drops it to 581 (−99.2%, measured). Zero dependencies.

★ 2069 forksPythonApache-2.0activeing123

Zero-dependency Python CLI that acts as an MCP client/decoupling layer: it keeps MCP tool schemas out of agent context (255 tools drop from 71,929 to 581 tokens, measured), unifies one MCP config across Claude Code, Cursor, Codex and scripts, and can expose every server as a single stdio server.

Use Cases

Cut MCP tool-schema token usage by up to 99.2% on tool discoveryShare one MCP server config across Claude Code, Cursor, Codex and scriptsAdd or install MCP servers with a single command instead of hand-written JSONExpose all configured MCP servers as one stdio server via 'mcptoon serve'List tool names only (581 tokens for 255 tools) via 'mcptoon manifest'Compress MCP tool call results with --toon/--slim formattingCompress MCP tool discovery in a shell-capable agent with the bundled skillBenchmark token cost of MCP schemas with tiktokenRun a zero-install 11-tool stdlib demo MCP server for evaluationAuto-discover locally configured MCP servers with 'mcptoon quickstart'

Built With

Language
Python
Frameworks
Model Context Protocol · Claude Code Plugin · Gemini CLI Extension · pytest · setuptools · ruff · Docker

Tags

mcp · mcp-client · token-optimization · context-compression · cli · zero-dependencies · tool-discovery · mcp-server · agent-skills · claude-code · cursor · codex · gemini-cli-extension · developer-tools · workflow-automation · stdio-bridge