Skip to content

mcp-gateway

Docker CLI plugin that runs and secures MCP servers behind one gateway for AI clients

Permissive (OSI) · MIT AI-native

Listed by , founder & editor

56

Health

Active

Overview

Stars

1,647

Last commit

4 days ago

Nov 2026

Repository age

1 year

since Apr 2025

Latest version

–

Contributors

–

5 active in 90 days

Releases

0

last 12 months

Docker pulls

1.3M

docker/mcp-gateway

Language

Go

Docker MCP Gateway is the code behind the docker-mcp CLI plugin and the MCP Toolkit in Docker Desktop. It runs Model Context Protocol servers from the Docker MCP Catalog and exposes them to AI clients through a single gateway.

Each local catalog server runs in its own Docker container. npx and uvx servers get minimal host privileges. Clients such as VS Code, Cursor and Claude Desktop connect to the same gateway configuration. The plugin handles OAuth flows, keeps secrets out of environment variables through Docker Desktop, discovers tools, prompts and resources, and offers logging and call tracing.

It is written in Go and MIT licensed. It needs Docker Desktop 4.59 or newer with the MCP Toolkit enabled, though it can also run independently, for example on Docker CE or WSL2. Building from source needs Go 1.24 or newer.

Who it's for

Developers using several MCP clients

Every client points at one gateway configuration, so tool setups stay consistent.

Skip if: You use a single MCP server and do not want Docker involved.

Teams that want MCP servers isolated

Servers run in separate containers with managed secrets and OAuth.

Skip if: You cannot run Docker in your environment.

The problem it solves

Running MCP servers directly on your machine means managing processes, credentials and per-client configuration by hand. The gateway runs servers in containers and gives every AI client one place to connect.

Strengths

  • Runs each catalog MCP server in an isolated Docker container
  • One gateway configuration shared by VS Code, Cursor and Claude Desktop
  • Built-in OAuth flows and secrets handling
  • Logging and call tracing included
  • MIT license; Docker image has over 1.2 million pulls

Trade-offs

  • Expects Docker Desktop 4.59 or newer for full features
  • Use outside Docker Desktop needs extra settings such as DOCKER_MCP_IN_CONTAINER
  • No tagged releases in the last year

Self-host mcp-gateway

Self-hostable
Yes
Docker image
docker/mcp-gateway

Quick start

git clone https://github.com/docker/mcp-gateway.git
cd mcp-gateway
mkdir -p "$HOME/.docker/cli-plugins/"
make docker-mcp

From the project's own install instructions. Check the docs for production settings.

Frequently asked questions

Is it free?

Yes. It is MIT licensed.

Do I need Docker Desktop?

Recent Docker Desktop versions include it. It can also run independently on Docker CE or WSL2 with extra settings.

How do I check it is installed?

Run docker mcp --help once the plugin is installed.

What language is it written in?

Go. Building from source needs Go 1.24 or newer.

Similar tools in MCP servers and tooling

codebase-memory-mcp

MCP servers and tooling

Local MCP server that indexes your codebase into a knowledge graph for AI coding agents

49k 4.1k today Thriving MIT

MCPJungle

MCP servers and tooling

Self-hosted gateway that puts all your MCP servers behind one endpoint

1.6k 205 4 days ago Active MPL-2.0

mobile-mcp

MCP servers and tooling

MCP server that lets AI agents drive iOS and Android apps on devices and emulators

11k 967 today Thriving Apache-2.0

DesktopCommanderMCP

MCP servers and tooling

MCP server that lets AI chat clients run terminal commands and edit files on your computer

10k 1.3k 5 days ago Thriving MIT

OpenConnector

MCP servers and tooling

6.3k 622 today Thriving Unknown

pullmd

MCP servers and tooling

Self-hosted converter from web pages and documents to Markdown for AI agents

529 44 today Thriving AGPL-3.0