---
title: "Docker MCP Gateway: setup for Claude, Cursor, Codex · DotsAgent"
description: "Runs servers from Docker's MCP catalogue in containers behind one gateway endpoint. Set up Docker MCP Gateway in 13 MCP clients."
url: https://dotsagent.io/mcp/servers/docker-mcp-gateway
---

Dev tools · Docker

# Set up Docker MCP Gateway

Runs servers from Docker's MCP catalogue in containers behind one gateway endpoint.

- **Publisher**: Docker Official
- **Run locally**: `docker mcp gateway run`
- **Transports**: stdio, sse, streamable-http
- **Authentication**: Secrets are stored and supplied by Docker Desktop; docker mcp client connect <client> wires up a client.
- **What it can touch**: Whatever the servers you enable can do.
- **Licence**: MIT
- **Source**: [github.com/docker/mcp-gateway](https://github.com/docker/mcp-gateway)
- **Status**: Active

## Install

This server runs on your machine as a child process of the client. You need the runtime its command uses, such as Node.js for npx, uv for uvx or Docker, plus any variables listed under Environment.

### Claude Code

`shell`

```
claude mcp add --scope project docker-mcp-gateway -- docker mcp gateway run
```

### Cursor

`.cursor/mcp.json`

```
{
  "mcpServers": {
    "docker-mcp-gateway": {
      "command": "docker",
      "args": [
        "mcp",
        "gateway",
        "run"
      ]
    }
  }
}
```

### Codex

`~/.codex/config.toml`

```
[mcp_servers.docker-mcp-gateway]
command = "docker"
args = ["mcp", "gateway", "run"]
```

[Config for other clients →](https://dotsagent.io/mcp/config#add=docker-mcp-gateway)

## Other servers in dev tools

- [Everything](https://dotsagent.io/mcp/servers/everything): Reference test server from the MCP project that exposes every protocol feature, for checking that a client works.

- [Git](https://dotsagent.io/mcp/servers/git): Works with a local Git repository from the agent: status, diffs, history, branches and commits, on a repo path you choose.

- [GitHub](https://dotsagent.io/mcp/servers/github): GitHub's own server for repos, issues, pull requests, Actions and code search, with switchable toolsets.

- [GitLab](https://dotsagent.io/mcp/servers/gitlab): GitLab's built-in endpoint for issues, merge requests, pipelines and search, with selectable toolsets.

- [Figma](https://dotsagent.io/mcp/servers/figma): Feeds coding agents frames, variables and components from Figma files so the code they write matches the design.

- [Context7](https://dotsagent.io/mcp/servers/context7): Pulls current, version-specific library docs and code examples into the prompt. Hosted, with an optional API key.

## Sources

1. [github.com](https://github.com/docker/mcp-gateway)/docker/mcp-gateway

Independent reference for people who build AI agents. Not affiliated with any vendor named here.

© 2026 DotsAgent · Facts checked October 1, 2026
