#234 · Primary category: AI Coding Assistants

mcp2cli

ai cli graphql mcp openapi

Turn any MCP, OpenAPI, or GraphQL server into a CLI — at runtime, with zero codegen

Project last updated:08/30/26

GitHub Stars

2.4K

Forks

171

Contributors

17

License

MIT

Why we included this project

Teams that touch several APIs usually end up maintaining one small integration per service. mcp2cli flips that by reading a live MCP server, an OpenAPI spec, or a GraphQL endpoint and turning it into typed commands on the fly, with no code generation step. Required fields become flags, dotted names become subcommands, and saved connections can be recalled with a short alias. For AI agent work the bigger payoff is token efficiency: keeping tool schemas out of each turn saves 96 to 99 percent of the tokens an agent spends describing what it can call. It also ships an installable skill that lets Claude Code, Cursor, and Codex discover and invoke these APIs on demand, and OAuth is handled for you, including token caching and refresh, so small teams get one scriptable front door instead of bespoke per-vendor code.

Articles for this project

No articles for this project yet.

To suggest a topic or contribute an article, contact us.

Related projects in this category