MCP Podman

v0.1.1
io.github.crunchtools/podman Checked 19 hours ago Published 5 months ago

MCP server for Podman container management via the Podman REST API

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

container_list_tool Container List Tool

List containers.

ParameterTypeDescription
all_containersbooleanShow all containers (default shows only running)
filtersFilter by key/value pairs (e.g. {"name": ["myapp"]})
limitMaximum number of containers to return

container_inspect_tool Container Inspect Tool

Get detailed information about a container.

ParameterTypeDescription
name *stringContainer name or ID

container_start_tool Container Start Tool

Start a stopped container.

ParameterTypeDescription
name *stringContainer name or ID

container_stop_tool Container Stop Tool

Stop a running container.

ParameterTypeDescription
name *stringContainer name or ID
timeoutintegerSeconds to wait before killing (default: 10)

container_restart_tool Container Restart Tool

Restart a container.

ParameterTypeDescription
name *stringContainer name or ID
timeoutintegerSeconds to wait before killing (default: 10)

container_kill_tool Container Kill Tool

Send a signal to a container.

ParameterTypeDescription
name *stringContainer name or ID
signalstringSignal to send (default: SIGTERM)

container_rm_tool Container Rm Tool

Remove a container.

ParameterTypeDescription
name *stringContainer name or ID
forcebooleanForce removal of running container
volumesbooleanRemove associated anonymous volumes

container_logs_tool Container Logs Tool

Get container logs.

ParameterTypeDescription
name *stringContainer name or ID
sinceShow logs since timestamp (e.g. "2024-01-01T00:00:00Z")
tailNumber of lines from the end of the logs
timestampsbooleanAdd timestamps to each log line

container_top_tool Container Top Tool

List processes running inside a container.

ParameterTypeDescription
name *stringContainer name or ID
ps_argsArguments to pass to ps (e.g. "aux")

container_stats_tool Container Stats Tool

Get container resource usage statistics.

ParameterTypeDescription
name *stringContainer name or ID

container_create_tool Container Create Tool

Create a new container.

ParameterTypeDescription
image *stringContainer image (e.g. "registry.access.redhat.com/ubi9/ubi:latest")
commandCommand to run
envEnvironment variables
labelsContainer labels
nameContainer name
volumesVolume mounts (format: "host_path:container_path[:options]")

container_prune_tool Container Prune Tool

Remove all stopped containers.

image_list_tool Image List Tool

List images.

ParameterTypeDescription
filtersFilter by key/value pairs (e.g. {"reference": ["ubi9"]})

image_inspect_tool Image Inspect Tool

Get detailed information about an image.

ParameterTypeDescription
name *stringImage name, tag, or ID

image_pull_tool Image Pull Tool

Pull an image from a registry.

ParameterTypeDescription
reference *stringImage reference (e.g. "quay.io/crunchtools/rotv:latest")

image_rm_tool Image Rm Tool

Remove an image.

ParameterTypeDescription
name *stringImage name, tag, or ID
forcebooleanForce removal even if in use

image_prune_tool Image Prune Tool

Remove unused images.

pod_list_tool Pod List Tool

List pods.

ParameterTypeDescription
filtersFilter by key/value pairs (e.g. {"name": ["mypod"]})

pod_inspect_tool Pod Inspect Tool

Get detailed information about a pod.

ParameterTypeDescription
name *stringPod name or ID

pod_start_tool Pod Start Tool

Start a pod and all its containers.

ParameterTypeDescription
name *stringPod name or ID

pod_stop_tool Pod Stop Tool

Stop a pod and all its containers.

ParameterTypeDescription
name *stringPod name or ID
timeoutintegerSeconds to wait before killing (default: 10)

pod_restart_tool Pod Restart Tool

Restart a pod and all its containers.

ParameterTypeDescription
name *stringPod name or ID

pod_rm_tool Pod Rm Tool

Remove a pod and all its containers.

ParameterTypeDescription
name *stringPod name or ID
forcebooleanForce removal of running pod

pod_create_tool Pod Create Tool

Create a new pod.

ParameterTypeDescription
name *stringPod name
infrabooleanCreate an infra container (default: True)
labelsPod labels
shareNamespaces to share (ipc, net, uts, pid)

network_list_tool Network List Tool

List networks.

ParameterTypeDescription
filtersFilter by key/value pairs

network_inspect_tool Network Inspect Tool

Get detailed information about a network.

ParameterTypeDescription
name *stringNetwork name or ID

volume_list_tool Volume List Tool

List volumes.

ParameterTypeDescription
filtersFilter by key/value pairs

volume_inspect_tool Volume Inspect Tool

Get detailed information about a volume.

ParameterTypeDescription
name *stringVolume name

system_info_tool System Info Tool

Get Podman system information.

system_df_tool System Df Tool

Get Podman disk usage.