---
title: "How to add MCP Servers to Claude Desktop with Docker MCP Toolkit"
description: "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."
url: "https://swe.quest/articles/how-to-add-mcp-servers-to-claude-desktop-with-docker-mcp-toolkit-2bef3464ab3fe16c"
canonical: "https://www.docker.com/blog/connect-mcp-servers-to-claude-desktop-with-mcp-toolkit/"
source: "Docker"
published: "2025-10-27"
difficulty: "medium"
kind: "How-to"
reading_minutes: 18
tags: ["ai-agents","containers","ai-coding","developer-tools"]
---

# How to add MCP Servers to Claude Desktop with Docker MCP Toolkit

A post on [Docker](https://swe.quest/sources/docker.md), published 2025-10-27, 18 min read, How-to. Original: [https://www.docker.com/blog/connect-mcp-servers-to-claude-desktop-with-mcp-toolkit/](https://www.docker.com/blog/connect-mcp-servers-to-claude-desktop-with-mcp-toolkit/)

## Summary

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. The guide walks through connecting the client and configuring Firecrawl, GitHub (OAuth or personal access token), Sequential Thinking, Context7 and a Node.js Sandbox. It then demos turning a UI screenshot into a React component with Jest tests pushed to GitHub. The sandbox uses a Docker-out-of-Docker pattern via the mounted Docker socket, which spawns resource-limited ephemeral containers but effectively grants root-level host access, so it is suited to local development only.

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)
- [AI for coding](https://swe.quest/tags/ai-coding.md) (AI & ML)
- [Developer tools](https://swe.quest/tags/developer-tools.md) (Engineering practices)

## Prerequisites

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

## Keywords

Docker MCP Toolkit, Claude Desktop, Model Context Protocol, Docker MCP Gateway, Firecrawl, GitHub MCP, Node.js Sandbox, Context7

## Related posts

- [Simplify AI Development with the Model Context Protocol and Docker](https://swe.quest/articles/simplify-ai-development-with-the-model-context-protocol-and-docker-dd0d17fff0f71854.md): Docker · 2025-01-15 · Medium · 4 min read · Containers, AI agents, LLMs
  MCP servers can be packaged as Docker images so users can attach them to Claude Desktop with nothing but Docker Desktop installed, as Docker already does for Anthropic's reference servers in the Docker Hub mcp namespace.
- [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\`.
- [How to Add MCP Servers to ChatGPT with Docker MCP Toolkit](https://swe.quest/articles/how-to-add-mcp-servers-to-chatgpt-with-docker-mcp-toolkit-8e8db1704dea266e.md): Docker · 2025-12-12 · Medium · 21 min read · AI agents, Containers, LLMs
  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.
- [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.
- [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.

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)
