CLI2MCP

Wraps any CLI binary as an MCP server by parsing its --help output and synthesizing a JSON Schema at startup.

ronieneubauer 9 ↓ 374
Claude CodeClaude DesktopGeneric
View source ↗

CLI2MCP transforms command-line utilities into MCP servers without manual schema writing. It parses a CLI's --help output to automatically generate a JSON Schema, then exposes the CLI through MCP stdio transport. The schema updates automatically when the CLI changes, and the tool is compatible with Claude Desktop, ChatGPT, Cursor, Gemini CLI, and Cline.

Source

Repository: https://github.com/ronieneubauer/cli2mcp

Maintain CLI2MCP?

Let people know it's listed here — add the badge (live metrics, light/dark aware) or a plain link to your README or docs.

[CLI2MCP on getagentictools](https://getagentictools.com/mcp/ronieneubauer-cli2mcp?ref=badge)