iflow-mcp-ckreiling-mcp-server-docker

v0.2.1
iflow-mcp-ckreiling-mcp-server-docker Checked 16 hours ago Published 9 months ago

A 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

ParameterTypeDescription
allbooleanShow all containers (default shows just running)
filtersFilter containers

create_container

Create a new Docker container

ParameterTypeDescription
image *stringDocker image name
auto_removebooleanAutomatically remove the container
commandCommand to run in container
detachbooleanRun container in the background. Should be True for long-running containers, can be false for short-lived containers
entrypointEntrypoint to run in container
environmentEnvironment variables dictionary
labelsContainer labels, either as a dictionary or a list of key=value strings
nameContainer name
networkNetwork to attach the container to
portsA map whose keys are the container port, and the values are the host port(s) to bind to.
volumesVolume mappings

run_container

Run an image in a new Docker container (preferred over `create_container` + `start_container`)

ParameterTypeDescription
image *stringDocker image name
auto_removebooleanAutomatically remove the container
commandCommand to run in container
detachbooleanRun container in the background. Should be True for long-running containers, can be false for short-lived containers
entrypointEntrypoint to run in container
environmentEnvironment variables dictionary
labelsContainer labels, either as a dictionary or a list of key=value strings
nameContainer name
networkNetwork to attach the container to
portsA map whose keys are the container port, and the values are the host port(s) to bind to.
volumesVolume mappings

recreate_container

Stop and remove a container, then run a new container. Fails if the container does not exist.

ParameterTypeDescription
image *stringDocker image name
auto_removebooleanAutomatically remove the container
commandCommand to run in container
container_idContainer ID to recreate. The `name` parameter will be used if this is not provided
detachbooleanRun container in the background. Should be True for long-running containers, can be false for short-lived containers
entrypointEntrypoint to run in container
environmentEnvironment variables dictionary
labelsContainer labels, either as a dictionary or a list of key=value strings
nameContainer name
networkNetwork to attach the container to
portsA map whose keys are the container port, and the values are the host port(s) to bind to.
volumesVolume mappings

start_container

Start a Docker container

ParameterTypeDescription
container_id *stringContainer ID or name

fetch_container_logs

Fetch logs for a Docker container

ParameterTypeDescription
container_id *stringContainer ID or name
tailNumber of lines to show from the end

stop_container

Stop a Docker container

ParameterTypeDescription
container_id *stringContainer ID or name

remove_container

Remove a Docker container

ParameterTypeDescription
container_id *stringContainer ID or name
forcebooleanForce remove the container

list_images

List Docker images

ParameterTypeDescription
allbooleanShow all images (default hides intermediate)
filtersFilter images
nameFilter images by repository name, if desired

pull_image

Pull a Docker image

ParameterTypeDescription
repository *stringImage repository
tagImage tag

push_image

Push a Docker image

ParameterTypeDescription
repository *stringImage repository
tagImage tag

build_image

Build a Docker image from a Dockerfile

ParameterTypeDescription
path *stringPath to build context
tag *stringImage tag
dockerfilePath to Dockerfile

remove_image

Remove a Docker image

ParameterTypeDescription
image *stringImage ID or name
forcebooleanForce remove the image

list_networks

List Docker networks

ParameterTypeDescription
filtersFilter networks

create_network

Create a Docker network

ParameterTypeDescription
name *stringNetwork name
driverNetwork driver
internalbooleanCreate an internal network
labelsNetwork labels

remove_network

Remove a Docker network

ParameterTypeDescription
network_id *stringNetwork ID or name

list_volumes

List Docker volumes

create_volume

Create a Docker volume

ParameterTypeDescription
name *stringVolume name
driverVolume driver
labelsVolume labels

remove_volume

Remove a Docker volume

ParameterTypeDescription
volume_name *stringVolume name
forcebooleanForce remove the volume