You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* fix: resolve Docker environment variable validation error (#354)
- Revert fastmcp config files to use hardcoded port/path values
- fastmcp-http.json: port 8086, path "/mcp"
- fastmcp-sse.json: port 8087, path "/mcp"
- fastmcp-webclient.json: port 8086, path "/mcp"
- Update Docker docs to use ha-mcp-web command instead of fastmcp run
- Add documentation for customizing port/path via environment variables
Root cause: FastMCP doesn't expand ${VAR:-default} syntax in JSON before
Pydantic validates. The ha-mcp-web command reads MCP_PORT and MCP_SECRET_PATH
environment variables directly in Python code (__main__.py:304-305).
Fixes#354
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
* fix: use correct default port for ha-mcp-sse (8087)
- Update _get_http_runtime to accept default_port parameter
- Set ha-mcp-sse to use port 8087 (was incorrectly using 8086)
- Add documentation note about Docker port mapping
Addresses code review feedback from Gemini Code Assist:
- Prevents port conflict between ha-mcp-web (8086) and ha-mcp-sse (8087)
- Clarifies that both -p and MCP_PORT must match for custom ports
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com>
> **Note:** Both the Docker port mapping (`-p 9000:9000`) and the `MCP_PORT` environment variable must match the desired port. The first number in `-p` is the host port, the second is the container port (which matches `MCP_PORT`).
0 commit comments