Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By Coding-Dev-Toolsv0.5.0
Turns any Click or typer Python CLI into an MCP server so Claude Code can call its commands directly, with no wrapper code. Supports stdio and HTTP+SSE transports; installs from GitHub, not PyPI.
Trending plugins
7-day copy clicks
Connected while the plugin is enabled; Claude calls their tools.
No risk signals detected
Nothing flagged in this plugin's hooks, MCP servers or commands. Other components are not analyzed.
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
mcp-server, click, typer, cli-wrapper, python-cli, tool-discovery, stdio-transport, http-sse ·
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Auto-wrap any Click/typer CLI as an MCP (Model Context Protocol) server.
⭐ Star this repo if you build CLI tools — it helps other devs discover click-to-mcp!
Part of the DevForge developer tool ecosystem.
The problem: You have Python CLIs built with Click or typer. Your AI coding agent (Claude Code, Codex, Cursor) needs to call them — but MCP servers require writing boilerplate from scratch.
The old way:
The click-to-mcp way:
pip install git+https://github.com/Coding-Dev-Tools/click-to-mcp.git
click-to-mcp serve your-cli
One command. Your CLI is now an MCP server. No boilerplate, no schema writing, no maintenance burden.
Real example: api-contract-guardian has 6 commands with 20+ options. Writing an MCP server for it would take 200+ lines of boilerplate. With click-to-mcp: click-to-mcp serve api-contract-guardian — done.
Works with DevForge CLI tools out of the box — wrap api-contract-guardian, json2sql, deploydiff, or configdrift as MCP servers with zero code changes.
Install from GitHub (recommended — not yet on public PyPI):
pip install git+https://github.com/Coding-Dev-Tools/click-to-mcp.git
For HTTP+SSE transport (web-based MCP clients), install with the http extra:
pip install "click-to-mcp[http] @ git+https://github.com/Coding-Dev-Tools/click-to-mcp.git"
Install directly from GitHub (latest development version):
pip install git+https://github.com/Coding-Dev-Tools/click-to-mcp.git
Or install via Homebrew (macOS/Linux):
brew tap Coding-Dev-Tools/tap
brew install click-to-mcp
Or install via Scoop (Windows):
scoop bucket add Coding-Dev-Tools https://github.com/Coding-Dev-Tools/scoop-bucket
scoop install click-to-mcp
# Discover all Click/typer CLIs installed in your environment
click-to-mcp discover
# List the MCP tools that would be exposed from a CLI (without starting a server)
click-to-mcp list-tools api-contract-guardian
click-to-mcp list-tools --all --json-output # all CLIs, JSON for CI
# Serve a specific CLI as an MCP server (stdio transport)
click-to-mcp serve api-contract-guardian
# Serve over HTTP+SSE (for web-based MCP clients)
click-to-mcp serve-http api-contract-guardian --port 8000
# Or serve the built-in demo
click-to-mcp demo # stdio
click-to-mcp demo-http # HTTP+SSE on port 8000
# Generate MCP client configuration (copy-paste ready JSON)
click-to-mcp config api-contract-guardian
click-to-mcp config api-contract-guardian --client cursor
click-to-mcp config api-contract-guardian --transport http --port 9000
click-to-mcp config --all --client vscode
Then configure your MCP client to connect via stdio or HTTP.
click-to-mcp introspects your Click/typer CLI at runtime and maps every command to an MCP tool:
| Click Concept | MCP Mapping |
|---|---|
@click.command() | MCP tool |
@click.argument() | Required input property |
@click.option() | Optional input property with default |
click.Choice | JSON Schema enum |
click.INT/FLOAT | JSON Schema integer/number |
click.BOOL / is_flag | JSON Schema boolean |
Nested click.Group | Prefixed tools (e.g. config_show) |
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
Generated from the plugin's indexed repository (coding-dev-tools/click-to-mcp) — no native marketplace selected
npx claudepluginhub p/coding-dev-tools-click-to-mcpPlugins from other owners that cover similar ground