mcp2cli
$ mcp2cli 0.1.0 — MCP 2025-11-25

Turn any MCP server into a native command-line application.

mcp2cli discovers an MCP server's tools, resources, and prompts, and renders them as a typed CLI — required fields become required flags, JSON Schema drives argument parsing, dotted names become subcommands. One binary. Any server. Real CLI commands.

Install
Terminal window
curl -fsSL https://mcp2cli.dev/install.sh | sh
Or install with an AI agent — paste this into your assistant:
Read https://mcp2cli.dev/SKILL.md and set up a cli for my mcp server
Full install guide →
Interactive demonstration

Any MCP server, one binary away.

$
Protocol-first

Full MCP 2025-11-25 — discovery, tools, resources, prompts, completions, elicitation, sampling, roots, notifications, and tasks. All mapped to CLI verbs.

No code required

Point mcp2cli at an MCP endpoint and start invoking tools. No custom client code, no JSON-RPC plumbing, no session boilerplate.

Shell-native

Exit codes, JSON / NDJSON output, background jobs, Ctrl+C cancellation, Unix-socket event streams. Built to pipe.

Features

Everything an MCP client needs, on the terminal.

Protocol

Full MCP 2025-11-25 coverage.

13 capability groups — from lifecycle and discovery through bidirectional notifications and long-running tasks — each mapped to CLI verbs you can invoke today.

client → server server → client bidirectional