MCP server intelligence profile

Docker MCP Server

An MCP server that enables AI assistants to manage Docker containers, images, networks, and volumes through a standardized interface.

Local OnlySwartdraak
Awaiting current scanNpm · 2.0.0

The selected current version does not yet have completed public verification. Unknown does not mean clean or vulnerable.

1Distribution channel
37Independently observed tools
0Linked remote endpoints
AvailableVersion intelligence

Detailed security scan evidence is not public for this MCP yet. Public identity, registry metadata, and independently observed protocol inventory remain available.

Install and connect

Installation and connection instructions are shown only when supported by retained package, repository, or endpoint evidence.

Install @swartdraak/docker-mcp-server from npm

Version 2.0.0 declares 1 executable entrypoint.

npm install --save-exact @swartdraak/docker-mcp-server@2.0.0
npx -y -p @swartdraak/docker-mcp-server@2.0.0 @swartdraak/docker-mcp-server
MCP client configuration example
{
  "mcpServers": {
    "@swartdraak/docker-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "-p",
        "@swartdraak/docker-mcp-server@2.0.0",
        "@swartdraak/docker-mcp-server"
      ]
    }
  }
}

Identity

Canonical slugdocker-mcp-server-cc65c358DeploymentLocal Only
Canonical packagenpm:@swartdraak/docker-mcp-serverRepositorySwartdraak/Docker-MCP
First publishedLatest release
Last security verificationClassification confidence90%
PublicationDraftOfficial distributionNot verified

Distributions

ChannelIdentifierCurrent versionVersionsSource
npm@swartdraak/docker-mcp-server2.0.01Repository

Current release

PackageVersionPublished / observedInventorySecurity scan
npm@swartdraak/docker-mcp-server2.0.0CurrentSep 5, 202637 toolsSucceeded · 0 resources · 0 promptsEvidence restricted
Enterprise protection

Continuously monitor this MCP for security risk

Independently scan the exact version your agents use, receive alerts when its risk changes, and investigate every finding with retained version evidence.

  • Independent exact-version security scans
  • Continuous release and vulnerability monitoring
  • Risk-change alerts with capability context
  • Historical evidence and API exports
Custom pricingContact salesTailored to your organization, integrations, data needs, and support requirements.

Current version evidence

No public current-version evidence is available yet.

Current protocol inventory

2025-06-18Negotiated protocol
docker-mcp-serverServer-reported name
1Capability groups
Aug 22, 2026Observed

Tools 37

