docker-mcp-server
PyPI
v2.2.5
Published by l337-org — no publish provenance, so origin is unverified, but the source is public: the repository link below is self-declared yet readable, so you can inspect the code before adopting it.
MCP server for managing Docker resources via the Docker SDK for Python
The grade answers one question — how safe is this server for you to adopt — so it is computed in two auditable stages. Nothing below is an opinion or an LLM's guess; every line is a real term the deterministic engine applied, and the same input always yields the same number.
1. Threat score — 100 − 0 = 100. What the published surface and source actually contain:
The deterministic scan raised no scored threat in the surface it inspected — the threat score stayed at 100. Capability observations and advisory notes are recorded but never lower it.
2. Client adoption risk — 100 − 7 = 93. Three small, subtract-only factors that reflect your risk in adopting it — a clean scan proves less on a powerful, unverified or barely-inspectable package, so the grade says so plainly:
| Points | Adoption-risk factor |
|---|---|
| −6 | capability blast radius (high) — client exposure if the model is manipulated |
| −1 | publisher verification (public source) — no provenance, but the source is public and inspectable |
Capability observations and info notes are shown under Findings but never scored.
Open any row's finding below for the file, line and evidence behind a deduction.
In the server's implementation (`docker_mcp/tools/buildx.py:100`): Reading private keys / cloud credentials, or serializing the whole environment, is a sensitive-data source that becomes exfiltration when combined with any egress. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.
Evidence: or "id=npmrc,src=/home/u/.npmrc" key - the component to read, e.g. "dest" returns: str | None - the componen
Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.
Location: server docker_mcp/tools/buildx.py
In the server's implementation (`docker_mcp/tools/images.py:137`): Reading private keys / cloud credentials, or serializing the whole environment, is a sensitive-data source that becomes exfiltration when combined with any egress. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.
Evidence: entials cached in `~/.docker/config.json`, and leave `auth_config` unset. args: repository - Image refe
Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.
Location: server docker_mcp/tools/images.py
In the server's implementation (`docker_mcp/tools/plugins.py:92`): Reading private keys / cloud credentials, or serializing the whole environment, is a sensitive-data source that becomes exfiltration when combined with any egress. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.
Evidence: ystem_login`, or from `~/.docker/config.json` if the host ran `docker login`. Raises if the reference cannot be reso
Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.
Location: server docker_mcp/tools/plugins.py
In the server's implementation (`docker_mcp/tools/registry.py:471`): Reading private keys / cloud credentials, or serializing the whole environment, is a sensitive-data source that becomes exfiltration when combined with any egress. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.
Evidence: and does NOT read `~/.docker/config.json` — for private registries prefer the DOCKER_MCP_SERVER_REGISTRY_USERNAME /
Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.
Location: server docker_mcp/tools/registry.py
In the server's implementation (`docker_mcp/tools/system.py:415`): Reading private keys / cloud credentials, or serializing the whole environment, is a sensitive-data source that becomes exfiltration when combined with any egress. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.
Evidence: entials cached in `~/.docker/config.json`, and avoid calling this tool from an agent loop. Credentials let `imag
Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.
Location: server docker_mcp/tools/system.py
In the server's implementation (`docker_mcp/tools/_cli.py:207`): Spawning a shell/process is command-execution capability; with unsanitized tool input it is command injection / RCE. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.
Evidence: ", None) proc = subprocess.run( # noqa: S603 — shell=False, argv is a list, binary is resolved via shutil.which
Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.
Location: server docker_mcp/tools/_cli.py
In the server's implementation (`docker_mcp/tools/_ssh_proxy.py:670`): Spawning a shell/process is command-execution capability; with unsanitized tool input it is command injection / RCE. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.
Evidence: the local path: `subprocess.run(timeout=...)` calls `Popen.kill()`, which is `os.kill(self.pid, ...)` on
Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.
Location: server docker_mcp/tools/_ssh_proxy.py
In a packaging/dev/install script (shipped, but not the server runtime) (`tests/test_buildx.py:124`): Reading private keys / cloud credentials, or serializing the whole environment, is a sensitive-data source that becomes exfiltration when combined with any egress. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.
Evidence: "id=npmrc,src=/home/user/.npmrc"], ssh=["default"]) args = run.call_args.args[0] assert args[args.index("--secre
Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.
Location: server tests/test_buildx.py
In a packaging/dev/install script (shipped, but not the server runtime) (`scripts/measure-comparison-figures.py:345`): Spawning a shell/process is command-execution capability; with unsanitized tool input it is command injection / RCE. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.
Evidence: v_overrides) proc = subprocess.run( # noqa: S603 (fixed argv, no shell, interpreter resolved from sys.executable)
Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.
Location: server scripts/measure-comparison-figures.py
In a packaging/dev/install script (shipped, but not the server runtime) (`tests/integration/test_cli_flag_drift.py:85`): Spawning a shell/process is command-execution capability; with unsanitized tool input it is command injection / RCE. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.
Evidence: eplace". return subprocess.run( # noqa: S603 [docker, *argv, "--help"], capture_output=
Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.
Location: server tests/integration/test_cli_flag_drift.py
In a packaging/dev/install script (shipped, but not the server runtime) (`tests/integration/test_skill.py:36`): Spawning a shell/process is command-execution capability; with unsanitized tool input it is command injection / RCE. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.
Evidence: xit code.""" return subprocess.run( # noqa: S603 argv, capture_output=True, input=stdin, timeout=timeout, c
Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.
Location: server tests/integration/test_skill.py
In a packaging/dev/install script (shipped, but not the server runtime) (`tests/test_buildx.py:496`): Spawning a shell/process is command-execution capability; with unsanitized tool input it is command injection / RCE. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.
Evidence: /".join(parts) def exec(self, argv, *, timeout, max_output_bytes, cwd=None): self.calls.append({"argv": lis
Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.
Location: server tests/test_buildx.py
In a packaging/dev/install script (shipped, but not the server runtime) (`tests/test_cli.py:696`): Spawning a shell/process is command-execution capability; with unsanitized tool input it is command injection / RCE. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.
Evidence: l_file).name}" def exec(self, argv, *, timeout, max_output_bytes, cwd=None): self.calls.append({"argv": lis
Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.
Location: server tests/test_cli.py
In a packaging/dev/install script (shipped, but not the server runtime) (`tests/test_prompts.py:438`): Spawning a shell/process is command-execution capability; with unsanitized tool input it is command injection / RCE. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.
Evidence: r._prompts))" out = subprocess.run( # noqa: S603 — fixed argv, sys.executable, no shell [sys.executable, "-
Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.
Location: server tests/test_prompts.py
In a packaging/dev/install script (shipped, but not the server runtime) (`tests/test_remote_exec.py:219`): Spawning a shell/process is command-execution capability; with unsanitized tool input it is command injection / RCE. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.
Evidence: claimed: CPython's `subprocess.run(timeout=...)` calls `Popen.kill()`, which is SIGKILL on POSIX. Without escalation
Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.
Location: server tests/test_remote_exec.py
In a packaging/dev/install script (shipped, but not the server runtime) (`tests/test_resources.py:299`): Spawning a shell/process is command-execution capability; with unsanitized tool input it is command injection / RCE. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.
Evidence: in(u))" ) out = subprocess.run( # noqa: S603 — fixed argv, sys.executable, no shell [sys.executable, "-
Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.
Location: server tests/test_resources.py
Scan history per published version. The engine is deterministic — the same version always yields the same score, so a changed score means the package itself changed.
| Version | Score | Findings | Engine | Scanned |
|---|---|---|---|---|
v2.2.5 latest |
A 93/100 | 16 | 1.13.0 | 2026-08-25 |
v2.2.4 |
A 93/100 | 16 | 1.12.1 | 2026-08-15 |
v2.2.3 |
A 93/100 | 14 | 1.12.1 | 2026-08-12 |
v2.2.2 |
A 93/100 | 13 | 1.12.1 | 2026-08-01 |
v2.2.1 |
A 93/100 | 13 | 1.12.1 | 2026-07-29 |
v2.1.4 |
A 93/100 | 9 | 1.12.1 | 2026-07-27 |
Show this server's live Trust Score in your README, docs or website. The badge is served straight from the registry and updates automatically after every rescan — no API key needed. It links back to this page, so anyone who sees the grade can also read the findings behind it instead of taking a number on faith.
The score above is reproducible: the same package version always yields the same result. Run it locally or over the free API — no account, no LLM, fully deterministic.
npx mcptrustchecker scan docker-mcp-server --online --registry pypi
Independent packages implementing the same tool, scanned with the same engine. Compare all 15 side by side →
Community Docker server: manage containers, images, volumes and networks in natural language.
Lets AI agents interact with Docker containers locally or remotely via SSH, including container operations, logs, monitoring, and cleanup.
Universal Docker MCP server for AI assistants (Cursor, Claude Desktop)
MCP server for Docker CLI integration - 150 tools for containers, images, compose, volumes, networks, cleanup, observability, buildx, manifests, contexts, registry auth, Swarm orchestration, stacks, configs, secrets, content trust, Scout, plugins, and sys
MCP server for executing commands in Docker containers
Manages Docker containers, images, volumes, and Compose services from your IDE.
Operator control CLI for AdGuard Home with an MCP adapter
interacting with Aliyun (Alibaba Cloud) services through This MCP server provides tools.
MCP server for the Aspro.Cloud REST API
MCP server for Atlassian Confluence and Jira Cloud APIs
AuroraCloud-first MCP server that exposes AuroraDocs workspace data to Claude Desktop and other AI agents
The official AWS Knowledge Base retrieval server using Bedrock Agent Runtime.