Docker MCP Toolkit Cheatsheet
Discover, install, and manage Model Context Protocol servers from the Docker MCP Catalog.
What it is
Use the MCP Toolkit when wiring AI agents (Claude, Cursor, VS Code, etc.) to real tools — databases, APIs, file systems — via standardized MCP servers run as containers.
Installation
Enable in Docker Desktop → Settings → Beta features → 'Docker MCP Toolkit', or via `docker mcp feature enable docker-mcp-toolkit`.
Quick start
docker mcp feature listCheck which MCP features are enabled.
docker mcp catalog server lsBrowse available MCP servers in the catalog.
docker mcp profile create devCreate a profile to group servers and secrets.
docker mcp profile server add dev githubAdd a catalog server to the profile.
docker mcp toolsList the tools exposed by enabled servers.
Common commands
| Task | Command | Description |
|---|---|---|
| List feature flags | | Shows MCP toolkit/gateway feature status. |
| Enable a feature | | Turn on toolkit or gateway. |
| Browse catalog | | Catalog of curated MCP servers. |
| Show catalog server detail | | Description, tools, required secrets. |
| Create profile | | A profile bundles servers + secrets. |
| List profiles | | Shows configured profiles. |
| Add server to profile | | Wires a catalog server into the profile. |
| Set a secret | | Stores a secret used by MCP servers. |
| List exposed tools | | Tools available to MCP clients. |
Useful flags
| Flag | Example | Meaning |
|---|---|---|
| --profile | | Scope the command to a profile. |
| --json | | Machine-readable output. |
| --from-env | | Read the value from an env var instead of arg. |
Real-world examples
Enable toolkit and add GitHub MCP server
docker mcp feature enable docker-mcp-toolkit
docker mcp profile create dev
docker mcp secret set GITHUB_TOKEN ghp_xxx
docker mcp profile server add dev github
docker mcp tools --profile devInspect a server before installing
docker mcp catalog server show postgresBest practices
- Use one profile per client (Claude vs Cursor) to keep tool surfaces minimal.
- Store secrets via `docker mcp secret set`, never inline in profile configs.
- Periodically `docker mcp catalog server ls` to pick up new servers and updates.
- Disable unused servers — every enabled tool widens the agent's blast radius.
Troubleshooting
Client shows no MCP tools
Ensure the gateway is running and the client points at it.
docker mcp gateway runServer fails to start
Inspect the catalog entry for required secrets.
docker mcp catalog server show <server>Permission errors hitting a tool
Confirm the secret is set and scoped to the profile.
docker mcp secret list