Mcp Server Docker — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited Mcp Server Docker (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
This MCP (Model Context Protocol) server provides a secure interface for running commands inside Docker containers. It acts as a privileged sidecar that can execute arbitrary commands within specified Docker Compose service containers.
Run the MCP server directly without cloning:
npx mcp-server-dockerOr install globally:
npm install -g mcp-server-docker
mcp-server-dockerAdd the following to your docker-compose.yml:
services:
mcp-docker:
build: ./mcp-server-docker
volumes:
- /var/run/docker.sock:/var/run/docker.sock
ports:
- "3001:3000" # Expose MCP server
environment:
- COMPOSE_PROJECT_NAME=${COMPOSE_PROJECT_NAME}
- DEFAULT_SERVICE=app
- COMPOSE_FILE=docker-compose.yml
- PORT=3000
networks:
- your-networkcd mcp-server-docker
npm install
npm run buildThe server accepts the following environment variables:
ALLOWED_CONTAINERS: Comma-separated list of allowed service:container pairs (e.g., "app:myapp_container,db:mydb_container")DEFAULT_SERVICE: Default service to run commands in (default: "laravel_app")COMMAND_TIMEOUT: Command timeout in milliseconds (default: 300000)The server exposes a single tool called run_command:
{
"command": "string (required) - The command to execute",
"service": "string (optional) - Docker service name"
}{
"command": "npm test",
"service": "frontend"
}The tool returns the command output with the following structure:
The server uses STDIO transport for MCP communication. When run with npx mcp-server-docker, it will:
# Run in development mode
npm run dev
# Build TypeScript
npm run build
# Run tests
npm test~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.