iflow-mcp-ckreiling-mcp-server-docker
v0.2.1A Docker MCP Server
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
list_containers
List all Docker containers
| Parameter | Type | Description |
|---|---|---|
all | boolean | Show all containers (default shows just running) |
filters | Filter containers |
create_container
Create a new Docker container
| Parameter | Type | Description |
|---|---|---|
image * | string | Docker image name |
auto_remove | boolean | Automatically remove the container |
command | Command to run in container | |
detach | boolean | Run container in the background. Should be True for long-running containers, can be false for short-lived containers |
entrypoint | Entrypoint to run in container | |
environment | Environment variables dictionary | |
labels | Container labels, either as a dictionary or a list of key=value strings | |
name | Container name | |
network | Network to attach the container to | |
ports | A map whose keys are the container port, and the values are the host port(s) to bind to. | |
volumes | Volume mappings |
run_container
Run an image in a new Docker container (preferred over `create_container` + `start_container`)
| Parameter | Type | Description |
|---|---|---|
image * | string | Docker image name |
auto_remove | boolean | Automatically remove the container |
command | Command to run in container | |
detach | boolean | Run container in the background. Should be True for long-running containers, can be false for short-lived containers |
entrypoint | Entrypoint to run in container | |
environment | Environment variables dictionary | |
labels | Container labels, either as a dictionary or a list of key=value strings | |
name | Container name | |
network | Network to attach the container to | |
ports | A map whose keys are the container port, and the values are the host port(s) to bind to. | |
volumes | Volume mappings |
recreate_container
Stop and remove a container, then run a new container. Fails if the container does not exist.
| Parameter | Type | Description |
|---|---|---|
image * | string | Docker image name |
auto_remove | boolean | Automatically remove the container |
command | Command to run in container | |
container_id | Container ID to recreate. The `name` parameter will be used if this is not provided | |
detach | boolean | Run container in the background. Should be True for long-running containers, can be false for short-lived containers |
entrypoint | Entrypoint to run in container | |
environment | Environment variables dictionary | |
labels | Container labels, either as a dictionary or a list of key=value strings | |
name | Container name | |
network | Network to attach the container to | |
ports | A map whose keys are the container port, and the values are the host port(s) to bind to. | |
volumes | Volume mappings |
start_container
Start a Docker container
| Parameter | Type | Description |
|---|---|---|
container_id * | string | Container ID or name |
fetch_container_logs
Fetch logs for a Docker container
| Parameter | Type | Description |
|---|---|---|
container_id * | string | Container ID or name |
tail | Number of lines to show from the end |
stop_container
Stop a Docker container
| Parameter | Type | Description |
|---|---|---|
container_id * | string | Container ID or name |
remove_container
Remove a Docker container
| Parameter | Type | Description |
|---|---|---|
container_id * | string | Container ID or name |
force | boolean | Force remove the container |
list_images
List Docker images
| Parameter | Type | Description |
|---|---|---|
all | boolean | Show all images (default hides intermediate) |
filters | Filter images | |
name | Filter images by repository name, if desired |
pull_image
Pull a Docker image
| Parameter | Type | Description |
|---|---|---|
repository * | string | Image repository |
tag | Image tag |
push_image
Push a Docker image
| Parameter | Type | Description |
|---|---|---|
repository * | string | Image repository |
tag | Image tag |
build_image
Build a Docker image from a Dockerfile
| Parameter | Type | Description |
|---|---|---|
path * | string | Path to build context |
tag * | string | Image tag |
dockerfile | Path to Dockerfile |
remove_image
Remove a Docker image
| Parameter | Type | Description |
|---|---|---|
image * | string | Image ID or name |
force | boolean | Force remove the image |
list_networks
List Docker networks
| Parameter | Type | Description |
|---|---|---|
filters | Filter networks |
create_network
Create a Docker network
| Parameter | Type | Description |
|---|---|---|
name * | string | Network name |
driver | Network driver | |
internal | boolean | Create an internal network |
labels | Network labels |
remove_network
Remove a Docker network
| Parameter | Type | Description |
|---|---|---|
network_id * | string | Network ID or name |
list_volumes
List Docker volumes
create_volume
Create a Docker volume
| Parameter | Type | Description |
|---|---|---|
name * | string | Volume name |
driver | Volume driver | |
labels | Volume labels |
remove_volume
Remove a Docker volume
| Parameter | Type | Description |
|---|---|---|
volume_name * | string | Volume name |
force | boolean | Force remove the volume |