knowsuchagency/mcp2cli
Turn any MCP, OpenAPI, or GraphQL server into a CLI — at runtime, with zero codegen observed · 2026-08-28
Health v2 · maintenance only
59/100
- Activity 98
- Release rhythm 35
- Longevity 12
Flags: no_releases young
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 177
- days_rel: n/a
- days_push: 14
- n_releases_24m: 0
Adoption not part of the score
2370 stars · 171 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
mcp2cli is a Python CLI tool that turns any MCP server, OpenAPI spec, or GraphQL endpoint into a command-line interface at runtime with zero code generation. It reduces token waste in AI agent workflows and supports OAuth authentication across all modes.
Use cases
- interact with an mcp server from the command line
- call openapi endpoints without writing client code
- query graphql apis via cli
- reduce token usage when ai agents call tools
- generate agent skills from api specs
- authenticate to oauth-protected apis from the terminal
When to choose
- you want to call MCP, OpenAPI, or GraphQL APIs from the shell without codegen
- you're building AI agent workflows and want to cut tool-schema token overhead
- you need OAuth support (PKCE or client credentials) for CLI API access
When to avoid
- you need a fully typed, compiled SDK for a specific API
- you only work with APIs that have no MCP/OpenAPI/GraphQL interface
- you need a GUI or interactive API explorer rather than a CLI
Facets
cli-tool · maturity active
cli mcp http-client api-framework auth developer-tools developer-tools apis large-language-models cli python cross-platform mcp-client openapi graphql zero-codegen token-efficiency oauth ai-agent-skills command-line ai-agents
3 sources
- readme: https://github.com/knowsuchagency/mcp2cli · fetched 2026-08-28 · 4164a9bb0e29
- homepage: https://pypi.org/project/mcp2cli/ · fetched 2026-08-29 · 4b4e8fead74a
- registry_pypi: https://pypi.org/pypi/mcp2cli/json · fetched 2026-08-29 · d4d32cf37a77
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| knowsuchagency/mcp2cli | main | 59 |
For agents
markdown · JSON · MCP: product_card(name="knowsuchagency/mcp2cli")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem