{"_id":"@falkenslab/docker-mcp","_rev":"6-80aec2486d4661770cf139f37716238b","name":"@falkenslab/docker-mcp","dist-tags":{"latest":"0.4.0"},"versions":{"0.0.0-stage":{"name":"@falkenslab/docker-mcp","version":"0.0.0-stage","_id":"@falkenslab/docker-mcp@0.0.0-stage","stub":true,"maintainers":[{"name":"fvarrui","email":"francisco.vargas.ruiz@gmail.com"}],"dist":{"shasum":"2501ce43edbe2b0cf5d0efd1ae0ba57213120035","tarball":"https://registry.npmjs.org/@falkenslab/docker-mcp/-/docker-mcp-0.0.0-stage.tgz","fileCount":2,"integrity":"sha512-p6PdTz0vdaYcW0UwHRSsVNjvWn8p9DsYE6EKp1OxJtTUuDu+ewxKPb/WSZ0ODKcMAia9gAGpywYSl6x8flij8A==","signatures":[{"sig":"MEYCIQDapElahlT78eHjklRWLFXlo/BmnQ8ukW/mBxNPafy7wQIhAPKLncuvCafttmSJ6kQQTaop66Ve9wsJCCrtoyyXxOIP","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":344},"_npmUser":{"name":"fvarrui","email":"francisco.vargas.ruiz@gmail.com"},"deprecated":"Placeholder from npm's staged publishing; use 0.1.0 or later","description":"Temporary package placeholder for staged publishing","directories":{}},"0.1.0":{"name":"@falkenslab/docker-mcp","version":"0.1.0","keywords":["mcp","model-context-protocol","docker","containers","compose","agent-kit"],"author":{"name":"Falken's Lab"},"license":"MIT","_id":"@falkenslab/docker-mcp@0.1.0","maintainers":[{"name":"fvarrui","email":"francisco.vargas.ruiz@gmail.com"}],"homepage":"https://falkenslab.github.io/docker-mcp/","bugs":{"url":"https://github.com/falkenslab/docker-mcp/issues"},"bin":{"docker-mcp":"dist/server.mjs"},"dist":{"shasum":"18425d1d1637fa810dc42f8db7d2c8f0ca8e31f7","tarball":"https://registry.npmjs.org/@falkenslab/docker-mcp/-/docker-mcp-0.1.0.tgz","fileCount":4,"integrity":"sha512-0npfBwTjFLuDLjSlB25xU9ZT+oXpUbdqZqSqBENrVvO3xp06uR9g8q8FDmC2OVIKfpR49hMsIJPlhGiViGQnow==","signatures":[{"sig":"MEQCIH1IMkCv87o0Gx8jGFJC+XhdZRUuGhNC71OCBmKv2lOxAiATHGxmW6RF+sP0DHSYFlT8xj/bm6DuxBs9NH6Fq37cdQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEYCIQDje6R60b20UyC4LKufM+WmTrRw4DgUW28XLv5kfymYagIhAL3hFY2ikTsLLmjTjVADm+hjdbshUlWM/m+sO4w6i01R","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1707182},"type":"module","engines":{"node":">=20"},"gitHead":"19a05c58544248a55db94fdfc6d4a9ae935c4ead","scripts":{"dev":"node scripts/build.mjs --watch","lint":"eslint .","test":"node scripts/test.mjs","build":"node scripts/build.mjs","check":"node scripts/check-tools.mjs","inspect":"npx @modelcontextprotocol/inspector node dist/server.mjs","typecheck":"tsc --noEmit","prepublishOnly":"npm run typecheck && npm run lint && npm test && npm run build && npm run check"},"_npmUser":{"name":"fvarrui","email":"francisco.vargas.ruiz@gmail.com"},"repository":{"url":"git+https://github.com/falkenslab/docker-mcp.git","type":"git"},"_npmVersion":"11.16.0","description":"Docker for AI agents: a complete set of tools, with modes chosen at startup (read, lab, full).","directories":{},"_nodeVersion":"26.7.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.23.15","zod":"^4.6.5","yaml":"^2.9.1","eslint":"^10.12.0","esbuild":"^0.28.2","globals":"^17.13.0","@eslint/js":"^10.0.1","typescript":"~6.0.3","@types/node":"^20.19.0","typescript-eslint":"^8.71.1","@modelcontextprotocol/sdk":"^1.32.1"},"_npmOperationalInternal":{"tmp":"tmp/docker-mcp_0.1.0_1792339503411_0.7803185147869784","host":"s3://npm-registry-packages-npm-production"}},"0.2.0":{"name":"@falkenslab/docker-mcp","version":"0.2.0","keywords":["mcp","model-context-protocol","docker","containers","compose","agent-kit"],"author":{"name":"Falken's Lab"},"license":"MIT","_id":"@falkenslab/docker-mcp@0.2.0","maintainers":[{"name":"fvarrui","email":"francisco.vargas.ruiz@gmail.com"}],"homepage":"https://falkenslab.github.io/docker-mcp/","bugs":{"url":"https://github.com/falkenslab/docker-mcp/issues"},"bin":{"docker-mcp":"dist/server.mjs"},"dist":{"shasum":"badde9dc495fe19f63dc7780a0b6bd13e247188d","tarball":"https://registry.npmjs.org/@falkenslab/docker-mcp/-/docker-mcp-0.2.0.tgz","fileCount":4,"integrity":"sha512-v/OS+RpfwZ737sDOqKHtX6LpoVqopixafgUKhXWlez3vXoHbznu9+iComJpLQMT4vxggNxTKXNePt+xKZYuSmQ==","signatures":[{"sig":"MEQCIBt588OM2Sw4WgFlXSqA643rIpDjjeJOIarsTno1vCZXAiBcU9c0Y3sOXilaLRKV//KA7H60h9Us0KAi9DdT5XF/KQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEYCIQCW9jZPPqDlBXB61yWGwIyQSYMxOqGUcM9QbUAVhv6zmwIhAMygOp2O7TnofsUdS/ws4dt0+r6EO5C7r7/bDuJBIJus","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1715952},"type":"module","engines":{"node":">=20"},"gitHead":"cdd734abe950b53ad8cf28025132b1d28eb37482","scripts":{"dev":"node scripts/build.mjs --watch","lint":"eslint .","test":"node scripts/test.mjs","build":"node scripts/build.mjs","check":"node scripts/check-tools.mjs","inspect":"npx @modelcontextprotocol/inspector node dist/server.mjs","typecheck":"tsc --noEmit","check:labs":"node scripts/check-labs.mjs","prepublishOnly":"npm run typecheck && npm run lint && npm test && npm run build && npm run check"},"_npmUser":{"name":"fvarrui","email":"francisco.vargas.ruiz@gmail.com"},"repository":{"url":"git+https://github.com/falkenslab/docker-mcp.git","type":"git"},"_npmVersion":"11.16.0","description":"Docker for AI agents: a complete set of tools, with modes chosen at startup (read, lab, full).","directories":{},"_nodeVersion":"26.7.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.23.15","zod":"^4.6.5","yaml":"^2.9.1","eslint":"^10.12.0","esbuild":"^0.28.2","globals":"^17.13.0","@eslint/js":"^10.0.1","typescript":"~6.0.3","@types/node":"^20.19.0","typescript-eslint":"^8.71.1","@modelcontextprotocol/sdk":"^1.32.1"},"_npmOperationalInternal":{"tmp":"tmp/docker-mcp_0.2.0_1792843496254_0.9847481568753977","host":"s3://npm-registry-packages-npm-production"}},"0.3.0":{"name":"@falkenslab/docker-mcp","version":"0.3.0","keywords":["mcp","model-context-protocol","docker","containers","compose","agent-kit"],"author":{"name":"Falken's Lab"},"license":"MIT","_id":"@falkenslab/docker-mcp@0.3.0","maintainers":[{"name":"fvarrui","email":"francisco.vargas.ruiz@gmail.com"}],"homepage":"https://falkenslab.github.io/docker-mcp/","bugs":{"url":"https://github.com/falkenslab/docker-mcp/issues"},"bin":{"docker-mcp":"dist/server.mjs"},"dist":{"shasum":"7ba70ab76ef0b79cf9641f67407abaca2fd5a486","tarball":"https://registry.npmjs.org/@falkenslab/docker-mcp/-/docker-mcp-0.3.0.tgz","fileCount":4,"integrity":"sha512-LB64SpxpJW1gh2Ok/5oajnOBXVUK175+JRzxpeBX1JprK3SsKT02QuTcNgybmmtNhpySCKaqigX1YFZisnIEBw==","signatures":[{"sig":"MEQCIDvwQA7Oy2eEvbiZDi3mhJ/Hw0/juvOLgyPlsh0JS4WaAiB/o5VF76xv5Q3HyPz+jYSxL21WNdeUGz/6JKqhtQmxlg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCICIGzDzXXMad7N/XdKKNjw6gEu6DA+nb9N5wfPT1wjx+AiEA1LMapTHcrzYfVDE5R5FVWfo7SDEAH3GpsY1iq8znZLM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1722711},"type":"module","engines":{"node":">=20"},"gitHead":"ea2b59a43e2724731bca8ca178e98374f03e54fa","scripts":{"dev":"node scripts/build.mjs --watch","lint":"eslint .","test":"node scripts/test.mjs","build":"node scripts/build.mjs","check":"node scripts/check-tools.mjs","inspect":"npx @modelcontextprotocol/inspector node dist/server.mjs","typecheck":"tsc --noEmit","check:labs":"node scripts/check-labs.mjs","prepublishOnly":"npm run typecheck && npm run lint && npm test && npm run build && npm run check"},"_npmUser":{"name":"fvarrui","email":"francisco.vargas.ruiz@gmail.com"},"repository":{"url":"git+https://github.com/falkenslab/docker-mcp.git","type":"git"},"_npmVersion":"11.16.0","description":"Docker for AI agents: a complete set of tools, with modes chosen at startup (read, lab, full).","directories":{},"_nodeVersion":"26.7.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.23.15","zod":"^4.6.5","yaml":"^2.9.1","eslint":"^10.12.0","esbuild":"^0.28.2","globals":"^17.13.0","@eslint/js":"^10.0.1","typescript":"~6.0.3","@types/node":"^20.19.0","typescript-eslint":"^8.71.1","@modelcontextprotocol/sdk":"^1.32.1"},"_npmOperationalInternal":{"tmp":"tmp/docker-mcp_0.3.0_1794307872169_0.903206688807326","host":"s3://npm-registry-packages-npm-production"}},"0.4.0":{"_id":"@falkenslab/docker-mcp@0.4.0","bin":{"docker-mcp":"dist/server.mjs"},"bugs":{"url":"https://github.com/falkenslab/docker-mcp/issues"},"dist":{"shasum":"a981581b080c81ae9a56f8390037773d3e1c8816","tarball":"https://registry.npmjs.org/@falkenslab/docker-mcp/-/docker-mcp-0.4.0.tgz","fileCount":4,"integrity":"sha512-iSkd3pYlJQlpcP1lEYbiUcE/R0AhVujlgbTf93TsDphcAcbC5R+QI1jQL8cF7miThJMIW76jbQwKNQFpGvduIQ==","signatures":[{"sig":"MEQCICqgr3zlSJRYti4Fx51UweuPm2D2fZC6vM61KAZV280yAiAn7BxAIhOZNTK8JdJIz/y+WfFcKjOfjmfA7DljpIYMbw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDyItq9m+GuLj7NroX4IgJTIbY/ZJMp6Z2XtQ1iQUAbFQIhAKWj/eolHWVqhGSQ60TkjDpiv0bI7d0sshpOmfLhEjrg"}],"unpackedSize":1722535},"name":"@falkenslab/docker-mcp","type":"module","author":{"name":"Falken's Lab"},"engines":{"node":">=20"},"gitHead":"0da94a4ccfd4e9f7f490abd81aeb077dfd89675f","license":"MIT","scripts":{"dev":"node scripts/build.mjs --watch","lint":"eslint .","test":"node scripts/test.mjs","build":"node scripts/build.mjs","check":"node scripts/check-tools.mjs","inspect":"npx @modelcontextprotocol/inspector node dist/server.mjs","typecheck":"tsc --noEmit","check:labs":"node scripts/check-labs.mjs","prepublishOnly":"npm run typecheck && npm run lint && npm test && npm run build && npm run check"},"version":"0.4.0","_npmUser":{"name":"fvarrui","email":"francisco.vargas.ruiz@gmail.com"},"homepage":"https://falkenslab.github.io/docker-mcp/","keywords":["mcp","model-context-protocol","docker","containers","compose","agent-kit"],"repository":{"url":"git+https://github.com/falkenslab/docker-mcp.git","type":"git"},"_npmVersion":"11.16.0","description":"Docker for AI agents: a complete set of tools, with modes chosen at startup (read, lab, full).","directories":{},"maintainers":[{"name":"fvarrui","email":"francisco.vargas.ruiz@gmail.com"}],"_nodeVersion":"26.7.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.23.15","zod":"^4.6.5","yaml":"^2.9.1","eslint":"^10.12.0","esbuild":"^0.28.2","globals":"^17.13.0","@eslint/js":"^10.0.1","typescript":"~6.0.3","@types/node":"^20.19.0","typescript-eslint":"^8.71.1","@modelcontextprotocol/sdk":"^1.32.1"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/docker-mcp_0.4.0_1794746171478_0.0452940040396137"}}},"time":{"created":"2026-10-18T15:58:53.754Z","modified":"2026-11-15T12:36:11.814Z","0.0.0-stage":"2026-10-18T15:58:53.754Z","0.1.0":"2026-10-18T16:05:03.519Z","0.2.0":"2026-10-24T12:04:56.361Z","0.3.0":"2026-11-10T10:51:12.274Z","0.4.0":"2026-11-15T12:36:11.636Z"},"bugs":{"url":"https://github.com/falkenslab/docker-mcp/issues"},"author":{"name":"Falken's Lab"},"license":"MIT","homepage":"https://falkenslab.github.io/docker-mcp/","keywords":["mcp","model-context-protocol","docker","containers","compose","agent-kit"],"repository":{"url":"git+https://github.com/falkenslab/docker-mcp.git","type":"git"},"description":"Docker for AI agents: a complete set of tools, with modes chosen at startup (read, lab, full).","maintainers":[{"name":"fvarrui","email":"francisco.vargas.ruiz@gmail.com"}],"readme":"<div align=\"center\">\n\n<img src=\"https://raw.githubusercontent.com/falkenslab/docker-mcp/main/docs/static/img/logo.svg\" alt=\"docker-mcp logo: two puzzle pieces fitting together, a robot for the agent and stacked containers for Docker\" width=\"112\"/>\n\n# docker-mcp\n\n**Your AI agent works Docker for you: containers, images, Compose and practice labs.**<br/>\nA complete set of tools, with modes chosen at startup: only read, only safe labs, or everything.\n\n[![npm](https://img.shields.io/npm/v/@falkenslab/docker-mcp?color=cb3837&logo=npm)](https://www.npmjs.com/package/@falkenslab/docker-mcp)\n![Node.js 20+](https://img.shields.io/badge/Node.js-20%2B-339933?logo=node.js&logoColor=white)\n![Docker 24+](https://img.shields.io/badge/Docker-24%2B-1d63ed?logo=docker&logoColor=white)\n![MCP server](https://img.shields.io/badge/MCP-server-0b0b0b)\n[![License: MIT](https://img.shields.io/badge/license-MIT-16a34a)](LICENSE)\n\n**[📖 Documentation](https://falkenslab.github.io/docker-mcp/)** · [📖 Documentación en español](https://falkenslab.github.io/docker-mcp/es/)\n\n</div>\n\ndocker-mcp is an MCP server that lets an AI agent (Claude Code, Codex, an agent built on [agent-kit](https://github.com/falkenslab/agent-kit)) work the Docker on your computer: run and inspect containers, build and pull images, manage volumes and networks, start Compose projects, clean up, and run practice labs that check themselves. You choose how far it can go when it starts: `read` only looks, `lab` only runs labs under a safety policy, and `full` does everything Docker does, asking before anything dangerous. It drives Docker's own command line, so it works wherever Docker does.\n\n## ✨ Why docker-mcp\n\n- 🎚️ **Modes, not trust.** A tool outside the mode doesn't exist for the agent: in `read` it can't change anything, in `lab` it can't run anything but labs.\n- 🛡️ **You confirm, not the agent.** Before removing anything, and before a privileged container, the host's network or the Docker socket, docker-mcp asks you itself through your app, and your answer never passes through the model.\n- 🧪 **Labs for practices.** A folder with a `compose.yaml` and a check: no internet, no host mounts, limits on CPU and memory, refused if it breaks the rules, reset in one call.\n- 🧰 **The whole of Docker.** 47 tools over containers, images, volumes, networks, Compose and the system, each with structured results.\n- 🔧 **Explains, never installs.** Without Docker, or with it stopped, it says how to install or start it.\n- 📦 **Nothing to install.** One bundled file run with `npx`, for agent-kit, Claude Code and Codex alike.\n\n## 🚀 Quick start\n\nYou need [Node.js](https://nodejs.org) 20 or later and [Docker](https://docs.docker.com/get-started/get-docker/) 24 or later, running.\n\n```bash\n# Claude Code (full mode)\nclaude mcp add docker -- npx -y @falkenslab/docker-mcp\n\n# Only labs, with the practices in a folder of your own\nclaude mcp add docker -e DOCKER_MCP_MODE=lab -e DOCKER_MCP_LABS_DIR=/path/to/labs -- npx -y @falkenslab/docker-mcp\n```\n\nIn Codex, `codex mcp add docker -- npx -y @falkenslab/docker-mcp`. To write it in `.mcp.json` or Codex's `config.toml`, with every setting, see [Configuration](https://falkenslab.github.io/docker-mcp/configuration). In an agent built on agent-kit, or with its skills in Claude Code and Codex, install the `docker-lab` extension from [agent-extensions](https://github.com/falkenslab/agent-extensions), which runs this server at a fixed version. Then ask: \"What containers are running?\"\n\n## 💬 What you can ask\n\n- 🧑‍💻 \"Start a PostgreSQL 17 with a volume for its data, on port 5432 only for this computer.\"\n- 🧑‍💻 \"Why does my web container keep restarting? Look at its logs.\"\n- 🧑‍💻 \"How much disk is Docker using, and what could I clean up?\"\n- 👩‍🏫 \"Start the volumes lab and check the solution works.\"\n- 🧑‍🎓 \"Reset my lab: I broke the database.\"\n\n## 📸 See it at work\n\n<p align=\"center\">\n<img src=\"https://raw.githubusercontent.com/falkenslab/docker-mcp/main/docs/static/img/see-it-claude-code.png\" alt=\"Claude Code starting a lab with docker-mcp and its check passing\" width=\"760\"/>\n</p>\n\n<p align=\"center\"><em>Claude Code, in lab mode: it starts a practice lab and its check passes, all through docker-mcp.</em></p>\n\n<p align=\"center\">\n<img src=\"https://raw.githubusercontent.com/falkenslab/docker-mcp/main/docs/static/img/see-it-codex.png\" alt=\"Codex starting a lab with docker-mcp and running its check\" width=\"760\"/>\n</p>\n\n<p align=\"center\"><em>Codex, with the same lab: it calls list_labs, lab_up and lab_check, and the check passes.</em></p>\n\n## 🧰 What's inside\n\n| Area | Tools |\n| --- | --- |\n| 📦 Containers | `list_containers`, `inspect_container`, `container_logs`, `container_stats`, `container_processes`, `run_container`, `start_container`, `stop_container`, `restart_container`, `remove_container`, `exec_in_container`, `copy_to_container`, `copy_from_container` |\n| 🖼️ Images | `list_images`, `inspect_image`, `pull_image`, `build_image`, `tag_image`, `push_image`, `remove_image` |\n| 💾 Volumes and networks | `list_volumes`, `inspect_volume`, `create_volume`, `remove_volume`, and the same for networks |\n| 🧩 Compose | `compose_ps`, `compose_logs`, `compose_build`, `compose_up`, `compose_down`, `compose_exec` |\n| ⚙️ System | `docker_info`, `disk_usage`, `prune` |\n| 🧪 Labs | `list_labs`, `lab_status`, `lab_logs`, `lab_up`, `lab_exec`, `lab_check`, `lab_reset`, `lab_down` |\n| 🔌 Server | `server_info`, `check_requirements` |\n\nEvery tool, with what each mode keeps: [the tools reference](https://falkenslab.github.io/docker-mcp/reference/tools).\n\n## 📚 Documentation\n\n- **[Getting started](https://falkenslab.github.io/docker-mcp/getting-started)**: installing it in your AI app.\n- **[Configuration](https://falkenslab.github.io/docker-mcp/configuration)**: `.mcp.json` for Claude Code and `config.toml` for Codex, or their command lines, with every setting.\n- **[Modes and settings](https://falkenslab.github.io/docker-mcp/modes)**: `read`, `lab` and `full`, the areas, and the labs' policy.\n- **[Tools](https://falkenslab.github.io/docker-mcp/reference/tools)**: every tool, generated from the server.\n\n## 🛠️ Developing\n\n`npm install`, then `npm run build`, `npm test` and `npm run check` before every commit; `CLAUDE.md` lists every command and `.minispec/` the decisions behind them (the modes are ADR-005, the labs' policy ADR-006). Releases are published to npm by the owner.\n\n<div align=\"center\">\n\nMade with 💖 by Falken's Lab Team\n\n</div>\n","readmeFilename":"README.md"}