ToolCategoryAnnotationsRisk
build_imageBuild a Docker image from a Dockerfile
Input schema
{
  "type": "object",
  "properties": {
    "context": {
      "type": "string",
      "description": "Path to the build context directory"
    },
    "dockerfile": {
      "type": "string",
      "description": "Path to the Dockerfile (relative to context)",
      "default": "Dockerfile"
    },
    "tag": {
      "type": "string",
      "description": "Name and optionally tag in 'name:tag' format"
    },
    "buildArgs": {
      "type": "object",
      "description": "Build-time variables as key-value pairs"
    }
  },
  "required": [
    "context",
    "tag"
  ]
}
connect_networkConnect a container to a network
Input schema
{
  "type": "object",
  "properties": {
    "networkId": {
      "type": "string",
      "description": "Network ID or name"
    },
    "containerId": {
      "type": "string",
      "description": "Container ID or name"
    }
  },
  "required": [
    "networkId",
    "containerId"
  ]
}
container_logsGet logs from a container
Input schema
{
  "type": "object",
  "properties": {
    "containerId": {
      "type": "string",
      "description": "Container ID or name"
    },
    "tail": {
      "type": "number",
      "description": "Number of lines to show from the end of the logs",
      "default": 100
    },
    "follow": {
      "type": "boolean",
      "description": "Follow log output",
      "default": false
    }
  },
  "required": [
    "containerId"
  ]
}
container_statsGet real-time resource usage statistics for a container (CPU, memory, network, I/O)
Input schema
{
  "type": "object",
  "properties": {
    "containerId": {
      "type": "string",
      "description": "Container ID or name"
    },
    "stream": {
      "type": "boolean",
      "description": "Stream stats continuously",
      "default": false
    }
  },
  "required": [
    "containerId"
  ]
}
create_containerCreate a new Docker container
Input schema
{
  "type": "object",
  "properties": {
    "image": {
      "type": "string",
      "description": "Docker image name (e.g., 'nginx:latest')"
    },
    "name": {
      "type": "string",
      "description": "Container name"
    },
    "command": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Command to run as an array (e.g., ['python', 'app.py'])"
    },
    "entrypoint": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Entrypoint as an array (e.g., ['/bin/bash', '-c'])"
    },
    "env": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Environment variables as array of KEY=VALUE strings (e.g., ['NODE_ENV=production', 'PORT=3000'])"
    },
    "exposedPorts": {
      "type": "object",
      "description": "Exposed ports as object with port/protocol keys (e.g., {'80/tcp': {}, '443/tcp': {}})"
    },
    "hostConfig": {
      "type": "object",
      "description": "Host configuration including port bindings and volumes",
      "properties": {
        "PortBindings": {
          "type": "object",
          "description": "Port bindings (e.g., {'80/tcp': [{'HostPort': '8080'}]})"
        },
        "Binds": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "Volume bindings as array (e.g., ['/host/path:/container/path'])"
        }
      }
    },
    "labels": {
      "type": "object",
      "description": "Container labels as key-value pairs"
    }
  },
  "required": [
    "image"
  ]
}
create_networkCreate a Docker network
Input schema
{
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "Network name"
    },
    "driver": {
      "type": "string",
      "description": "Network driver (bridge, overlay, host, etc.)",
      "default": "bridge"
    },
    "internal": {
      "type": "boolean",
      "description": "Restrict external access to the network",
      "default": false
    }
  },
  "required": [
    "name"
  ]
}
create_volumeCreate a Docker volume
Input schema
{
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "Volume name"
    },
    "driver": {
      "type": "string",
      "description": "Volume driver",
      "default": "local"
    },
    "labels": {
      "type": "object",
      "description": "Labels as key-value pairs"
    }
  },
  "required": [
    "name"
  ]
}
disconnect_networkDisconnect a container from a network
Input schema
{
  "type": "object",
  "properties": {
    "networkId": {
      "type": "string",
      "description": "Network ID or name"
    },
    "containerId": {
      "type": "string",
      "description": "Container ID or name"
    },
    "force": {
      "type": "boolean",
      "description": "Force disconnect",
      "default": false
    }
  },
  "required": [
    "networkId",
    "containerId"
  ]
}
exec_containerExecute a command in a running container
Input schema
{
  "type": "object",
  "properties": {
    "containerId": {
      "type": "string",
      "description": "Container ID or name"
    },
    "command": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Command to execute as an array (e.g., ['ls', '-la', '/app'])"
    },
    "workingDir": {
      "type": "string",
      "description": "Working directory for the command"
    },
    "env": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Environment variables as array of KEY=VALUE strings"
    }
  },
  "required": [
    "containerId",
    "command"
  ]
}
inspect_containerGet detailed information about a container
Input schema
{
  "type": "object",
  "properties": {
    "containerId": {
      "type": "string",
      "description": "Container ID or name"
    }
  },
  "required": [
    "containerId"
  ]
}
inspect_networkGet detailed information about a network
Input schema
{
  "type": "object",
  "properties": {
    "networkId": {
      "type": "string",
      "description": "Network ID or name"
    }
  },
  "required": [
    "networkId"
  ]
}
inspect_volumeGet detailed information about a volume
Input schema
{
  "type": "object",
  "properties": {
    "volumeName": {
      "type": "string",
      "description": "Volume name"
    }
  },
  "required": [
    "volumeName"
  ]
}
list_containersList all Docker containers
Input schema
{
  "type": "object",
  "properties": {
    "all": {
      "type": "boolean",
      "description": "Show all containers (default shows just running)",
      "default": false
    }
  }
}
list_imagesList Docker images
Input schema
{
  "type": "object",
  "properties": {
    "all": {
      "type": "boolean",
      "description": "Show all images (default hides intermediate)",
      "default": false
    }
  }
}
list_networksList Docker networks
Input schema
{
  "type": "object",
  "properties": {}
}
list_volumesList Docker volumes
Input schema
{
  "type": "object",
  "properties": {}
}
pause_containerPause all processes within a container
Input schema
{
  "type": "object",
  "properties": {
    "containerId": {
      "type": "string",
      "description": "Container ID or name"
    }
  },
  "required": [
    "containerId"
  ]
}
prune_containersRemove all stopped containers
Input schema
{
  "type": "object",
  "properties": {}
}
prune_imagesRemove unused images
Input schema
{
  "type": "object",
  "properties": {
    "all": {
      "type": "boolean",
      "description": "Remove all unused images, not just dangling ones",
      "default": false
    }
  }
}
prune_networksRemove all unused networks
Input schema
{
  "type": "object",
  "properties": {}
}
prune_volumesRemove all unused volumes
Input schema
{
  "type": "object",
  "properties": {}
}
pull_imagePull a Docker image from a registry
Input schema
{
  "type": "object",
  "properties": {
    "image": {
      "type": "string",
      "description": "Image name with optional tag (e.g., 'nginx:latest')"
    }
  },
  "required": [
    "image"
  ]
}
push_imagePush an image to a Docker registry
Input schema
{
  "type": "object",
  "properties": {
    "image": {
      "type": "string",
      "description": "Image name with optional tag (e.g., 'myrepo/myimage:latest')"
    }
  },
  "required": [
    "image"
  ]
}
remove_containerRemove a Docker container
Input schema
{
  "type": "object",
  "properties": {
    "containerId": {
      "type": "string",
      "description": "Container ID or name"
    },
    "force": {
      "type": "boolean",
      "description": "Force removal of running container",
      "default": false
    },
    "volumes": {
      "type": "boolean",
      "description": "Remove associated volumes",
      "default": false
    }
  },
  "required": [
    "containerId"
  ]
}
remove_imageRemove a Docker image
Input schema
{
  "type": "object",
  "properties": {
    "image": {
      "type": "string",
      "description": "Image name or ID"
    },
    "force": {
      "type": "boolean",
      "description": "Force removal of the image",
      "default": false
    }
  },
  "required": [
    "image"
  ]
}
remove_networkRemove a Docker network
Input schema
{
  "type": "object",
  "properties": {
    "networkId": {
      "type": "string",
      "description": "Network ID or name"
    }
  },
  "required": [
    "networkId"
  ]
}
remove_volumeRemove a Docker volume
Input schema
{
  "type": "object",
  "properties": {
    "volumeName": {
      "type": "string",
      "description": "Volume name"
    },
    "force": {
      "type": "boolean",
      "description": "Force removal",
      "default": false
    }
  },
  "required": [
    "volumeName"
  ]
}
rename_containerRename a Docker container
Input schema
{
  "type": "object",
  "properties": {
    "containerId": {
      "type": "string",
      "description": "Container ID or current name"
    },
    "newName": {
      "type": "string",
      "description": "New name for the container"
    }
  },
  "required": [
    "containerId",
    "newName"
  ]
}
restart_containerRestart a Docker container
Input schema
{
  "type": "object",
  "properties": {
    "containerId": {
      "type": "string",
      "description": "Container ID or name"
    },
    "timeout": {
      "type": "number",
      "description": "Seconds to wait before killing the container",
      "default": 10
    }
  },
  "required": [
    "containerId"
  ]
}
run_containerRun a container (create and start). This is the preferred method for starting containers.
Input schema
{
  "type": "object",
  "properties": {
    "image": {
      "type": "string",
      "description": "Docker image name (e.g., 'nginx:latest')"
    },
    "name": {
      "type": "string",
      "description": "Container name"
    },
    "command": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Command to run as an array (e.g., ['python', 'app.py'])"
    },
    "entrypoint": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Entrypoint as an array (e.g., ['/bin/bash', '-c'])"
    },
    "env": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Environment variables as array of KEY=VALUE strings (e.g., ['NODE_ENV=production', 'PORT=3000'])"
    },
    "exposedPorts": {
      "type": "object",
      "description": "Exposed ports as object with port/protocol keys (e.g., {'80/tcp': {}, '443/tcp': {}})"
    },
    "hostConfig": {
      "type": "object",
      "description": "Host configuration including port bindings and volumes",
      "properties": {
        "PortBindings": {
          "type": "object",
          "description": "Port bindings (e.g., {'80/tcp': [{'HostPort': '8080'}]})"
        },
        "Binds": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "Volume bindings as array (e.g., ['/host/path:/container/path'])"
        }
      }
    },
    "labels": {
      "type": "object",
      "description": "Container labels as key-value pairs"
    }
  },
  "required": [
    "image"
  ]
}
start_containerStart a stopped Docker container
Input schema
{
  "type": "object",
  "properties": {
    "containerId": {
      "type": "string",
      "description": "Container ID or name"
    }
  },
  "required": [
    "containerId"
  ]
}
stop_containerStop a running Docker container
Input schema
{
  "type": "object",
  "properties": {
    "containerId": {
      "type": "string",
      "description": "Container ID or name"
    },
    "timeout": {
      "type": "number",
      "description": "Seconds to wait before killing the container",
      "default": 10
    }
  },
  "required": [
    "containerId"
  ]
}
system_infoGet Docker system information
Input schema
{
  "type": "object",
  "properties": {}
}
system_versionGet Docker version information
Input schema
{
  "type": "object",
  "properties": {}
}
tag_imageTag an image with a new name/tag
Input schema
{
  "type": "object",
  "properties": {
    "image": {
      "type": "string",
      "description": "Source image name or ID"
    },
    "repo": {
      "type": "string",
      "description": "Repository name for the tag"
    },
    "tag": {
      "type": "string",
      "description": "Tag name (e.g., 'latest', 'v1.0')",
      "default": "latest"
    }
  },
  "required": [
    "image",
    "repo"
  ]
}
unpause_containerUnpause all processes within a container
Input schema
{
  "type": "object",
  "properties": {
    "containerId": {
      "type": "string",
      "description": "Container ID or name"
    }
  },
  "required": [
    "containerId"
  ]
}
validate_connectionValidate Docker connection and test basic operations. Returns connection status, configuration details, and basic Docker information. Useful for troubleshooting connection issues.
Input schema
{
  "type": "object",
  "properties": {}
}

Resources 0

  • None observed.

Resource templates 0

  • None observed.

Prompts 0

  • None observed.

Remote endpoints

EndpointTransportAuthenticationHealthObserved
No verified remote endpoint is linked.

Docker MCP Server questions

How do I install Docker MCP Server?

Install the selected package version with: npm install --save-exact @swartdraak/docker-mcp-server@2.0.0

What tools does Docker MCP Server provide?

Docker MCP Server exposed 37 tools during independent protocol observation, including build_image, connect_network, container_logs, container_stats, create_container, create_network, create_volume, disconnect_network, and others.

Is Docker MCP Server secure?

The selected current version does not yet have completed public verification. Unknown does not mean clean or vulnerable.

Company and product intelligence

These internal links are derived from strong identity fields such as the implementation name, package, repository, vendor, and listing name—not generic description prose.

Associated company landscape

Docker intelligence →

Association is based on retained identity fields; it does not by itself prove first-party publication.

Explore related MCP server guides

Curated product and capability guides containing this catalog record.

Official vs Community MCP Servers

Let’s talk about MCP security.

Share your details and our security team will contact you.