docker-mcp-gateway

hwdsl2/docker-mcp-gateway
★ 2 stars Shell 🗄️ Database Updated 1d ago
Docker image to run a self-hosted MCP (Model Context Protocol) gateway with Bearer token auth. Multi-server hub powered by MCPHub + Caddy, access filesystem, fetch, GitHub, Brave Search, Git, PostgreSQL, memory, and more from a single HTTP endpoint. Simple env-file config, multi-arch (amd64, arm64).
View on GitHub →

Quick Install

Copy the config for your editor. Some servers may need additional setup — check the README.

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "docker-mcp-gateway": {
      "command": "npx",
      "args": [
        "-y",
        "hwdsl2/docker-mcp-gateway"
      ]
    }
  }
}

README Excerpt

Docker image to run a self-hosted [MCP](https://modelcontextprotocol.io/) (Model Context Protocol) gateway, providing authenticated access to multiple MCP tool servers over HTTP from a single endpoint. Powered by [MCPHub](https://github.com/samanhappy/mcphub) with Caddy auth proxy. Designed to be simple and secure by default.

Tools (14)

CaddyfileMCP_ADMIN_PASSWORDMCP_API_KEYMCP_BRAVE_API_KEYMCP_GIT_REPOMCP_HOSTMCP_PORTMCP_SERVERSfetchfilesystemgitgithubmemorypostgres

Topics

aiapi-gatewaycaddydockerdocker-composedocker-imagelinuxllmmcpmcp-gatewaymcp-servermcphubmodel-context-protocolproxyself-hosted