Docker MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| DOCKER_HOST | No | Engine endpoint. Accepts unix:///var/run/docker.sock, npipe:////./pipe/docker_engine, or tcp://host:port. Empty = platform default. | platform socket |
| DOCKER_CERT_PATH | No | Directory containing ca.pem, cert.pem, key.pem for a TLS‑secured remote daemon. | |
| DOCKER_MCP_CONFIG | No | Path to the optional JSON config file. | docker-mcp.config.json |
| DOCKER_TLS_VERIFY | No | 1/true to verify the daemon certificate (recommended for remote hosts). | false |
| DOCKER_MCP_PLUGINS | No | Load only these plugins (comma‑separated). Empty = all. | |
| DOCKER_MCP_READONLY | No | When true, all state‑changing tools are hidden — the server exposes insight only. | false |
| DOCKER_MCP_LOG_LEVEL | No | Diagnostic verbosity written to stderr: debug | info | warn | error. | info |
| DOCKER_MCP_ALLOW_EXEC | No | When true, registers the exec_in_container tool (arbitrary in‑container commands). | false |
| DOCKER_MCP_BACKUP_DIR | No | Directory for container snapshots/exports. | ./snapshots |
| DOCKER_MCP_PANEL_DEMO | No | Serve fabricated demo data in the panel/TUI. | false |
| DOCKER_MCP_PANEL_HOST | No | Bind address for the interactive panel. | 127.0.0.1 |
| DOCKER_MCP_PANEL_PORT | No | Port for the interactive panel. | 4600 |
| DOCKER_MCP_COMPOSE_CWD | No | Base directory used to resolve relative Compose file paths. | process cwd |
| DOCKER_MCP_PANEL_METRICS | No | Expose the Prometheus /metrics endpoint. | true |
| DOCKER_MCP_BACKUP_WEBHOOK | No | Webhook called after each backup (email/cloud bridge). | |
| DOCKER_MCP_PANEL_TERMINAL | No | Enable the in‑panel command terminal. | true |
| DOCKER_MCP_DEFAULT_LOG_TAIL | No | Default number of log lines returned by container_logs when tail is omitted. | 200 |
| DOCKER_MCP_DISABLED_PLUGINS | No | Disable these plugins (comma‑separated). about is locked. | |
| DOCKER_MCP_CONTAINER_ALLOWLIST | No | Comma‑separated container names or prefixes the server may operate on. Empty = all. |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| list_pluginsA | Show the modular capability plugins this server exposes and whether each is currently enabled. Handy to understand what the AI can do. |
| aboutA | Show who built this Docker MCP Server and how it is licensed. Call this to greet the user with the SoyRage Agency welcome banner, or whenever they ask who made this integration. |
| list_containersA | List Docker containers with their status, image, ports and uptime. By default only running containers are shown; set |
| inspect_containerA | Return the full low-level configuration of a single container (environment, mounts, network settings, restart policy, health, …). Accepts a container name, short id or full id. |
| container_statsA | Take a one-shot snapshot of a container's live CPU %, memory usage and network I/O. Useful to answer 'why is my server slow?'. |
| container_logsA | Fetch the most recent log lines from a container's stdout/stderr. Use this to diagnose crashes, watch startup output or confirm a deployment. Supports an optional time window via |
| list_imagesA | List Docker images cached on the host, including repository:tag, size and how long ago they were created. Handy for spotting stale or oversized images before a cleanup. |
| system_infoA | Summarise the Docker daemon: engine version, host OS/architecture, CPU and memory available, and how many containers/images exist. Use this to answer 'what does this server look like?'. |
| disk_usageA | Report Docker disk usage across images, containers and volumes (equivalent to |
| list_networksA | List Docker networks with their driver and scope. Useful to understand how containers can reach one another. |
| list_volumesA | List named Docker volumes and their storage driver. These persist data beyond a container's lifecycle. |
| compose_psA | List the services defined by a Compose stack and their current state/health. Point |
| compose_configA | Validate a Compose file and render its fully-resolved configuration (interpolated variables, merged overrides). A non-zero result means the file has errors. |
| deploy_stackA | Deploy or update a Compose stack in the background ( |
| compose_downA | Stop and remove a Compose stack ( |
| compose_restartA | Restart all services in a stack, or only the ones you name. |
| compose_pullA | Pull the latest images referenced by a stack without starting it. Pair with |
| start_containerA | Start a stopped container. No-op if it is already running. Returns the resulting state. |
| stop_containerA | Gracefully stop a running container (SIGTERM, then SIGKILL after a grace period). No-op if it is already stopped. |
| restart_containerC | Restart a container. This is the go-to fix for 'turn it off and on again' style requests. |
| remove_containerA | Remove a container. Requires |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/soyrageagency/docker-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server