@supernova123/docker-mcp-server
npm
v0.4.3
Published by @supernova123 — 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.
Docker server with container management, health checks, auto-restart, Compose lifecycle, and log streaming.
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 − 9.5 = 91. What the published surface and source actually contain:
| Points | What was found | Category |
|---|---|---|
| −9.5 | Untrusted input concatenated into a command sink ×2 MTC-SRC-009 | injection |
2. Client adoption risk — 91 − 7 = 84. 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.
Tools that read sensitive data ([compose_logs]) and tools that can send data out ([exec_in_container]) are exposed together. An agent can move private data to the sink.
Evidence: sources [compose_logs] → sinks [exec_in_container]
Fix: Keep secret-reading and egress capabilities on separate, separately-approved servers.
Location: flow compose_logs → exec_in_container
Tool "exec_in_container" appears to run shell commands or evaluate code (keyword "exec" in tool name). Arbitrary execution driven by model input is one of the most dangerous MCP capabilities; combined with any untrusted input it becomes RCE.
Fix: Sandbox execution, allowlist commands/arguments, and never pass model output to a shell unescaped.
Location: tool exec_in_container
In the server's implementation (`dist/tools/compose.js:1`): 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: exec as execCb } from "child_process"; import { existsSync, statSync } from "fs"; import { join } from "path"; import {
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 dist/tools/compose.js
In the server's implementation (`dist/tools/health.js:4`): 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: (checks port open), and exec (runs command inside container). Auto-detects probe type from the container's HEALTHCHECK 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 dist/tools/health.js
In the server's implementation (`src/tools/compose.ts:1`): 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: exec as execCb } from "child_process"; import { existsSync, statSync } from "fs"; import { join } from "path"; import {
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 src/tools/compose.ts
In the server's implementation (`src/tools/health.ts:9`): 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: (checks port open), and exec (runs command inside container). Auto-detects probe type from the container's HEALTHCHECK 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 src/tools/health.ts
In the server's implementation (`dist/tools/compose.js:29`): A shell/process command assembled from concatenated or interpolated values is command injection when any part is attacker-influenced — the OWASP canonical RCE flow. Verify what reaches the interpolated value. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.
Evidence: const result = execSync(`docker compose -f "${filePath}" ${args.join(" ")}`, { encoding: "utf-8",
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 dist/tools/compose.js
In the server's implementation (`src/tools/compose.ts:39`): A shell/process command assembled from concatenated or interpolated values is command injection when any part is attacker-influenced — the OWASP canonical RCE flow. Verify what reaches the interpolated value. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.
Evidence: ry { const result = execSync(`docker compose -f "${filePath}" ${args.join(" ")}`, { encoding: "utf-8", t
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 src/tools/compose.ts
Tool "exec_in_container" can mutate/egress but declares no destructiveHint. Clients that don't default to spec-safe behavior may not prompt before running it.
Fix: Declare accurate annotations, and gate destructive tools on user confirmation regardless.
Location: tool exec_in_container
In a packaging/dev/install script (shipped, but not the server runtime) (`tests/compose.test.ts:10`): 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: vi.fn(), })); vi.mock("child_process", () => ({ execSync: mockExecSync, exec: vi.fn(), })); vi.mock("fs", () => ({
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/compose.test.ts
Each tool and what it can reach — statically extracted from the published source.
compose_logsreads sensitive dataexec_in_containerruns code / shellbuild_imageno sensitive capabilitycheck_healthno sensitive capabilitycompose_downno sensitive capabilitycompose_psno sensitive capabilitycompose_restartno sensitive capabilitycompose_upno sensitive capabilitycontainer_health_statusno sensitive capabilitycontainer_resource_usageno sensitive capabilitycontainer_statsno sensitive capabilitycopy_from_containerno sensitive capabilitycopy_to_containerno sensitive capabilitycreate_containerno sensitive capabilitycreate_volumeno sensitive capabilitydisk_usageno sensitive capabilitydocker_infono sensitive capabilityfleet_statusno sensitive capabilityinspect_containerno sensitive capabilityinspect_contextno sensitive capabilityinspect_volumeno sensitive capabilitylist_containersno sensitive capabilitylist_contextsno sensitive capabilitylist_imagesno sensitive capabilitylist_networksno sensitive capabilitylist_volumesno sensitive capabilitymonitor_dashboardno sensitive capabilityprune_containersno sensitive capabilityprune_imagesno sensitive capabilityprune_volumesno sensitive capabilitypull_imageno sensitive capabilityrecreate_containerno sensitive capabilityregistry_loginno sensitive capabilityregistry_pushno sensitive capabilityregistry_searchno sensitive capabilityremove_containerno sensitive capabilityremove_imageno sensitive capabilityremove_volumeno sensitive capabilityresource_alert_checkno sensitive capabilityrestart_containerno sensitive capabilityrun_containerno sensitive capabilityscan_imageno sensitive capabilitysearch_logsno sensitive capabilityset_restart_policyno sensitive capabilitystart_containerno sensitive capabilitystop_containerno sensitive capabilitystream_logsno sensitive capabilityupdate_containerno sensitive capabilityuse_contextno sensitive capabilityvulnerability_reportno sensitive capabilitywatch_eventsno sensitive capabilitywatch_healthno sensitive capabilityCross-tool combinations that form a data-exfiltration primitive (untrusted input → sensitive source → external sink).
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 |
|---|---|---|---|---|
v0.4.3 latest |
B 84/100 | 10 | 1.13.0 | 2026-08-25 |
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 @supernova123/docker-mcp-server --online
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.