fix: Update default GRIDBOT_API_URL to services:8001

Changed from services.agiliton.internal:8000 to services:8001 to match actual conductor port.

Port 8001 is the external mapping for conductor's internal port 8000.
This commit is contained in:
Christian Gick
2026-01-20 18:07:57 +02:00
parent 823b8b4297
commit 5ce18bb435

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.agiliton.internal:8000) Requires VPN connection and GRIDBOT_API_URL env var (default: http://services:8001)
""" """
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.agiliton.internal:8000") BASE_URL = os.getenv("GRIDBOT_API_URL", "http://services:8001")
TIMEOUT = 30.0 TIMEOUT = 30.0
server = Server("gridbot-mcp") server = Server("gridbot-mcp")