{"_id":"@rog0x/mcp-docker-tools","_rev":"2-12631f4dcb9e76cb12a9ce368351dd31","name":"@rog0x/mcp-docker-tools","dist-tags":{"latest":"1.0.1"},"versions":{"1.0.0":{"name":"@rog0x/mcp-docker-tools","version":"1.0.0","keywords":["mcp","docker","containers","ai-tools","model-context-protocol"],"license":"MIT","_id":"@rog0x/mcp-docker-tools@1.0.0","maintainers":[{"name":"rog0x","email":"wilsonbbalex@gmail.com"}],"bin":{"mcp-docker-tools":"dist/index.js"},"dist":{"shasum":"c974812e9fe2bd03c4e50821460faab4541989de","tarball":"https://registry.npmjs.org/@rog0x/mcp-docker-tools/-/mcp-docker-tools-1.0.0.tgz","fileCount":21,"integrity":"sha512-5rgpPP60o9omE0gbn3i5E9O74RyOsDR5xrnrmrPI0MFkZs0NRrB5tu36LAArzVErhpOqpjxstpiP/e55QNsoFg==","signatures":[{"sig":"MEUCIHbpjBLMRPGG4Y/CSJrORxv5vMYmiy0X2MH/2eNH/dt1AiEAyp/UBUhQZSeWJzw36d/j8OyCVsntcxP1JDECc90mTTo=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":89988},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"f1503b7f46842793c9516726faa755f4af87639a","scripts":{"build":"tsc","start":"node dist/index.js"},"_npmUser":{"name":"rog0x","email":"wilsonbbalex@gmail.com"},"_npmVersion":"11.11.1","description":"Docker management tools for AI agents via MCP","directories":{},"_nodeVersion":"24.14.0","dependencies":{"@modelcontextprotocol/sdk":"^1.12.1"},"_hasShrinkwrap":false,"devDependencies":{"typescript":"^5.8.3","@types/node":"^22.15.3"},"_npmOperationalInternal":{"tmp":"tmp/mcp-docker-tools_1.0.0_1773939705177_0.4126627911118339","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@rog0x/mcp-docker-tools","mcpName":"io.github.rog0x/docker","repository":{"type":"git","url":"git+https://github.com/rog0x/mcp-docker-tools.git"},"version":"1.0.1","description":"Docker management tools for AI agents via MCP","main":"dist/index.js","types":"dist/index.d.ts","bin":{"mcp-docker-tools":"dist/index.js"},"scripts":{"build":"tsc","start":"node dist/index.js"},"keywords":["mcp","docker","containers","ai-tools","model-context-protocol"],"license":"MIT","dependencies":{"@modelcontextprotocol/sdk":"^1.12.1"},"devDependencies":{"@types/node":"^22.15.3","typescript":"^5.8.3"},"gitHead":"f1503b7f46842793c9516726faa755f4af87639a","_id":"@rog0x/mcp-docker-tools@1.0.1","bugs":{"url":"https://github.com/rog0x/mcp-docker-tools/issues"},"homepage":"https://github.com/rog0x/mcp-docker-tools#readme","_nodeVersion":"24.14.0","_npmVersion":"11.11.1","dist":{"integrity":"sha512-Zp36H+OLO/siUrZ66628OftyUGdP1y75WnC/E+fRdzcNS4d7/qqHIjR051tBF/eCTDNe38OPhufEuQQyF3Pavg==","shasum":"a489ec9f2c1b2465cae9ab541c53fff106c077fb","tarball":"https://registry.npmjs.org/@rog0x/mcp-docker-tools/-/mcp-docker-tools-1.0.1.tgz","fileCount":22,"unpackedSize":90630,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIG+R5EuyybZPErOZqqqRQW8/8RK1C74Upmp5RANWsuYSAiB7V3S0ZUBfg1HDyKQASgUH90oUVnnbRC8A2QGeLqebwQ=="}]},"_npmUser":{"name":"rog0x","email":"wilsonbbalex@gmail.com"},"directories":{},"maintainers":[{"name":"rog0x","email":"wilsonbbalex@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/mcp-docker-tools_1.0.1_1774219471282_0.9895170040379926"},"_hasShrinkwrap":false}},"time":{"created":"2026-03-19T17:01:45.099Z","modified":"2026-03-22T22:44:31.546Z","1.0.0":"2026-03-19T17:01:45.309Z","1.0.1":"2026-03-22T22:44:31.446Z"},"license":"MIT","keywords":["mcp","docker","containers","ai-tools","model-context-protocol"],"description":"Docker management tools for AI agents via MCP","maintainers":[{"name":"rog0x","email":"wilsonbbalex@gmail.com"}],"readme":"# mcp-docker-tools\n\nDocker management tools for AI agents, built on the [Model Context Protocol](https://modelcontextprotocol.io).\n\nProvides five tools for inspecting containers, images, Dockerfiles, and Compose configurations — all accessible to LLMs through MCP.\n\n## Tools\n\n| Tool | Description |\n|------|-------------|\n| `docker_container_list` | List running or all containers with status, ports, image, created time, and resource usage (CPU, memory, network/block I/O) |\n| `docker_image_list` | List Docker images with size, tags, created date, and layer count |\n| `docker_dockerfile_analyze` | Analyze a Dockerfile for best practices: multi-stage builds, non-root user, layer caching, image size, security |\n| `docker_compose_analyze` | Analyze docker-compose.yml: services, ports, volumes, networks, health checks, dependencies, and improvement suggestions |\n| `docker_container_logs` | Get container logs with tail, keyword filter, time range, and timestamp support |\n\n## Prerequisites\n\n- **Node.js** >= 18\n- **Docker** CLI installed and accessible in PATH\n- Docker daemon running (for container/image tools)\n\n## Installation\n\n```bash\ngit clone <repo-url>\ncd mcp-docker-tools\nnpm install\nnpm run build\n```\n\n## Usage with Claude Desktop\n\nAdd to your Claude Desktop configuration (`claude_desktop_config.json`):\n\n```json\n{\n  \"mcpServers\": {\n    \"docker-tools\": {\n      \"command\": \"node\",\n      \"args\": [\"D:/products/mcp-servers/mcp-docker-tools/dist/index.js\"]\n    }\n  }\n}\n```\n\n## Usage with Claude Code\n\n```bash\nclaude mcp add docker-tools node D:/products/mcp-servers/mcp-docker-tools/dist/index.js\n```\n\nOr add to `.claude/settings.json`:\n\n```json\n{\n  \"mcpServers\": {\n    \"docker-tools\": {\n      \"command\": \"node\",\n      \"args\": [\"D:/products/mcp-servers/mcp-docker-tools/dist/index.js\"]\n    }\n  }\n}\n```\n\n## Tool Examples\n\n### List running containers\n```json\n{ \"tool\": \"docker_container_list\" }\n```\n\n### List all containers including stopped\n```json\n{ \"tool\": \"docker_container_list\", \"args\": { \"all\": true, \"format\": \"table\" } }\n```\n\n### List images filtered by name\n```json\n{ \"tool\": \"docker_image_list\", \"args\": { \"filter\": \"node\" } }\n```\n\n### Analyze a Dockerfile\n```json\n{\n  \"tool\": \"docker_dockerfile_analyze\",\n  \"args\": {\n    \"content\": \"FROM node:20\\nCOPY . .\\nRUN npm install\\nCMD [\\\"node\\\", \\\"index.js\\\"]\"\n  }\n}\n```\n\n### Analyze docker-compose.yml\n```json\n{\n  \"tool\": \"docker_compose_analyze\",\n  \"args\": {\n    \"content\": \"services:\\n  web:\\n    image: nginx\\n    ports:\\n      - 80:80\"\n  }\n}\n```\n\n### Get container logs\n```json\n{\n  \"tool\": \"docker_container_logs\",\n  \"args\": { \"container\": \"my-app\", \"tail\": 50, \"filter\": \"error\" }\n}\n```\n\n## License\n\nMIT\n","readmeFilename":"README.md","homepage":"https://github.com/rog0x/mcp-docker-tools#readme","repository":{"type":"git","url":"git+https://github.com/rog0x/mcp-docker-tools.git"},"bugs":{"url":"https://github.com/rog0x/mcp-docker-tools/issues"}}