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 addressing a common pain point: OpenAPI-to-MCP converters turn every endpoint into a separate tool, blowing up context and exposing dangerous operations like DELETE by default.

How it works (no LLM calls, fully offline and deterministic):

Results: GitHub REST goes from 1,280 operations to 25 tools (263k → 6k tool tokens); Stripe from 612 to 25 (176k → 10k).

Supports --only, --allow, and --dry-run customization. Limitations: keyword-based conservative classification, no OAuth support yet, and the default selection may not fit your specific use case. Try it with npx getmcp-cli <openapi-url>.

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 →