mcp2cli
github.com · Open source · Active
Turns any MCP server or OpenAPI spec into a CLI at runtime
- AI & agents
- Open source
- Python
- Day-7 check
- Day-30 check
- Stars
- 2.4k
- Forks
- 190
- Open issues
- 0
- Last commit
- Found
- 8 months ago
GitHub figures as of . They are context, not a ranking.
mcp2cli converts an MCP server, OpenAPI spec, or GraphQL server into a command-line interface at runtime, so a model can discover tools on demand instead of loading every schema into context. The post reports large token savings, measured with the cl100k_base tokenizer. It suits developers connecting many APIs to LLM agents.
Repository description on GitHub: “Turn any MCP, OpenAPI, or GraphQL server into a CLI — at runtime, with zero codegen”
What it does
- Turns an MCP server, OpenAPI spec or GraphQL endpoint into a CLI at runtime
- Lets the model discover tools on demand instead of loading every schema
- Installable agent skill for Claude Code, Cursor and Codex
- Tool help at a few tokens per tool
Good for
- Let an agent call a large API through shell commands
- Cut schema tokens when connecting many MCP servers
- Generate a skill from an OpenAPI spec for a coding agent
Suits: Developers connecting many APIs and MCP servers to LLM agents.
Worth knowing: The token savings come from the author's own measurements with the cl100k_base tokenizer.
What you can try
Read the README on GitHub and install from source.
Install
pip install mcp2cliuv tool install mcp2cliConfirmed against the package registry. Read the project’s own instructions before running anything.
Links go to third-party sites KipFound does not control. KipFound has not installed, audited or tested this software.
Found vs. released
Kip first saw mcp2cli on , when knowsuchagency posted it to Show HN. GitHub listed no published releases for knowsuchagency/mcp2cli when checked , so the project may ship straight from its main branch. The repository was created .
Day-7 and day-30 updates
Day 7 no new release
- No tagged release was published in the first 7 days after it was found (GitHub release dates).
- Show HN discussion at check time: 146 points, 100 comments. API record
Checked , later than day 7 because tracking began after.
Day 30 no new release
- No tagged release was published in the first 30 days after it was found (GitHub release dates).
- Show HN discussion at check time: 146 points, 100 comments. API record
Checked , later than day 30 because tracking began after.
Release timeline every entry links to its source
- Repository created on GitHub: knowsuchagency/mcp2cli
- Also: knowsuchagency created its repository on GitHub. GitHub
- Found: knowsuchagency posted it to Show HN. Show HN
- Day-7 check recorded by Kip (details)
- Day-30 check recorded by Kip (details)
Quick answers
- When was mcp2cli released?
- No dated release record is available. Kip found it on Show HN on 9 Mar 2026.
- Is mcp2cli open source?
- Its source is public on GitHub at knowsuchagency/mcp2cli under the MIT licence.
- What does mcp2cli run on?
- Command line, API.
- Is mcp2cli free?
- It is open source, so the code is free to read and run; check the licence for terms.
- Is mcp2cli still maintained?
- Yes. It had a commit or release in the last 90 days as of the latest check.
Provenance
| Source | Record | Last checked |
|---|---|---|
| Show HN | listing official API record | |
| GitHub | listing official API record | |
| GitHub repository | knowsuchagency/mcp2cli REST API record | |
| GitHub Releases | release list REST API record |
Stable ID hn-47305149. Summary written by KipFound’s editor.
Share
Similar tools
Made this, or spotted a mistake? Ask for a correction or removal. No account or email address needed.