Docker Tools
FreeNot checkedMCP server for Docker: list containers/images, analyze Dockerfiles and docker-compose, view container logs Install: npx @rog0x/mcp-docker-tools
About
MCP server for Docker: list containers/images, analyze Dockerfiles and docker-compose, view container logs Install: npx @rog0x/mcp-docker-tools
README
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
| Tool | Description |
|---|---|
docker_container_list |
List running or all containers with status, ports, image, created time, and resource usage (CPU, memory, network/block I/O) |
docker_image_list |
List Docker images with size, tags, created date, and layer count |
docker_dockerfile_analyze |
Analyze a Dockerfile for best practices: multi-stage builds, non-root user, layer caching, image size, security |
docker_compose_analyze |
Analyze docker-compose.yml: services, ports, volumes, networks, health checks, dependencies, and improvement suggestions |
docker_container_logs |
Get 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
git clone <repo-url>
cd mcp-docker-tools
npm install
npm run build
Usage with Claude Desktop
Add to your Claude Desktop configuration (claude_desktop_config.json):
{
"mcpServers": {
"docker-tools": {
"command": "node",
"args": ["D:/products/mcp-servers/mcp-docker-tools/dist/index.js"]
}
}
}
Usage with Claude Code
claude mcp add docker-tools node D:/products/mcp-servers/mcp-docker-tools/dist/index.js
Or add to .claude/settings.json:
{
"mcpServers": {
"docker-tools": {
"command": "node",
"args": ["D:/products/mcp-servers/mcp-docker-tools/dist/index.js"]
}
}
}
Tool Examples
List running containers
{ "tool": "docker_container_list" }
List all containers including stopped
{ "tool": "docker_container_list", "args": { "all": true, "format": "table" } }
List images filtered by name
{ "tool": "docker_image_list", "args": { "filter": "node" } }
Analyze a Dockerfile
{
"tool": "docker_dockerfile_analyze",
"args": {
"content": "FROM node:20\nCOPY . .\nRUN npm install\nCMD [\"node\", \"index.js\"]"
}
}
Analyze docker-compose.yml
{
"tool": "docker_compose_analyze",
"args": {
"content": "services:\n web:\n image: nginx\n ports:\n - 80:80"
}
}
Get container logs
{
"tool": "docker_container_logs",
"args": { "container": "my-app", "tail": 50, "filter": "error" }
}
License
MIT
Installing Docker Tools
This server has no published package — it is built from source. Open the repository and follow its README.
▸ github.com/rog0x/mcp-docker-toolsFAQ
Is Docker Tools MCP free?
Yes, Docker Tools MCP is free — one-click install via Unyly at no cost.
Does Docker Tools need an API key?
No, Docker Tools runs without API keys or environment variables.
Is Docker Tools hosted or self-hosted?
Self-hosted: the server runs locally on your machine via the install command above.
How do I install Docker Tools in Claude Desktop, Claude Code or Cursor?
Open Docker Tools on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.
Related MCPs
GitHub
PRs, issues, code search, CI status
by GitHubFilesystem
Secure file operations with configurable access controls.
Memory
Knowledge graph-based persistent memory system.
Unyly Deploy
Deploy sites and MCP servers to Unyly straight from your AI agent
by UnylyTemplate MCP Server
A CLI tool to create a new Model Context Protocol server project with TypeScript support, dual transport options, and an extensible structure
by mcpdotdirectServer Sequential Thinking
MCP server for sequential thinking and problem solving
by GitHub ActionsAmap Maps Mcp Server
MCP server for using the AMap Maps API
by duxiaohuiPayMCP
Lightweight payments layer for MCP servers: turn tools into paid endpoints with a two-line decorator. [PyPI](https://pypi.org/project/paymcp/) · [npm](https://w
by blustAIdemo
demo — MCP server via Smithery
by yoojoohans-jpgServer For Power BI
Enables exploring Microsoft Fabric / Power BI workspaces and semantic models, and executing ad-hoc DAX queries.
by Mitsubishi-FusoCompare Docker Tools with
Not sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All development MCPs
