---
title: "Docker MCP Gateway: Open Source, Secure Infrastructure for Agentic AI"
description: "Docker's MCP Gateway, now open source, is a single enforcement point between AI agents and the MCP servers they call, aggregating multiple containerized servers behind one interface and integrating with Docker Compose."
url: "https://swe.quest/articles/docker-mcp-gateway-open-source-secure-infrastructure-for-agentic-ai-8fe8cf36e09a039e"
canonical: "https://www.docker.com/blog/docker-mcp-gateway-secure-infrastructure-for-agentic-ai/"
source: "Docker"
published: "2025-07-09"
difficulty: "medium"
kind: "Announcement"
reading_minutes: 3
tags: ["ai-agents","containers","security","open-source"]
---

# Docker MCP Gateway: Open Source, Secure Infrastructure for Agentic AI

A post on [Docker](https://swe.quest/sources/docker.md), published 2025-07-09, 3 min read, Announcement. Original: [https://www.docker.com/blog/docker-mcp-gateway-secure-infrastructure-for-agentic-ai/](https://www.docker.com/blog/docker-mcp-gateway-secure-infrastructure-for-agentic-ai/)

## Summary

Docker's MCP Gateway, now open source, is a single enforcement point between AI agents and the MCP servers they call, aggregating multiple containerized servers behind one interface and integrating with Docker Compose. The \`docker mcp\` CLI covers browsing the catalog, storing secrets such as API keys, writing per-server host config, and running gateways that expose chosen servers and a restricted set of tools over transports like SSE. Security interceptors can be switched on at startup to verify container image signatures, block secret-like content in payloads, and log tool calls. It ships in Docker Desktop and works with any community edition of Docker.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [AI agents](https://swe.quest/tags/ai-agents.md) (AI & ML)
- [Containers](https://swe.quest/tags/containers.md) (Infrastructure)
- [Security](https://swe.quest/tags/security.md) (Security)
- [Open source](https://swe.quest/tags/open-source.md) (Engineering practices)

## Prerequisites

- Model Context Protocol basics
- Docker CLI ([easy posts on Containers](https://swe.quest/tags/containers.md?difficulty=easy))

## Keywords

Docker MCP Gateway, Model Context Protocol, Docker MCP Toolkit, Docker MCP Catalog, Docker Compose, Docker Desktop

## Related posts

- [MCP Horror Stories: The Security Issues Threatening AI Infrastructure](https://swe.quest/articles/mcp-horror-stories-the-security-issues-threatening-ai-infrastructure-11571cbab816ae96.md): Docker · 2025-07-31 · Medium · 10 min read · AI agents, Security, Supply chain security, Containers, Sandboxing & isolation
  MCP servers expose AI agents to six recurring vulnerability classes: OAuth discovery flaws (e.g. CVE-2025-6514 in mcp-remote), command injection (reported in 43% of analyzed servers), unrestricted network fetches (33%), file path leakage (22%), tool poisoning (5.5%) and plaintext secret exposure.
- [Dynamic MCPs with Docker: Stop Hardcoding Your Agents’ World](https://swe.quest/articles/dynamic-mcps-with-docker-stop-hardcoding-your-agents-world-a530a7120388ea63.md): Docker · 2025-11-06 · Medium · 11 min read · AI agents, LLMs, Sandboxing & isolation, Containers, Developer tools
  Docker MCP Gateway now exposes primordial tools (mcp-find, mcp-add) that let agents search a curated catalog of 270+ MCP servers, add them to the live session, and trigger OAuth or elicitation flows, instead of hand-editing JSON config and restarting.
- [MCP Security: A Developer’s Guide](https://swe.quest/articles/mcp-security-a-developer-s-guide-ee8f7d25fd64b2f2.md): Docker · 2025-09-16 · Easy · 8 min read · AI agents, Security, Supply chain security, Containers
  MCP servers expand what AI agents can do but introduce risks across four categories: misconfigurations and weak defaults, malicious or compromised servers, secret leakage, and prompt injection or tool poisoning.
- [Securing Model Context Protocol: Safer Agentic AI with Containers](https://swe.quest/articles/securing-model-context-protocol-safer-agentic-ai-with-containers-f3a8a077a2aa77b5.md): Docker · 2025-05-06 · Easy · 9 min read · AI agents, Sandboxing & isolation, Supply chain security, Containers
  Running MCP servers via npx on the host with plaintext environment-variable secrets leaves agentic tooling exposed to supply-chain tampering, credential leakage, and attacks such as rug pulls, tool shadowing, and tool poisoning.
- [Your Org, Your Tools: Building a Custom MCP Catalog](https://swe.quest/articles/your-org-your-tools-building-a-custom-mcp-catalog-9e6e2d7cab0acd03.md): Docker · 2025-10-24 · Medium · 7 min read · AI agents, Containers, Supply chain security, Developer tools
  A private MCP catalog lets an organization restrict which MCP servers developers and AI assistants can reach.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
