From e0c833b0b3d7e36c5a55450600e01d8b80097756 Mon Sep 17 00:00:00 2001 From: senior-dev-rotation-B Date: Thu, 16 Jul 2026 01:06:40 -0400 Subject: [PATCH] fix: correct click-to-mcp install advice to working git+ URL click-to-mcp is not published on PyPI (pip install click-to-mcp -> 'No matching distribution found'), so the runtime error messages that tell users to 'pip install click-to-mcp' are wrong and leave them stuck. This restores the git+ install form (previously added in a5874e0 and accidentally reverted by aa004b0) across cli.py and mcp_server.py. Reviewed and approved by council_gate_code_edit (APPROVE). --- src/deploydiff/cli.py | 2 +- src/deploydiff/mcp_server.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/deploydiff/cli.py b/src/deploydiff/cli.py index 46902be..3811321 100644 --- a/src/deploydiff/cli.py +++ b/src/deploydiff/cli.py @@ -271,7 +271,7 @@ def mcp() -> None: from .mcp_server import run_for_app except ImportError as exc: console.print( - "[red]Error: click-to-mcp is not installed.[/red]\nInstall it with: [bold]pip install click-to-mcp[/bold]" + "[red]Error: click-to-mcp is not installed.[/red]\nInstall it with: [bold]pip install git+https://github.com/Coding-Dev-Tools/click-to-mcp.git[/bold]" ) raise SystemExit(1) from exc diff --git a/src/deploydiff/mcp_server.py b/src/deploydiff/mcp_server.py index a59135e..e9c90ca 100644 --- a/src/deploydiff/mcp_server.py +++ b/src/deploydiff/mcp_server.py @@ -19,7 +19,7 @@ def run_mcp() -> None: import sys print( - "Error: click-to-mcp is not installed. Install it with: pip install click-to-mcp", + "Error: click-to-mcp is not installed. Install it with: pip install git+https://github.com/Coding-Dev-Tools/click-to-mcp.git", file=sys.stderr, ) sys.exit(1) @@ -37,7 +37,7 @@ def run_for_app(app: object) -> None: import sys print( - "Error: click-to-mcp is not installed. Install it with: pip install click-to-mcp", + "Error: click-to-mcp is not installed. Install it with: pip install git+https://github.com/Coding-Dev-Tools/click-to-mcp.git", file=sys.stderr, ) sys.exit(1)