Docker MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| DOCKER_HOST | No | Host URL for connecting to a Docker daemon, e.g. an ssh:// URL to connect to a remote Docker daemon over SSH. | |
| MCP_SERVER_DOCKER_READ_ONLY | No | Set to 1 to run the server in read-only mode, exposing only tools annotated with readOnlyHint=true. Equivalent to the --read-only CLI flag. |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| docker_list_containersA | List all Docker containers (same container set as |
| docker_create_containerC | Create a new Docker container |
| docker_run_containerA | Run an image in a new Docker container (preferred over |
| docker_recreate_containerA | Stop and remove a container, then run a new container. With preserve_configuration, rebuild from the inspected configuration and restore the original if replacement creation fails. |
| docker_start_containerC | Start a Docker container |
| docker_fetch_container_logsC | Fetch logs for a Docker container |
| docker_stop_containerB | Stop a Docker container |
| docker_remove_containerC | Remove a Docker container |
| docker_container_inspectB | Inspect a Docker container with environment values redacted |
| docker_container_healthB | Summarise container health, restart count and exit state without environment values |
| docker_container_processesC | List the processes running in a Docker container |
| docker_container_statsA | Show a one-shot CPU, memory, network and block-IO snapshot for a container |
| docker_list_imagesC | List Docker images |
| docker_pull_imageC | Pull a Docker image |
| docker_push_imageC | Push a Docker image |
| docker_build_imageC | Build a Docker image from a Dockerfile |
| docker_remove_imageC | Remove a Docker image |
| docker_image_inspectB | Inspect a Docker image with environment values redacted |
| docker_image_historyC | Show the layer history of a Docker image |
| docker_buildx_listB | List Docker Buildx builder instances |
| docker_buildx_duB | Show Docker Buildx cache usage per builder |
| docker_buildx_inspectC | Inspect a Docker Buildx builder instance |
| docker_buildx_historyC | List Docker Buildx build records |
| docker_buildx_logsC | Show the logs of a Docker Buildx build record |
| docker_system_dfA | Show Docker disk usage, including reclaimable space |
| docker_events_listB | List recent Docker events for a bounded window, newest first |
| docker_list_networksC | List Docker networks |
| docker_create_networkC | Create a Docker network |
| docker_remove_networkC | Remove a Docker network |
| docker_network_inspectB | Inspect a Docker network with environment values redacted |
| docker_list_volumesC | List Docker volumes |
| docker_create_volumeB | Create a Docker volume |
| docker_remove_volumeC | Remove a Docker volume |
| docker_volume_inspectA | Inspect a Docker volume with environment values redacted |
| docker_versionA | Show the Docker server version |
| docker_system_infoB | Show curated Docker host and storage-driver diagnostics |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
| docker_compose | Treat the LLM like a Docker Compose manager |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 36 tools
Each tool pairs a Docker resource with a distinct action, and descriptions clarify borderline cases (e.g., docker_run_container is explicitly 'preferred over create+start'). The only mild overlaps are docker_system_df vs docker_system_info vs docker_version and inspect vs health/stats/processes, but these resolve cleanly.
All tools use snake_case with a consistent docker_ prefix, making them predictable. There is a minor ordering inconsistency where some tools are verb_noun (docker_list_images, docker_remove_image) and others noun_verb (docker_image_inspect, docker_container_health), but grouping remains readable.
36 tools is on the heavy side (25+), though the breadth largely reflects Docker's genuinely wide surface across containers, images, networks, volumes, buildx, and system. Most tools earn their place, but a few could be consolidated (e.g., system_df/info, image history) to reduce the surface.
Coverage is strong: full container lifecycle (create/run/start/stop/remove/recreate/logs/stats/inspect), image build/pull/push/list/remove, and volume/network CRUD. Notable gaps include container exec, restart/pause, image tag, and network connect/disconnect, but agents can work around most of these.