Docker MCP Server
DevOpsstdiov0.3.0
Official Docker MCP server for container management. Enables AI agents to list, start, stop, and inspect Docker containers, manage images, view logs, and execute commands inside running containers. Supports Docker Compose operations for multi-container applications and provides container health monitoring capabilities.
Verbinden
Fügen Sie diese Konfiguration hinzu zu .claude/mcp.json
{
"mcpServers": {
"docker": {
"command": "npx",
"args": [
"-y",
"@docker/mcp-server"
]
}
}
}Werkzeuge (4)
list_containers
List all Docker containers with their status, ports, and resource usage.
{
"type": "object",
"properties": {
"all": {
"type": "boolean",
"description": "Include stopped containers (default false)"
},
"filters": {
"type": "object",
"description": "Filter containers by label, status, or name"
}
}
}run_container
Create and start a new Docker container from an image.
{
"type": "object",
"required": [
"image"
],
"properties": {
"env": {
"type": "object",
"description": "Environment variables"
},
"name": {
"type": "string",
"description": "Container name"
},
"image": {
"type": "string",
"description": "Docker image name and tag"
},
"ports": {
"type": "object",
"description": "Port mappings (host:container)"
},
"volumes": {
"type": "array",
"items": {
"type": "string"
},
"description": "Volume mounts"
}
}
}container_logs
Retrieve logs from a running or stopped container.
{
"type": "object",
"required": [
"container"
],
"properties": {
"tail": {
"type": "integer",
"description": "Number of lines from the end (default 100)"
},
"since": {
"type": "string",
"description": "Show logs since timestamp or relative time"
},
"container": {
"type": "string",
"description": "Container name or ID"
}
}
}exec_command
Execute a command inside a running container.
{
"type": "object",
"required": [
"container",
"command"
],
"properties": {
"command": {
"type": "array",
"items": {
"type": "string"
},
"description": "Command and arguments to execute"
},
"container": {
"type": "string",
"description": "Container name or ID"
}
}
}Ressourcen
Dieser Server stellt keine Ressourcen bereit.
Prompts
Dieser Server stellt keine Prompts bereit.
Serverinformationen
- Autor
- Docker (@docker)
- Repository
- https://github.com/docker/mcp-gateway
- Lizenz
- Apache-2.0
- Version
- 0.3.0
- Sterne
- 1,410
- Zuletzt aktualisiert
- 25. Mai 2026