Docker MCP Server
Published · Updated
At a glance
- Category
- Cloud & DevOps
- GitHub repository
- docker/mcp-gateway
- Watch out for
- It is a host for MCP servers, not a tool for managing your own containers.
This repository, docker/mcp-gateway (formerly docker/docker-mcp), is not an MCP server for managing your containers. It is the docker mcp CLI plugin that powers the MCP Toolkit in Docker Desktop, and its main job is to run other MCP servers for you, each in its own container, behind a single gateway your AI client connects to.
The problem it solves is real. Installing MCP servers one by one with npx or uvx means running code from many authors directly on your machine, managing an API key for each, and configuring every client separately. With the gateway, you pick servers from the Docker MCP Catalog, they run isolated in containers, secrets are stored by Docker Desktop rather than pasted into JSON files, and every client connects to one endpoint.
Profiles make it practical. A profile is a named set of servers with their configuration and the specific tools you want switched on, such as a dev-tools profile with GitHub and Notion. You can enable or disable individual tools within a server, which helps keep the tool list small. If what you actually want is an agent that runs docker commands, you need a different server; this one is about hosting MCP servers safely.
How it connects
Your AI app
An assistant or agent that supports MCP
Docker MCP Server
Runs as
- Docker
Gives the agent
- Containerised servers
- Profiles
- Per-tool switches
- Secrets and OAuth
- Catalogs and tracing
Docker
The data or system the tools act on
What it can do
- Containerised servers
- Each catalog server runs in an isolated Docker container, and npx and uvx based servers get minimal host privileges.
- Profiles
- docker mcp profile create groups servers into a named profile and can connect it straight to a client, for example with --connect cursor.
- Per-tool switches
- docker mcp profile tools --enable github.create_issue or --disable github.search_code turns individual tools on or off, so the model sees only what you want.
- Secrets and OAuth
- API keys are kept by Docker Desktop's secret store, and built-in OAuth flows handle services that need a login.
- Catalogs and tracing
- You can use Docker's catalog or create your own for your organisation, and the gateway logs and traces tool calls.
Setting it up
The simplest path is Docker Desktop 4.59 or newer with the MCP Toolkit feature turned on, where you can browse the catalog and connect clients from the UI. The CLI works too: create a profile with docker mcp profile create --name dev-tools --server catalog://mcp/docker-mcp-catalog/github, then start the gateway with docker mcp gateway run --profile dev-tools. By default the gateway speaks stdio; for clients that need HTTP, run docker mcp gateway run --port 8080 --transport streaming. Run docker mcp --help to see the profile, catalog, secret and tool commands.
Where each client keeps its MCP config file, and the JSON it expects (cheat sheet)
Where it helps
- Running several third-party MCP servers without installing their code directly on your machine
- Sharing one set of servers and credentials across Cursor, Claude and VS Code
- Giving a team a curated internal catalog of approved MCP servers
- Trimming a large server down to the handful of tools you actually use
Limitations and things to watch
- It is a host for MCP servers, not a tool for managing your own containers.
- The smoothest experience depends on Docker Desktop and its MCP Toolkit feature.
- Container isolation limits what a server can touch on your machine, but not what it can do with the credentials you give it.
- Catalog servers are written by many vendors and individuals; quality and maintenance vary.
Sources
Written from the project's own documentation, checked November 2026.
- github.com /docker/mcp-gateway
- hub.docker.com /mcp
- docs.docker.com /ai/mcp-catalog-and-toolkit/toolkit
- docs.docker.com /ai/mcp-catalog-and-toolkit/mcp-gateway
How we research: where our facts come from, how often we re-check them, and why no one can pay for a review or a verdict.