Productivity|Development|AI / MLPython

mcp2cli

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

Free
N/A rating (0 reviews)0 installs1,893 GitHub stars
CLIAPIMCP

mcp2cli allows users to interact with various API types without the need for code generation, significantly reducing token usage. It provides a seamless way to create CLI commands for any MCP server or OpenAPI endpoint.

Compatible with

Claude DesktopCursor

Install

Claude Desktop

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "mcp2cli": {
      "args": [
        "mcp2cli"
      ],
      "command": "uvx"
    }
  }
}

Config File Location

Mac: ~/Library/Application Support/Claude/claude_desktop_config.json

Windows: %APPDATA%\Claude\claude_desktop_config.json

Linux: ~/.config/claude/claude_desktop_config.json

Some servers require additional setup - check the GitHub README for specific instructions.

mcp2cli MCP Server — MCPNest — MCPNest