refactor: update default MCP ports to 9001, fix connect docstrings, rename Cline label to Roo Code / Cline

This commit is contained in:
Hitonabi
2026-06-25 22:39:42 +02:00
parent b08e867c1a
commit ef93b7f919
3 changed files with 7 additions and 7 deletions
+3 -3
View File
@@ -1,7 +1,7 @@
"""
Connect: erzeugt saubere, getestete Konfig-Snippets für IDEs/Agenten auf dem
LOKALEN PC (separate Maschine im LAN). Alle zeigen auf den **Gateway** der Box
(`model: auto`, LiteLLM :4000) + den **Shared-Memory-MCP** (MC :9000).
(`model: auto`, Cockpit-Port :9001/v1) + den **Shared-Memory-MCP** (MC :9001).
Wichtig: Host ist die LAN-IP der Box (NICHT eine Proxy-Domain) — das war in v1
die häufigste Fehlerquelle. Der Aufrufer übergibt den Host explizit.
@@ -23,7 +23,7 @@ def _gw(host: str) -> str:
def build_snippets(host: str = DEFAULT_HOST,
mcp_script_path: str = r"C:\\Users\\TobisPC\\mission-control-v2\\mcp\\mcp_memory.py",
mcp_script_path: str = r"F:\\Coding Stuff\\mission-control-2\\mcp\\mcp_memory.py",
mcp_python: str = "python") -> dict:
gw = _gw(host)
mc_url = f"http://{host}:{PORT}"
@@ -89,7 +89,7 @@ def build_snippets(host: str = DEFAULT_HOST,
"host": host,
"gateway_url": gw,
"tools": {
"cline": {"label": "Cline (VS Code)", "lang": "json", "snippet": cline,
"cline": {"label": "Roo Code / Cline (VS Code)", "lang": "json", "snippet": cline,
"note": "OpenAI-Provider → Gateway. Modell 'auto' (schnell, eskaliert bei Bedarf)."},
"opencode": {"label": "OpenCode", "lang": "jsonc", "snippet": opencode,
"note": "Datei opencode.jsonc, Key 'providers'."},