A Clawdbot plugin that integrates Docker Desktop's MCP Toolkit to provide comprehensive Docker container management, image operations, and development workflow capabilities.
- Container Management: List, start, stop, inspect, and manage Docker containers
- Image Operations: Pull, build, tag, and manage Docker images
- Volume & Network Management: Create and manage Docker volumes and networks
- Compose Support: Work with Docker Compose files and services
- MCP Protocol: Leverages the Model Context Protocol for seamless integration
- Auto-discovery: Automatically discovers and exposes all available Docker MCP tools
- Docker Desktop installed with MCP Toolkit enabled
- Clawdbot >= 2026.1.23
- Docker MCP Toolkit configured (comes with Docker Desktop)
clawdbot plugins install @clawdbot/docker-mcp# Clone or download this repository
git clone https://github.com/clawdbot/docker-mcp-plugin.git
# Install the plugin
clawdbot plugins install ./docker-mcp-pluginclawdbot plugins enable docker-mcpAdd to your clawdbot.json config:
{
"plugins": {
"entries": {
"docker-mcp": {
"enabled": true,
"config": {
"mcpCommand": "docker",
"mcpArgs": ["mcp", "gateway", "run"],
"enabledServers": [],
"timeout": 30000,
"debug": false
}
}
}
}
}| Option | Type | Default | Description |
|---|---|---|---|
enabled |
boolean | true |
Enable/disable the plugin |
mcpCommand |
string | "docker" |
Path to docker command |
mcpArgs |
string[] | ["mcp", "gateway", "run"] |
Arguments for docker mcp |
enabledServers |
string[] | [] (all) |
List of specific MCP servers to enable |
timeout |
number | 30000 |
Timeout in ms for MCP operations |
debug |
boolean | false |
Enable debug logging |
Once installed, you can use Docker operations naturally in your conversations with Clawdbot:
"List all running containers"
"Stop the container named my-app"
"Show logs for the nginx container"
"Start a new Ubuntu container"
"Pull the latest node image"
"Build a Docker image from the current directory"
"List all local Docker images"
"Remove unused images"
"Start the services defined in docker-compose.yml"
"Scale the web service to 3 instances"
"Show the status of all compose services"
"Create a development environment with PostgreSQL and Redis"
"Set up a Docker network for microservices"
"Create a volume for persistent data"
📖 See USAGE_EXAMPLES.md for detailed examples and tool call formats.
The plugin automatically discovers and exposes all Docker MCP Toolkit tools. Common tools include:
docker_container_list- List containersdocker_container_start- Start a containerdocker_container_stop- Stop a containerdocker_container_logs- Get container logsdocker_image_list- List imagesdocker_image_pull- Pull an imagedocker_image_build- Build an imagedocker_compose_up- Start compose servicesdocker_compose_down- Stop compose services- And many more...
- Verify Docker Desktop is installed and running
- Check that Docker MCP Toolkit is available:
docker mcp --help
- Review Clawdbot logs:
clawdbot gateway logs
- Ensure Docker daemon is running
- Check Docker Desktop settings for MCP Toolkit
- Verify no firewall blocking local connections
- Run
docker mcp catalogto see available servers - Check
enabledServersconfig if you're filtering servers - Try setting
debug: truein config to see discovery logs
# Install dependencies
npm install
# Run tests (when available)
npm test
# Build (if using TypeScript compilation)
npm run buildContributions welcome! Please:
- Fork the repository
- Create a feature branch
- Make your changes
- Add tests if applicable
- Submit a pull request
MIT
Created by the Clawdbot community. Built on Docker Desktop's MCP Toolkit.