Get started with Docker MCP Toolkit
Docker Model Context Protocol (MCP) Toolkit makes it easy to set up, manage, and run containerized MCP servers, and connect them to AI agents. It provides secure defaults, one-click setup, and support for a growing ecosystem of LLM-based clients. This page shows you how to get started quickly with the Docker MCP Toolkit.
Requirements
Before you begin, make sure you meet the following requirements to get started with Docker MCP Toolkit.
Download and install Docker Desktop
- Install Docker Desktop version 4.42.0 and later.
- To try the MCP Toolkit Learning center walkthrough, you must install Docker Desktop version 4.46.0 and later.
Enable Docker MCP Toolkit
- Open the Docker Desktop settings and select Beta features.
- Select Enable Docker MCP Toolkit.
- Select Apply.
There are multiple ways to get started with Docker MCP Toolkit. You can:
- Try the Learning center walkthrough in Docker Desktop, available in Docker Desktop version 4.46.0 and later.
- Alternatively, follow the step-by-step instructions on this page to use Docker Desktop or the CLI to Install an MCP server, add a client, and test your setup with example prompts.
Learning center
The Learning center in Docker Desktop provides walkthroughs and resources to help you get started with Docker products and features.
On the MCP Toolkit page, Docker Desktop shows the Get started walkthrough that guides you through installing an MCP server, connecting a client, and testing your setup.
Install an MCP server
In Docker Desktop, select MCP Toolkit and select the Catalog tab.
Search for the GitHub Official server from the catalog and then select the plus icon to add it.
In the GitHub Official server page, select the Configuration tab and select OAuth.
NoteThe type of configuration required depends on the server you select. For the GitHub Official server, you must authenticate using OAuth.
Your browser opens the GitHub authorization page. Follow the on-screen instructions to authenticate via OAuth.
Return to Docker Desktop when the authentication process is complete.
Search for the Playwright server from the catalog and add it.
Add the GitHub Official MCP server. Run:
$ docker mcp server enable github-official
Authenticate the server by running the following command:
$ docker mcp oauth authorize github
NoteThe type of configuration required depends on the server you select. For the GitHub Official server, you must authenticate using OAuth.
Your browser opens the GitHub authorization page. Follow the on-screen instructions to authenticate via OAuth.
Add the Playwright server. Run:
$ docker mcp server enable playwright
You’ve now successfully added an MCP server. Next, install an MCP client and test your setup with an example prompt.
Install an MCP client and test your setup
After you've installed MCP servers, you can add clients to the MCP Toolkit. These clients can interact with the installed MCP servers, turning the MCP Toolkit into a gateway. In the following section, let’s add the Claude Desktop client.
In Docker Desktop, select MCP Toolkit and select the Clients tab.
Find Claude Desktop and select Connect.
If Claude Desktop isn't installed, select Download to install it, then select Connect.
Restart Claude Desktop if it's running, and it can now access all the servers in the MCP Toolkit.
Open Claude Desktop and run a test by submitting the following prompt using the Sonnet Opus 4.1 model:
Take a screenshot of the header element on docs.docker.com
Claude prompts you for permissions and shares a screenshot of the header element from the Docker documentation page.
In a terminal window, run the following commands to connect the Claude Desktop client:
$ docker mcp client connect claude-desktop --global
Restart Claude Desktop if it's running, and it can now access all the servers in the MCP Toolkit.
Open Claude Desktop and run a test by submitting the following prompt using the Sonnet 4 model:
Take a screenshot of the header element on docs.docker.com
Claude prompts you for permissions and shares a screenshot of the header element from the Docker documentation page.