Skip to content

Commit 31f58a6

Browse files
Coding-Dev-Toolssenior-dev-rotation-B
andauthored
fix: correct click-to-mcp install advice to working git+ URL (#43)
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). Co-authored-by: senior-dev-rotation-B <agent@cowork-ops.local>
1 parent 5ad2e51 commit 31f58a6

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/deploydiff/cli.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ def mcp() -> None:
271271
from .mcp_server import run_for_app
272272
except ImportError as exc:
273273
console.print(
274-
"[red]Error: click-to-mcp is not installed.[/red]\nInstall it with: [bold]pip install click-to-mcp[/bold]"
274+
"[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]"
275275
)
276276
raise SystemExit(1) from exc
277277

src/deploydiff/mcp_server.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ def run_mcp() -> None:
1919
import sys
2020

2121
print(
22-
"Error: click-to-mcp is not installed. Install it with: pip install click-to-mcp",
22+
"Error: click-to-mcp is not installed. Install it with: pip install git+https://github.com/Coding-Dev-Tools/click-to-mcp.git",
2323
file=sys.stderr,
2424
)
2525
sys.exit(1)
@@ -37,7 +37,7 @@ def run_for_app(app: object) -> None:
3737
import sys
3838

3939
print(
40-
"Error: click-to-mcp is not installed. Install it with: pip install click-to-mcp",
40+
"Error: click-to-mcp is not installed. Install it with: pip install git+https://github.com/Coding-Dev-Tools/click-to-mcp.git",
4141
file=sys.stderr,
4242
)
4343
sys.exit(1)

0 commit comments

Comments
 (0)