LocalFree

cli2mcp MCP server

RonieNeubauer/cli2mcp

Wrap any CLI as a Model Context Protocol server - schema auto-inferred from --help.

12 GitHub stars127 npm downloads / month

Install cli2mcp in Claude Code

Claude Code
claude mcp add cli2mcp -- npx -y cli2mcp
mcp.json (Claude Desktop, Cursor, VS Code, Windsurf)
{
  "mcpServers": {
    "cli2mcp": {
      "command": "npx",
      "args": [
        "-y",
        "cli2mcp"
      ]
    }
  }
}

Frequently asked questions

What does the cli2mcp MCP server do?

Wrap any CLI as a Model Context Protocol server - schema auto-inferred from --help.

Is the cli2mcp MCP server free?

Yes, most likely. Open source and no paid account or API key is mentioned in the listing. Check the provider for current pricing.

Does cli2mcp run locally or remotely?

Local. Runs on your machine (stdio). You install it with npx, uvx, Docker or from source.

How do I add cli2mcp to Claude Code?

Run: claude mcp add cli2mcp -- npx -y cli2mcp

More ai agents & coding agents MCP servers

View all