fix: MCP server port 8097→8101 (8097 already allocated on ub01)

This commit is contained in:
jlightner 2026-04-03 02:58:57 +00:00
parent ff0d40a466
commit df93f2655a
4 changed files with 5 additions and 5 deletions

View file

@ -1,7 +1,7 @@
{ {
"mcpServers": { "mcpServers": {
"chrysopedia": { "chrysopedia": {
"url": "http://ub01:8097/mcp" "url": "http://ub01:8101/mcp"
} }
} }
} }

View file

@ -212,7 +212,7 @@ services:
API_URL: http://chrysopedia-api:8000 API_URL: http://chrysopedia-api:8000
PROMPTS_PATH: /prompts PROMPTS_PATH: /prompts
ports: ports:
- "0.0.0.0:8097:8097" - "0.0.0.0:8101:8101"
volumes: volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro - /var/run/docker.sock:/var/run/docker.sock:ro
- ./prompts:/prompts:ro - ./prompts:/prompts:ro
@ -226,7 +226,7 @@ services:
networks: networks:
- chrysopedia - chrysopedia
healthcheck: healthcheck:
test: ["CMD-SHELL", "curl -sf http://localhost:8097/mcp -o /dev/null || exit 1"] test: ["CMD-SHELL", "curl -sf http://localhost:8101/mcp -o /dev/null || exit 1"]
interval: 30s interval: 30s
timeout: 5s timeout: 5s
retries: 3 retries: 3

View file

@ -14,6 +14,6 @@ COPY mcp_server/server.py /app/server.py
EXPOSE 8097 EXPOSE 8097
HEALTHCHECK --interval=30s --timeout=5s --retries=3 --start-period=10s \ HEALTHCHECK --interval=30s --timeout=5s --retries=3 --start-period=10s \
CMD curl -sf http://localhost:8097/mcp -o /dev/null || exit 1 CMD curl -sf http://localhost:8101/mcp -o /dev/null || exit 1
CMD ["python", "server.py"] CMD ["python", "server.py"]

View file

@ -39,7 +39,7 @@ mcp = FastMCP(
stateless_http=True, stateless_http=True,
json_response=True, json_response=True,
host="0.0.0.0", host="0.0.0.0",
port=8097, port=8101,
) )
# ── Helpers ─────────────────────────────────────────────────────────────────── # ── Helpers ───────────────────────────────────────────────────────────────────