---
title: "How to Add MCP Servers to ChatGPT with Docker MCP Toolkit"
description: "Docker MCP Toolkit lets ChatGPT's Developer Mode call real tools by running MCP servers in isolated containers behind a Docker MCP Gateway exposed to ChatGPT via an ngrok tunnel."
url: "https://swe.quest/articles/how-to-add-mcp-servers-to-chatgpt-with-docker-mcp-toolkit-8e8db1704dea266e"
canonical: "https://www.docker.com/blog/add-mcp-server-to-chatgpt/"
source: "Docker"
published: "2025-12-12"
difficulty: "medium"
kind: "How-to"
reading_minutes: 21
tags: ["ai-agents","containers","llms"]
---

# How to Add MCP Servers to ChatGPT with Docker MCP Toolkit

A post on [Docker](https://swe.quest/sources/docker.md), published 2025-12-12, 21 min read, How-to. Original: [https://www.docker.com/blog/add-mcp-server-to-chatgpt/](https://www.docker.com/blog/add-mcp-server-to-chatgpt/)

## Summary

Docker MCP Toolkit lets ChatGPT's Developer Mode call real tools by running MCP servers in isolated containers behind a Docker MCP Gateway exposed to ChatGPT via an ngrok tunnel. The guide walks through initializing a gateway from the chatgpt-app-basic template, running it with Docker Compose on port 8811 with streaming transport, and registering it as a custom connector. It then configures seven servers (Firecrawl, SQLite, Stripe, GitHub, Node.js Sandbox, Sequential Thinking, Context7) to build a competitive repricing agent that scrapes competitor prices, updates Stripe prices, logs decisions to SQLite and pushes audit reports to GitHub.

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)
- [LLMs](https://swe.quest/tags/llms.md) (AI & ML)

## Prerequisites

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

## Keywords

Docker MCP Toolkit, Model Context Protocol, ChatGPT Developer Mode, Docker MCP Gateway, ngrok, Stripe, Firecrawl, SQLite

## Related posts

- [How to add MCP Servers to Claude Desktop with Docker MCP Toolkit](https://swe.quest/articles/how-to-add-mcp-servers-to-claude-desktop-with-docker-mcp-toolkit-2bef3464ab3fe16c.md): Docker · 2025-10-27 · Medium · 18 min read · AI agents, Containers, AI for coding, Developer tools
  Docker Desktop's MCP Toolkit connects Claude Desktop to containerized MCP servers through a single claude\_desktop\_config.json entry that runs \`docker mcp gateway run\`, a gateway that routes tool calls from Claude to whichever servers are enabled.
- [Building AI Agents with Docker MCP Toolkit: A Developer’s Real-World Setup](https://swe.quest/articles/building-ai-agents-with-docker-mcp-toolkit-a-developer-s-real-world-setup-988aee07496da75c.md): Docker · 2025-08-19 · Medium · 6 min read · AI agents, Containers, LLMs
  A GitHub repository question-answering agent is built by running the GitHub MCP Gateway (docker/mcp-gateway) as a container under Docker Compose and connecting a Python agent to it over streamable-http via MCPTools.
- [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.
- [Using MCP Servers: From Quick Tools to Multi-Agent Systems](https://swe.quest/articles/using-mcp-servers-from-quick-tools-to-multi-agent-systems-25a421c78bb6b492.md): Docker · 2026-01-22 · Easy · 6 min read · AI agents, Containers, LLMs
  Containerizing MCP servers addresses three practical problems: language runtime sprawl, secret injection, and N×N client-to-server wiring.
- [How to Add MCP Servers to Claude Code with Docker MCP Toolkit](https://swe.quest/articles/how-to-add-mcp-servers-to-claude-code-with-docker-mcp-toolkit-cc8780c7393c09aa.md): Docker · 2025-10-10 · Medium · 13 min read · AI agents, AI for coding, Developer tools, Containers
  Docker MCP Toolkit lets Claude Code reach containerized MCP servers through a single Docker MCP Gateway entry in a project's .mcp.json, connected with one click in Docker Desktop or via \`docker mcp client connect claude-code\`.

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)
