rog0x avatar

Docker

rog0x/mcp-docker-tools

Wraps the Docker CLI to give Claude five container and image operations: list running or stopped containers with resource usage, list images with size and layer info, fetch container logs with filtering and tail support, and analyze both Dockerfiles and docker-compose.yml files for best practices like multi-stage builds, security issues, and layer caching. The analysis tools parse configuration content directly rather than running containers, so you can review files before building. Requires Node.js 18+ and Docker installed locally. Useful when you're debugging container issues in chat, auditing Dockerfiles for optimization opportunities, or need to check what's actually running without switching to the terminal.

GitHub stars
1
tools
5
transport
STDIO
last updated
Mar 22, 2026

Tools

5 tools

Public tool metadata for what this MCP can expose to an agent.

docker_container_listList running or all containers with status, ports, image, created time, and resource usage (CPU, memory, network/block I/O)

List running or all containers with status, ports, image, created time, and resource usage (CPU, memory, network/block I/O)

No parameter schema in public metadata yet.

docker_image_listList Docker images with size, tags, created date, and layer count

List Docker images with size, tags, created date, and layer count

No parameter schema in public metadata yet.

docker_dockerfile_analyzeAnalyze a Dockerfile for best practices: multi-stage builds, non-root user, layer caching, image size, security

Analyze a Dockerfile for best practices: multi-stage builds, non-root user, layer caching, image size, security

No parameter schema in public metadata yet.

docker_compose_analyzeAnalyze docker-compose.yml: services, ports, volumes, networks, health checks, dependencies, and improvement suggestions

Analyze docker-compose.yml: services, ports, volumes, networks, health checks, dependencies, and improvement suggestions

No parameter schema in public metadata yet.

docker_container_logsGet container logs with tail, keyword filter, time range, and timestamp support

Get container logs with tail, keyword filter, time range, and timestamp support

No parameter schema in public metadata yet.

Sponsors

Readme

mcp-docker-tools

Docker management tools for AI agents, built on the Model Context Protocol.

Provides five tools for inspecting containers, images, Dockerfiles, and Compose configurations — all accessible to LLMs through MCP.

Tools

ToolDescription
docker_container_listList running or all containers with status, ports, image, created time, and resource usage (CPU, memory, network/block I/O)
docker_image_listList Docker images with size, tags, created date, and layer count
docker_dockerfile_analyzeAnalyze a Dockerfile for best practices: multi-stage builds, non-root user, layer caching, image size, security
docker_compose_analyzeAnalyze docker-compose.yml: services, ports, volumes, networks, health checks, dependencies, and improvement suggestions
docker_container_logsGet container logs with tail, keyword filter, time range, and timestamp support

Prerequisites

  • Node.js >= 18
  • Docker CLI installed and accessible in PATH
  • Docker daemon running (for container/image tools)

Installation


View the full README on GitHub

Details

Repository
github.com/rog0x/mcp-docker-tools
Category
Cloud & Infrastructure
Package
@rog0x/mcp-docker-tools
Transport
STDIO
Registry
MCP registry, active

More from rog0x

Related Cloud & Infrastructure MCP servers

View all
1gleaming-cassata-d41682 avatarLION - Trend Intent MCP + Marketplace Visibility Auditapp.netlify.gleaming-cassata-d41682/lion-mcpx402-paid MCP data: trend feed + visibility audit. USDC/Base. No API key. No PII.0stars
2broisnischal avatarAzure Boards MCPbroisnischal/azure-mcpAzure DevOps Boards work items over MCP (stdio). Requires Bun, org, project, and PAT.0stars
3csoai-org avatarSelf Healing Infrastructure Mcpcsoai-org/self-healing-infrastructure-mcpSelf Healing Infrastructure MCP Server by MEOK AI Labs0stars
4blueprint-infrastructure avatarBlueprint Agentic Staking (Solentic)blueprint-infrastructure/solentic-mcpNative Solana staking for AI agents. 26 MCP tools, one-shot signing, webhooks.0stars
5perceptdot avatarPerceptdot Vercelio.github.perceptdot/vercelAI agent vision for Vercel deployments — with ROI measurement. perceptdot.com0stars
6raviteja-pegata avatarAzure FinOps MCP Serverraviteja-pegata/azure-finops-mcp-serverAzure FinOps MCP: cost, budgets, forecasting and optimization for Claude, VS Code and Cursor.0stars