Skip to main content
Glama
xenmcp-docker-agent

xenmcp-docker-agent

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
PORTNoPort the agent listens on.8080
XENMCP_AGENT_KEYYesRequired, at least 32 characters; XenMCP sends it as `Authorization: Bearer`.
XENMCP_ALLOW_IPSNoWho may call, comma-separated, CIDR allowed. Behind a proxy on a private address the last `X-Forwarded-For` entry counts.46.225.57.217
XENMCP_CONTAINERSNoOnly these containers, comma-separated, `*` as wildcard (e.g. `shop-*,nginx`).all
XENMCP_MAX_SCAN_MBNoHow much log one search or stream filter reads at most.200

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

Read-only view of the containers on one Docker host: list_containers first, then inspect_container, container_logs (time windows and text search), container_stats and recent_events. Nothing can be started, stopped or changed.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
docker_infoB

Docker version, operating system, CPUs, memory and the number of containers and images.

list_containersA

Containers with image, state, status (uptime), ports and compose project. Stopped ones too unless running_only.

inspect_containerB

State, exit code, OOM kill, restart count and policy, health check, limits, log driver, mounts and networks of one container. Never its environment variables.

container_logsA

Log lines of one container with timestamps, newest last: the last N lines, a time window (since/until: 15m, 6h, 2d or an ISO time), stdout or stderr only, and a text search (contains; regex with regex: true). At most 500 lines per call; page back with until.

container_statsA

CPU (% of one core), memory, network and processes right now: one container, or all running ones (at most 30).

recent_eventsA

Container events (start, stop, die with exit code, kill, oom, restart, health status) in a window, default the last 24 hours, at most 7 days and 300 events.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.6/5.0

Scored across 6 tools

Disambiguation4/5

Each tool targets a distinct slice: host summary (docker_info), inventory (list_containers), live resource usage (container_stats), static config/state (inspect_container), logs (container_logs) and events (recent_events). The only mild overlap is container_stats vs inspect_container, both of which report container state/health, but the descriptions draw a clear line between real-time metrics and configuration/state details.

Naming Consistency3/5

Names are readable but follow mixed conventions: verb_noun (list_containers, inspect_container) alongside noun_noun (container_stats, container_logs, docker_info) and an adjectival form (recent_events). There is a loose container_* grouping, yet the verb-first and scope-first styles are interleaved without a predictable rule.

Tool Count5/5

Six tools is a tight, well-scoped surface for a read-only Docker diagnostic agent, and no two tools look redundant. Each one covers a distinct inspection need (host, inventory, metrics, config, logs, events) without filler.

Completeness3/5

The read-only monitoring domain is mostly covered, but docker_info advertises image counts while there is no list_images or image inspection tool, and there is no disk-usage/df or process-level (top) view. There are also no lifecycle or exec operations, so the surface is deliberately diagnostic-only and has notable gaps for anything beyond observation.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues