Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

Docker 9 min read How-to mediumAdept

How to add MCP Servers to OpenAI’s Codex with Docker MCP Toolkit

Docker MCP Toolkit connects OpenAI's Codex to MCP servers from Docker's catalog, here the Neo4j Cypher and Neo4j Data Modeling servers. The setup is short: add both servers in Docker Desktop, run `docker mcp-client configure codex`, have Codex start a Neo4j container, then enter the connection URL and password in the Cypher server's config. In the demo, gpt-5-codex scrapes Generation I Pokémon data with Python, iterates until its graph model passes the Data Modeling server's validation, loads the data and answers analytical questions through Cypher. The result can be explored in the Neo4j browser console.

Assumes: Docker DesktopModel Context Protocol basicsNeo4j and Cypher basics

Related posts

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

    Docker mediumAdept

    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.

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

    Docker mediumAdept

    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.

  • Dynamic MCPs with Docker: Stop Hardcoding Your Agents’ World

    Docker mediumAdept

    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. The gateway can also hide added servers' tool definitions from tools/list so they stay discoverable without bloating the context window. A code-mode tool lets agents write JavaScript that composes tools from several MCP servers inside a Docker sandbox, keeping intermediate results out of the model and cutting per-turn token usage. The features ship in Docker Desktop 4.50 and are on by default, and cagent can expose such agents to ACP-enabled editors like Zed and Neovim.

  • How to Add MCP Servers to Claude Code with Docker MCP Toolkit

    Docker mediumAdept

    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`. The guide covers setting up the Atlassian (Jira), GitHub (OAuth or personal access token) and Filesystem (scoped paths) servers. It then walks through a demo where Claude Code scans a Node.js codebase for TODO/FIXME comments, runs git blame, assigns priority by keyword and bulk-creates Jira tickets. Docker claims this cuts a 20–30 minute manual task to about 2 minutes.

  • Building AI Agents with Docker MCP Toolkit: A Developer’s Real-World Setup

    Docker mediumAdept

    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. The gateway lists files, fetches content and searches code, and GPT-4o reasons over the results. Setup takes a few commands: store a GitHub token with `docker mcp secret set`, run `docker compose up`, then run app.py. The main argument is that containerized MCP connectors keep integration code out of the agent and give consistent environments, and new tools such as Jira or Slack can be added as extra Compose services.

The quest for software engineering knowledge.

Look:
Layout: