mcp2cli

Turn any MCP server into a first-class command-line application.

graduatedDeveloper toolsApache-2.0
2
MCP revisions, auto-negotiated
5
event-sink types
v0.1.5
latest release

mcp2cli maps the Model Context Protocol onto the grammar every terminal user already knows: server tools become verbs, resources become nouns, prompts become workflows. Point it at any MCP server — --url or --stdio — and it generates a discovery-driven, typed CLI from the server's JSON Schema, with real flags, help text, and completion.

Name a config once and symlink an alias: your MCP server is now a native command. Profile overlays handle per-environment differences, daemon mode keeps warm connections, and --json/ndjson output plus five event-sink types make it a scriptable building block rather than a demo.

It speaks both current MCP wire revisions (2025-11-25 and the stateless 2026-07-28) with auto-negotiation, and it is developed as its own standalone tool with its own site — the lab's oldest still-running public utility.

Related projects