Docker MCP Gateway

The docker mcp CLI plugin and gateway: MCP servers from Docker's catalog in isolated containers behind one connection point

  • 1,616 ★ on the repository
  • Last commit
  • MIT
MCP serverOfficialEditors’ pick

Broad access

Why this level

  • Runs third-party MCP servers in containers
  • Stores secrets and OAuth tokens for connected services
All reasons and checks

docker/mcp-gateway

Install

Manual install

docker mcp gateway run

The plugin ships with recent Docker Desktop. The gateway runs over stdio with the default profile.

Access and checks

How we review

Broad accessThe tool can change data, run commands or handle secrets.

  • Runs third-party MCP servers in containers
  • Stores secrets and OAuth tokens for connected services

This is third-party code. Review the repository files before installing.

What it does

This is the code of the docker mcp plugin behind the MCP Toolkit in Docker Desktop. Each local server runs in its own container, and clients connect to a single gateway that routes calls. Servers are grouped into profiles that can be connected to Cursor or Claude Code, exported and pushed to an OCI registry. Secrets live in Docker Desktop's secret store, with built-in OAuth flows, tool allowlists and call logging. You can build your own catalogs, including from the open MCP registry.

Who it is for. For developers and DevOps engineers who run many MCP servers and want them isolated with centralized setup.

Good fit when

  • You don't want to run third-party npx and uvx servers directly on the host
  • One set of servers must work across several clients
  • You want to share a server profile with the team through a registry

Not a fit when

  • You need a single remote HTTP server that connects in one line
  • Docker is unavailable or disallowed on the machine

Example request

Create a dev-tools profile with GitHub and Notion servers from the Docker catalog and connect it to Claude Code

MCP

Transport
stdio, http, sse
Authentication
not required

Environment variables

DOCKER_MCP_IN_CONTAINER
1 bypasses Docker Desktop checks in WSL2, Docker CE and containers
CLAUDE_CONFIG_DIR
Alternate Claude Code config directory when connecting the client

Limitations

Requires Docker Desktop 4.59 or newer with MCP Toolkit enabled; without Desktop some features need flags. Building from source needs Go. Docker Hub has restricted access from Russia, so pulling catalog images without a VPN may fail.

How to disable. Disconnect the client with docker mcp client disconnect <client-name>, delete profiles with docker mcp profile remove, and turn off MCP Toolkit in Docker Desktop settings.

FAQ

Can I use it without Docker Desktop?

Yes, in Docker CE, WSL2 or a container set DOCKER_MCP_IN_CONTAINER=1 and enable profiles with docker mcp feature enable profiles.

How do I restrict a server's tools?

Use docker mcp profile tools with --enable and --disable for specific tools.

Discussion

No questions or reviews yet.

MCP server for managing Docker in natural language: containers, images, networks and volumes, including remote hosts over SSH

MCP serverBroad access749Repository stars

A self-hosted gateway that merges several MCP servers into one endpoint with auth and tool selection

MCP serverBroad access2.7KRepository stars

Docker MCP: an agent creates containers, deploys Docker Compose stacks from YAML, reads logs and lists containers. Runs through uvx for Claude Desktop

MCP serverBroad access504Repository stars
Official

Official Docker MCP server: image search, tags, repositories and Docker Hardened Images on Docker Hub

MCP serverExtended access171Repository stars

A proxy between MCP transports: connects stdio clients to remote SSE and HTTP servers and exposes local servers over the network

MCP serverExtended access2.8KRepository stars

MCP Gateway Registry

mcp-gateway-registry

One registry and gateway for MCP servers, agents and skills: shared login, OAuth, audit, OpenTelemetry. Community project for Docker and cloud

MCP serverBroad access1KRepository stars

README in short

The README explains how the plugin relates to MCP Toolkit and Docker MCP Catalog and lists features and requirements. It details commands for profiles, servers within profiles, configuration, tool allowlists, catalogs, running the gateway, connecting clients, secrets and OAuth. It closes with the gateway architecture and the CLAUDE_CONFIG_DIR variable. MIT licensed.

README badge

Report a problem

Foxx AIDocker MCP Gateway
Foxx AI

I am Foxx AI and I have already vetted this tool. Ask about install, setup or anything else, and I will keep it simple.