Releases: Coding-Dev-Tools/click-to-mcp
Release list
v0.5.0 — Client Config Generator
What's New
click-to-mcp config — Generate MCP Client Configuration JSON
One command to generate ready-to-paste configuration snippets for popular MCP clients:
# Claude Desktop (default)
click-to-mcp config my-cli
# Cursor
click-to-mcp config my-cli --client cursor
# VS Code Copilot (nested mcp.servers format)
click-to-mcp config my-cli --client vscode
# HTTP transport with custom port
click-to-mcp config my-cli --transport http --port 9000
# All discoverable CLIs at once
click-to-mcp config --all --client windsurfSupported clients: Claude Desktop, Cursor, VS Code Copilot, Windsurf, Cline
Supported transports: stdio (default), HTTP+SSE, Streamable HTTP
Bug Fixes
- Fixed
require_licensecompatibility when installedrevenueholdings-licensemodule returns aLicenseStatusobject instead of a decorator
Tests
- 10 new tests for the config command
- All 52 tests passing
v0.4.0 — Streamable HTTP Transport
Streamable HTTP Transport
New transport mode using a single POST /message endpoint — no SSE (Server-Sent Events) required. Simpler, fewer dependencies, compatible with more MCP clients.
New Commands
click-to-mcp serve-http-streamable <name>— Serve any discovered CLIclick-to-mcp demo-http-streamable— Run the built-in demo
New Library API
run_http_streamable(app, prefix, name, host, port)— fromclick_to_mcpserve_http_streamable(...)— fromclick_to_mcp.streamable_http
Features
- Single POST
/messageendpoint for all MCP communication - Batch message support (JSON-RPC arrays)
- Health check at
/health - Default port 8001 (HTTP+SSE uses 8000)
- Requires:
pip install 'click-to-mcp[http]'
Testing
- 13 new tests covering Streamable HTTP transport
- 34 total tests, all passing
v0.3.0 — HTTP+SSE Transport
HTTP+SSE transport for web-based MCP clients
New: serve-http CLI command, /health endpoint, run_http() API, [http] optional deps
11 new HTTP integration tests (23 total)
Install: pip install git+https://github.com/Coding-Dev-Tools/click-to-mcp.git@v0.3.0
click-to-mcp v0.2.1
What's New
- 12 proper pytest tests (replaces script-style tests): TestAdapter, TestServer, TestDiscover
- MCP integration examples: api-contract-guardian MCP demo, quick-start 3-line demo
- Agent workflow documentation: MCP setup guides for Claude Code, Cursor, Cline/VS Code
- 'How It Works' table: Maps Click concepts to MCP equivalents
- GitHub install as primary path:
pip install git+https://github.com/Coding-Dev-Tools/click-to-mcp.git
Install
pip install git+https://github.com/Coding-Dev-Tools/click-to-mcp.gitQuick Test
click-to-mcp discover # List your Click/typer CLIs
click-to-mcp demo # Start demo MCP serverclick-to-mcp v0.2.0
click-to-mcp v0.2.0
Auto-wrap any Click/typer CLI as an MCP server with auto-discovery — the missing piece in the MCP ecosystem.
New in v0.2.0:
- Auto-discovery: scan entry_points to find all installed Click/Typer CLIs
- New commands: discover, serve, and demo CLI
- MCP server mode: serve any discovered CLI as stdio MCP transport
- Works with api-contract-guardian, json2sql, deploydiff out of the box
- Built-in demo with greet, calculate, config commands
Usage:
click-to-mcp discover # List all Click/typer CLIs
click-to-mcp serve # Serve CLI as MCP server
click-to-mcp demo # Run built-in demo
This is the only tool that converts Click/typer CLIs → MCP servers (mcp2cli does the reverse).
click-to-mcp v0.1.0
Auto-wrap any Click/typer CLI as an MCP (Model Context Protocol) server.
- Introspects Click/typer command trees into MCP tool definitions
- Uses stdio transport (compatible with Claude Code, Cursor, Codex)
- Supports tool name prefixes
- Works with both Click Group and Typer apps
from click_to_mcp import run
from my_cli import app
run(app, prefix="my-cli", name="My CLI MCP Server")