Skip to content

Releases: Coding-Dev-Tools/click-to-mcp

v0.5.0 — Client Config Generator

Choose a tag to compare

@Coding-Dev-Tools Coding-Dev-Tools released this 17 May 21:38

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 windsurf

Supported clients: Claude Desktop, Cursor, VS Code Copilot, Windsurf, Cline
Supported transports: stdio (default), HTTP+SSE, Streamable HTTP

Bug Fixes

  • Fixed require_license compatibility when installed revenueholdings-license module returns a LicenseStatus object instead of a decorator

Tests

  • 10 new tests for the config command
  • All 52 tests passing

v0.4.0 — Streamable HTTP Transport

Choose a tag to compare

@Coding-Dev-Tools Coding-Dev-Tools released this 15 May 05:47

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 CLI
  • click-to-mcp demo-http-streamable — Run the built-in demo

New Library API

  • run_http_streamable(app, prefix, name, host, port) — from click_to_mcp
  • serve_http_streamable(...) — from click_to_mcp.streamable_http

Features

  • Single POST /message endpoint 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

Choose a tag to compare

@Coding-Dev-Tools Coding-Dev-Tools released this 15 May 05:36

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

Choose a tag to compare

@Coding-Dev-Tools Coding-Dev-Tools released this 15 May 05:14

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.git

Quick Test

click-to-mcp discover    # List your Click/typer CLIs
click-to-mcp demo        # Start demo MCP server

click-to-mcp v0.2.0

Choose a tag to compare

@Coding-Dev-Tools Coding-Dev-Tools released this 15 May 03:28

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

Choose a tag to compare

@Coding-Dev-Tools Coding-Dev-Tools released this 14 May 13:23

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")