Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
list_containersB

List Docker containers with optional filters (state, label, name). Returns container IDs, names, images, states, ports, and labels.

inspect_containerA

Get detailed configuration and state of a Docker container by ID or name.

start_containerA

Start a stopped Docker container by ID or name.

stop_containerA

Stop a running Docker container by ID or name with optional timeout.

restart_containerC

Restart a Docker container by ID or name with optional timeout.

remove_containerA

Remove a Docker container by ID or name. Use force to remove running containers.

recreate_containerA

Recreate a container with the same configuration (stop, remove, re-create). Useful for applying config changes.

run_containerB

Create and start a new Docker container with one command. Supports image, env, ports, volumes, restart policy, and command override.

list_imagesA

List Docker images with optional filters. Returns image IDs, tags, sizes, and creation dates.

pull_imageB

Pull a Docker image from a registry. Returns pull progress events.

build_imageB

Build a Docker image from a Dockerfile or build context path.

remove_imageA

Remove a Docker image by name or ID. Use force to remove even if tagged.

compose_upB

Bring up Docker Compose services from a docker-compose.yml file. Optionally build images first.

compose_downB

Tear down Docker Compose services. Optionally remove named volumes.

compose_psB

List service states across a Docker Compose stack.

compose_logsC

Tail logs from Docker Compose services. Supports filtering by service and line count.

compose_restartA

Restart Docker Compose services. Restart specific services or the entire stack.

check_healthB

Run a health probe against a container. Supports HTTP, TCP, and exec probes. Auto-detects from container HEALTHCHECK if available.

watch_healthA

Poll a container's health status until it becomes healthy or times out. Useful for waiting on service startup.

set_restart_policyB

Change the restart policy of a running container without recreating it.

stream_logsC

Get logs from a Docker container. Supports tail count, timestamp filtering, and follow mode.

container_statsB

Get real-time resource usage statistics for a Docker container (CPU, memory, network, I/O).

exec_in_containerA

Execute a command inside a running Docker container. Returns stdout, stderr, and exit code.

list_networksA

List Docker networks with optional filter. Returns network IDs, names, drivers, and scopes.

list_volumesA

List Docker volumes with optional filter. Returns volume names, drivers, mount points, and labels.

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/friendlygeorge/docker-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server