#9494th of 111 in MCP servers for developers

mcp2cli

CLI that exposes MCP servers, OpenAPI specs and GraphQL endpoints as commands

Stars
2.4k
License
MIT
Last commit
Nov 2026
Language
Python
Stars, last 29 weeks+476
21 Apr 2026: 1,963 stars28 Apr 2026: 2,014 stars5 May 2026: 2,040 stars12 May 2026: 2,073 stars19 May 2026: 2,098 stars26 May 2026: 2,134 stars2 Jun 2026: 2,159 stars9 Jun 2026: 2,179 stars16 Jun 2026: 2,199 stars23 Jun 2026: 2,216 stars30 Jun 2026: 2,238 stars7 Jul 2026: 2,252 stars14 Jul 2026: 2,268 stars21 Jul 2026: 2,280 stars28 Jul 2026: 2,300 stars4 Aug 2026: 2,312 stars11 Aug 2026: 2,331 stars18 Aug 2026: 2,338 stars25 Aug 2026: 2,348 stars1 Sept 2026: 2,360 stars8 Sept 2026: 2,371 stars15 Sept 2026: 2,382 stars22 Sept 2026: 2,391 stars29 Sept 2026: 2,396 stars6 Oct 2026: 2,404 stars13 Oct 2026: 2,409 stars20 Oct 2026: 2,419 stars27 Oct 2026: 2,425 stars3 Nov 2026: 2,433 stars10 Nov 2026: 2,439 stars

1,963 on 21 Apr 20262,439 on 10 Nov 2026

From GitHub's daily star counts.

Checked on GitHub.

Overview

mcp2cli builds a command-line interface at runtime from an MCP server (HTTP/SSE or stdio), an OpenAPI spec, or a GraphQL endpoint, with no code generation. Its compact `--list` output and usage-based ranking cut the tokens an agent spends on tool schemas. It also handles OAuth, named sessions that reuse one MCP connection, and saved "baked" configurations.

Who it is for: Engineers wiring coding agents to MCP, REST or GraphQL APIs via shell

Strengths

  • One tool covers MCP (HTTP/SSE, stdio), OpenAPI (JSON/YAML) and GraphQL sources
  • OAuth with PKCE, client credentials and a manual-callback mode for headless hosts
  • Persistent sessions keep one MCP connection alive across calls
  • Secrets can be read from env: or file: references instead of CLI arguments

Weaknesses

  • Only MCP sources support `--schema`; `--spec` and `--graphql` reject it
  • Spec and tool-list caching has a 1-hour default TTL, so stale lists need `--refresh`
  • No tagged release published
  • Token-saving figures come from the project's own writeup, not the README itself

What it needs

  • no GPU
  • Needs uv, mcp Python SDK (>=1.26,<3)

Quick answers

Is mcp2cli open source?

Yes. Its code is on GitHub under the MIT license.

Also in MCP servers for developers

See all 111
Also in MCP servers for developers
RankProjectScore
1gitnexusCode knowledge graph exposed to coding agents through MCP tools Live demo ↗ (opens in a new tab)48.4k stars+765 (+1.6%) in 30 dayscustom license96 out of 100
2codegraphLocal code knowledge graph that coding agents query over MCP77.4k stars+3,831 (+5.2%) in 30 daysMIT95 out of 100
3playwright-mcpMCP server that lets LLMs drive a browser through Playwright accessibility snapshots39.5k starsApache-2.092 out of 100
#4code-review-graphLocal Tree-sitter code graph that gives coding assistants review context over MCP32.7k stars+761 (+2.4%) in 30 daysMIT92 out of 100
#5serenaMCP server giving coding agents symbol-level code search, editing and refactoring31.3k stars+1,188 (+3.9%) in 30 dayscustom license91 out of 100