Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
DOCKER_HOSTNoEngine endpoint. Accepts unix:///var/run/docker.sock, npipe:////./pipe/docker_engine, or tcp://host:port. Empty = platform default.platform socket
DOCKER_CERT_PATHNoDirectory containing ca.pem, cert.pem, key.pem for a TLS‑secured remote daemon.
DOCKER_MCP_CONFIGNoPath to the optional JSON config file.docker-mcp.config.json
DOCKER_TLS_VERIFYNo1/true to verify the daemon certificate (recommended for remote hosts).false
DOCKER_MCP_PLUGINSNoLoad only these plugins (comma‑separated). Empty = all.
DOCKER_MCP_READONLYNoWhen true, all state‑changing tools are hidden — the server exposes insight only.false
DOCKER_MCP_LOG_LEVELNoDiagnostic verbosity written to stderr: debug | info | warn | error.info
DOCKER_MCP_ALLOW_EXECNoWhen true, registers the exec_in_container tool (arbitrary in‑container commands).false
DOCKER_MCP_BACKUP_DIRNoDirectory for container snapshots/exports../snapshots
DOCKER_MCP_PANEL_DEMONoServe fabricated demo data in the panel/TUI.false
DOCKER_MCP_PANEL_HOSTNoBind address for the interactive panel.127.0.0.1
DOCKER_MCP_PANEL_PORTNoPort for the interactive panel.4600
DOCKER_MCP_COMPOSE_CWDNoBase directory used to resolve relative Compose file paths.process cwd
DOCKER_MCP_PANEL_METRICSNoExpose the Prometheus /metrics endpoint.true
DOCKER_MCP_BACKUP_WEBHOOKNoWebhook called after each backup (email/cloud bridge).
DOCKER_MCP_PANEL_TERMINALNoEnable the in‑panel command terminal.true
DOCKER_MCP_DEFAULT_LOG_TAILNoDefault number of log lines returned by container_logs when tail is omitted.200
DOCKER_MCP_DISABLED_PLUGINSNoDisable these plugins (comma‑separated). about is locked.
DOCKER_MCP_CONTAINER_ALLOWLISTNoComma‑separated container names or prefixes the server may operate on. Empty = all.

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
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 all to include stopped ones. This is the best starting point to understand what is deployed on the host.

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 since.

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 docker system df), highlighting reclaimable space.

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 file at the compose file or its directory.

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 up -d). Optionally rebuild images and/or scope to specific services. This is the one-shot 'ship it' action.

compose_downA

Stop and remove a Compose stack (compose down). Set removeVolumes to also delete named volumes — destructive.

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 deploy_stack to perform a rolling update.

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 force to remove a running one. This is destructive and cannot be undone — prefer stopping first.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

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