Skip to main content
ClaudeWave

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

MCP Servers2.2k stars155 forksPythonMITUpdated 13d ago
Editor's note

mcp2cli is a Python command-line tool that converts MCP servers, OpenAPI specs, and GraphQL endpoints into callable CLI commands at runtime, without generating any code. It supports three connection modes: HTTP/SSE or stdio for MCP servers, local or remote OpenAPI specs in JSON or YAML, and GraphQL endpoints via introspection. It integrates directly with Claude Code through an installable skill (via skills.sh), letting the agent discover and invoke tools from any supported API type. A standout feature is token efficiency: by exposing API tools as CLI subcommands rather than feeding full schema definitions to the model on every turn, the project claims a 96 to 99 percent reduction in tokens consumed by tool schemas. OAuth handling covers both browser-based PKCE flows and machine-to-machine client credentials, with tokens cached in ~/.cache/mcp2cli/oauth/. A bake mode lets users persist connection settings and auth flags into named configurations, avoiding repetitive flags. Developers building or testing agents that interact with external APIs are the primary audience.

ClaudeWave Trust Score
100/100
Verified
Passed
  • Open-source license (MIT)
  • Actively maintained (<30d)
  • Healthy fork ratio
  • Clear description
  • Topics declared
  • Documented (README)
Last scanned: 6/11/2026
Install in Claude Code / Claude Desktop
Method: UVX (Python) · mcp2cli
Claude Code CLI
claude mcp add mcp2cli -- uvx mcp2cli
claude_desktop_config.json (Claude Desktop)
{
  "mcpServers": {
    "mcp2cli": {
      "command": "uvx",
      "args": ["mcp2cli"]
    }
  }
}
1. Run the command above in your terminal (Claude Code), or paste the JSON config into claude_desktop_config.json (Claude Desktop).
2. Replace any <placeholder> values with your API keys or paths.
3. Restart Claude. The MCP server and its tools appear automatically.
💡 Package name inferred from the repository name. Verify it exists on PyPI, or clone https://github.com/knowsuchagency/mcp2cli and follow its README.

MCP Servers overview

README preview not available. Visit the repo on GitHub for full documentation.
aicligraphqlmcpopenapi

What people ask about mcp2cli

What is knowsuchagency/mcp2cli?

+

knowsuchagency/mcp2cli is mcp servers for the Claude AI ecosystem. Turn any MCP, OpenAPI, or GraphQL server into a CLI — at runtime, with zero codegen It has 2.2k GitHub stars and was last updated 13d ago.

How do I install mcp2cli?

+

You can install mcp2cli by cloning the repository (https://github.com/knowsuchagency/mcp2cli) or following the README instructions on GitHub. ClaudeWave also provides quick install blocks on this page.

Is knowsuchagency/mcp2cli safe to use?

+

Our security agent has analyzed knowsuchagency/mcp2cli and assigned a Trust Score of 100/100 (tier: Verified). See the full breakdown of passed checks and flags on this page.

Who maintains knowsuchagency/mcp2cli?

+

knowsuchagency/mcp2cli is maintained by knowsuchagency. The last recorded GitHub activity is from 13d ago, with 3 open issues.

Are there alternatives to mcp2cli?

+

Yes. On ClaudeWave you can browse similar mcp servers at /categories/mcp, sorted by popularity or recent activity.

Deploy mcp2cli to your cloud

Ship this repo to production in minutes. Each platform spins up its own environment with editable env vars.

Maintain this repo? Add a badge to your README

Drop the badge into your GitHub README to show it's tracked on ClaudeWave. Each badge links back to this page and reflects the live Trust Score.

Featured on ClaudeWave: knowsuchagency/mcp2cli
[![Featured on ClaudeWave](https://claudewave.com/api/badge/knowsuchagency-mcp2cli)](https://claudewave.com/repo/knowsuchagency-mcp2cli)
<a href="https://claudewave.com/repo/knowsuchagency-mcp2cli"><img src="https://claudewave.com/api/badge/knowsuchagency-mcp2cli" alt="Featured on ClaudeWave: knowsuchagency/mcp2cli" width="320" height="64" /></a>

More MCP Servers