How to set up the Docker MCP Toolkit and Gateway in Claude
- Enable the MCP Toolkit in Docker Desktop and create a profile with the servers you need.
- Replace YOUR_PROFILE with its profile ID and run the connection command from your project.
- Run claude mcp list and check that MCP_DOCKER is connected.
docker mcp client connect claude-code --profile YOUR_PROFILE{
"mcpServers": {
"MCP_DOCKER": {
"command": "docker",
"args": [
"mcp",
"gateway",
"run",
"--profile",
"YOUR_PROFILE"
]
}
}
}Connect one profile to one project
Docker MCP Toolkit groups servers and their settings into profiles. Claude connects to the Gateway, which manages the configured servers. This is useful when several projects need different tools and you want to check exactly which profile is in use.
Check the tools before using the profile
Create a profile for a sample project with only your chosen documentation server. Connect Claude and check that MCP_DOCKER is listed as connected. Ask the documentation server for one known page and compare its title. If an unrelated tool appears, inspect the profile before doing other work.
Know which component runs what
The Toolkit is integrated into Docker Desktop. The Gateway runs the servers for the configured profile. A profile still needs the individual server’s permissions and credentials if that server requires them.