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:
@@ -1,7 +1,7 @@
|
||||
"""
|
||||
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
|
||||
@@ -13,7 +13,7 @@ from mcp.server import Server
|
||||
from mcp.server.stdio import stdio_server
|
||||
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
|
||||
|
||||
server = Server("gridbot-mcp")
|
||||
|
||||
Reference in New Issue
Block a user