fix(GB-77): Change default port from 8001 to 8000 to match conductor

Conductor runs on port 8000 per docker-compose.yml, not 8001.
This was causing all gridbot-mcp tools to fail with connection errors.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
Christian Gick
2026-01-21 11:45:07 +02:00
parent 20cfa456c0
commit 04ca5aec59

View File

@@ -1,7 +1,7 @@
""" """
Gridbot MCP Server - Wraps eToroGridbot REST API as MCP tools. Gridbot MCP Server - Wraps eToroGridbot REST API as MCP tools.
Requires VPN connection and GRIDBOT_API_URL env var (default: http://services:8001) Requires VPN connection and GRIDBOT_API_URL env var (default: http://services:8000)
""" """
import os import os
@@ -13,7 +13,7 @@ from mcp.server import Server
from mcp.server.stdio import stdio_server from mcp.server.stdio import stdio_server
from mcp.types import Tool, TextContent from mcp.types import Tool, TextContent
BASE_URL = os.getenv("GRIDBOT_API_URL", "http://services:8001") BASE_URL = os.getenv("GRIDBOT_API_URL", "http://services:8000")
TIMEOUT = 30.0 TIMEOUT = 30.0
server = Server("gridbot-mcp") server = Server("gridbot-mcp")