Skip to content

fix: install HTTP dependencies in Dockerfile for Kubernetes deployment - #34

Merged
surrealwolf merged 1 commit into
mainfrom
fix/mcp-startup-issues
Jan 12, 2026
Merged

fix: install HTTP dependencies in Dockerfile for Kubernetes deployment#34
surrealwolf merged 1 commit into
mainfrom
fix/mcp-startup-issues

Conversation

@surrealwolf

Copy link
Copy Markdown
Collaborator

Problem

The high-command-mcp pods fail to start with the following error:

ERROR:__main__:HTTP support requires 'uvicorn' and 'fastapi'. 
Install with: pip install high-command[http]

The deployment is configured to use HTTP transport (MCP_TRANSPORT=http), which requires fastapi and uvicorn packages. However, the Dockerfile installs only the base dependencies without the [http] extra.

Solution

Update the Dockerfile to install with the [http] extra using -e ".[http]" to include fastapi and uvicorn in the Docker image.

Changes

  • Modified Dockerfile to install dependencies with -e ".[http]" instead of -e .
  • This includes the fastapi and uvicorn packages required for HTTP transport

Testing

After rebuilding the image with this fix, the pods should start successfully when using HTTP transport mode.

Related

This fix complements the LOG_LEVEL case sensitivity fix that was already merged to main.

The deployment uses HTTP transport (MCP_TRANSPORT=http), which requires
fastapi and uvicorn. These are defined as optional dependencies in
pyproject.toml under the 'http' extra. Install with -e '.[http]' to include
these dependencies in the Docker image.

Fixes error: HTTP support requires 'uvicorn' and 'fastapi'
@surrealwolf
surrealwolf merged commit 0dd9547 into main Jan 12, 2026
8 checks passed
@surrealwolf
surrealwolf deleted the fix/mcp-startup-issues branch January 12, 2026 01:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant