Skip to content

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

Docker 14 min read How-to mediumAdept

How to add MCP Servers to Gemini CLI with Docker MCP Toolkit

Gemini CLI can be connected to Docker MCP Toolkit so it can drive containerized MCP servers from the terminal. Connecting is either one click in Docker Desktop or `docker mcp client connect gemini --global`, which adds a Docker MCP Gateway entry to `~/.gemini/settings.json`. A demo pairs Playwright, GitHub and Filesystem MCP servers to automatically browser-test a sample Node e-commerce catalog app, finding performance and accessibility issues, saving screenshots and filing a GitHub issue. The claimed payoff is cutting a roughly 20-minute manual test-and-report cycle to about 30 seconds.

Assumes: Docker DesktopModel Context Protocol basicsnpm

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 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.

  • 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 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.

  • Simplify AI Development with the Model Context Protocol and Docker

    Docker mediumAdept

    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. For uv-based Python or npm TypeScript servers, drop in a template Dockerfile, create a buildx builder with the docker-container driver, and push a multi-platform image for linux/amd64 and linux/arm64. Multi-platform builds matter because most MCP servers still run locally over stdio. Users then add a `docker run -i --rm --pull=always` entry to claude_desktop_config.json.

The quest for software engineering knowledge.

Look:
Layout: