What it does
containerport is an MCP server and CLI for everyday Docker container work. It provides ten tools that map onto the Docker CLI: list, inspect, run, start, stop and remove containers; list and pull images; read container logs; and list volumes. Each call is built as an argument array and run without a shell string, so image names, environment values and ports are not interpreted as shell syntax. A command passed to run_container runs inside the container through its own sh -c, not on the host.
It suits an agent or script that needs to manage containers, images, logs or volumes through Docker. It deliberately leaves out Docker's MCP catalog or gateway tooling, Compose, image building, network and swarm management, registry authentication and exec into containers.
Running it requires a working docker CLI on the host. If docker is missing, calls fail with the underlying spawn error (ENOENT) rather than a fabricated result, and executor failures such as a daemon error or a nonexistent container are returned as tool errors with the original message. The CLI uses exit code 0 for success, 1 for a docker error and 2 for a usage error. The published container image contains no docker binary and expects a host executor, such as a mounted Docker socket. The test suite runs on a fake executor and does not touch a live Docker daemon. The project is released under the MIT license.
Limitations and requirements
Requires a working docker CLI installed on the host; without it, calls fail with a spawn error (ENOENT). The published container image bundles no docker binary and needs a host executor such as a mounted Docker socket. Does not support Compose, image building, network or swarm management, registry authentication, exec into containers, or Docker's MCP catalog/gateway tooling.
Safety
Our team has not reviewed this resource. Only automated rules checked it; resources with high-risk signals are not published. These are signals, not a guarantee that installing it is safe. Try it in a sandbox project first.
- Runs code or changes an assistant's behaviour
Sources
- Official MCP Registry first seen 13 Nov 2026 · last seen 13 Nov 2026 · its page on the source
io.github.CloudCorpRecords/containerport
Run core Docker container operations: list, run, inspect, logs, images and volumes.
v0.1.0As shown on registry.modelcontextprotocol.io when we last read it