Reference

Docker MCP Toolkit Profile Setup

A compact CLI reference for creating a Docker MCP profile and wiring it into a client

A short companion page for the MCP article. It keeps Docker MCP profile commands available without turning the post itself into CLI documentation.

Why This Exists

The article argues that Docker MCP Toolkit is useful plumbing, but not the trust model. This page keeps the setup commands nearby for readers who want to try the plumbing without interrupting the main essay.

You still need Docker Desktop with MCP Toolkit enabled. OAuth-capable servers may also need account authorization in Docker Desktop after they are added to a profile.

Create A Profile

# Check that the Docker MCP CLI is available.
docker mcp --help

# Create a profile that groups the MCP servers for one workspace.
docker mcp profile create --name promet

# Confirm the profile exists.
docker mcp profile list
docker mcp profile show promet

Add Servers

# Browse the Docker MCP catalog and find the server IDs you want.
docker mcp catalog server ls mcp/docker-mcp-catalog

# Add one or more catalog servers to the profile.
# Replace <server-id> with the ID shown by Docker Desktop or the catalog command.
docker mcp profile server add promet \
  --server catalog://mcp/docker-mcp-catalog/<server-id>

# Check which servers are assigned to the profile.
docker mcp profile server ls --filter profile=promet

A profile groups server configuration. It does not mean every advertised function should be routed into an assistant's model-visible tool manifest.

Run The Gateway

# Run the gateway for a client that connects over stdio.
docker mcp gateway run --profile promet

Omitting --profile uses Docker MCP's default profile. I prefer naming a profile explicitly when the setup belongs to a specific workspace or assistant.

Manual Client Configuration

{
  "servers": {
    "MCP_DOCKER": {
      "command": "docker",
      "args": ["mcp", "gateway", "run", "--profile", "promet"],
      "type": "stdio"
    }
  }
}

Supported Named Clients

docker mcp client connect <client> --profile promet

For example, Docker documents docker mcp client connect vscode --profile my-project for VS Code.

Product Boundary

  • Docker MCP can make servers visible and runnable.
  • The assistant harness should still decide what becomes model-visible.
  • Read-only functions, write actions, approvals, audit, and evidence shaping remain product decisions.