Skip to content

feat: Add Docker support and remote MCP HTTP transport#44

Open
keenlin wants to merge 1 commit into
GuDaStudio:mainfrom
keenlin:feat/docker-remote-mcp
Open

feat: Add Docker support and remote MCP HTTP transport#44
keenlin wants to merge 1 commit into
GuDaStudio:mainfrom
keenlin:feat/docker-remote-mcp

Conversation

@keenlin
Copy link
Copy Markdown

@keenlin keenlin commented Apr 27, 2026

Summary

This PR adds Docker containerization and remote MCP HTTP/SSE transport support, enabling direct deployment to any homelab or Docker-capable host.

Changes

  • Docker

    • Dockerfile: multi-stage build, non-root user, exposes port 8000
    • docker-compose.yml: environment-driven config, ready for Dokploy/Portainer
    • .dockerignore
  • Remote MCP transport

    • server.py supports MCP_TRANSPORT env var: http / streamable-http / sse / stdio (default)
    • MCP_HOST / MCP_PORT for binding configuration
    • Optional Bearer Token auth via MCP_AUTH_TOKEN

Quick start

docker compose up -d

Service listens on 0.0.0.0:8000 in HTTP mode; stdio mode remains the default for local use.

- Modify server.py to support MCP_TRANSPORT env var for http/sse/stdio
- Add optional Bearer Token auth via MCP_AUTH_TOKEN
- Add Dockerfile with python:3.12-slim and non-root user
- Add docker-compose.yml for Dokploy deployment
- Add .dockerignore
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