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):
- Automatically filters risky operations (destructive actions, payments, admin routes, credentials)
- Ranks remaining endpoints and selects 25 by default, balanced across resources
- Generates a runnable stdio MCP server plus a REPORT.md explaining every exclusion
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)→
More from coding & agent
- AI prototype unreliable? Scope it down: let the agent do less, then grow — brandon_galang · 2026-11-13
- Porting an Unreal game to iPhone and iPad with Claude Code, no manual Xcode work — chongdashu · 2026-11-13
- Influzer launches an instant MCP server inspector: paste any URL to see its tools — Fine_Airline_6832 · 2026-11-13
- Who's paying for unused AI coding seats? Per-seat billing is quietly leaking money — rcleffke · 2026-11-13
- Formal verification is the Rust of software correctness — LLMs are making people write specs — arpit_bhayani · 2026-11-13
- whats-in-my-claude: open-source local visualizer for Claude Code's .claude folder, runs fully offline via npx — Srqi · 2026-11-13