Open-source getmcp-cli turns 1,280-endpoint OpenAPI specs into 25-tool MCP servers, cutting tool tokens from 263k to 6k

Worried-Barracuda845 · reddit · 2026-11-13

A developer released getmcp-cli, an open-source CLI that generates smaller, safer MCP servers from OpenAPI specs without LLM calls — filtering risky operations, ranking endpoints, and selecting 25 tools by default.

GitHub REST shrinks from 1,280 operations (263k tool tokens) to 25 tools (6k tokens); Stripe from 612 (176k) to 25 (10k). Runs fully offline and deterministically, emits a REPORT.md of exclusions, and supports --only/--allow/--dry-run customization. Limitations: keyword-based classification, no OAuth support yet.

Related event: Open-Source CLI Compresses Thousands of OpenAPI Endpoints into 25 MCP Tools(2 posts)→

Original post →

More from coding & agent

coding & agent channel →