MCP Podman
v0.1.1MCP 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.
| Parameter | Type | Description |
|---|---|---|
all_containers | boolean | Show all containers (default shows only running) |
filters | Filter by key/value pairs (e.g. {"name": ["myapp"]}) | |
limit | Maximum number of containers to return |
container_inspect_tool Container Inspect Tool
Get detailed information about a container.
| Parameter | Type | Description |
|---|---|---|
name * | string | Container name or ID |
container_start_tool Container Start Tool
Start a stopped container.
| Parameter | Type | Description |
|---|---|---|
name * | string | Container name or ID |
container_stop_tool Container Stop Tool
Stop a running container.
| Parameter | Type | Description |
|---|---|---|
name * | string | Container name or ID |
timeout | integer | Seconds to wait before killing (default: 10) |
container_restart_tool Container Restart Tool
Restart a container.
| Parameter | Type | Description |
|---|---|---|
name * | string | Container name or ID |
timeout | integer | Seconds to wait before killing (default: 10) |
container_kill_tool Container Kill Tool
Send a signal to a container.
| Parameter | Type | Description |
|---|---|---|
name * | string | Container name or ID |
signal | string | Signal to send (default: SIGTERM) |
container_rm_tool Container Rm Tool
Remove a container.
| Parameter | Type | Description |
|---|---|---|
name * | string | Container name or ID |
force | boolean | Force removal of running container |
volumes | boolean | Remove associated anonymous volumes |
container_logs_tool Container Logs Tool
Get container logs.
| Parameter | Type | Description |
|---|---|---|
name * | string | Container name or ID |
since | Show logs since timestamp (e.g. "2024-01-01T00:00:00Z") | |
tail | Number of lines from the end of the logs | |
timestamps | boolean | Add timestamps to each log line |
container_top_tool Container Top Tool
List processes running inside a container.
| Parameter | Type | Description |
|---|---|---|
name * | string | Container name or ID |
ps_args | Arguments to pass to ps (e.g. "aux") |
container_stats_tool Container Stats Tool
Get container resource usage statistics.
| Parameter | Type | Description |
|---|---|---|
name * | string | Container name or ID |
container_create_tool Container Create Tool
Create a new container.
| Parameter | Type | Description |
|---|---|---|
image * | string | Container image (e.g. "registry.access.redhat.com/ubi9/ubi:latest") |
command | Command to run | |
env | Environment variables | |
labels | Container labels | |
name | Container name | |
volumes | Volume 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.
| Parameter | Type | Description |
|---|---|---|
filters | Filter by key/value pairs (e.g. {"reference": ["ubi9"]}) |
image_inspect_tool Image Inspect Tool
Get detailed information about an image.
| Parameter | Type | Description |
|---|---|---|
name * | string | Image name, tag, or ID |
image_pull_tool Image Pull Tool
Pull an image from a registry.
| Parameter | Type | Description |
|---|---|---|
reference * | string | Image reference (e.g. "quay.io/crunchtools/rotv:latest") |
image_rm_tool Image Rm Tool
Remove an image.
| Parameter | Type | Description |
|---|---|---|
name * | string | Image name, tag, or ID |
force | boolean | Force removal even if in use |
image_prune_tool Image Prune Tool
Remove unused images.
pod_list_tool Pod List Tool
List pods.
| Parameter | Type | Description |
|---|---|---|
filters | Filter by key/value pairs (e.g. {"name": ["mypod"]}) |
pod_inspect_tool Pod Inspect Tool
Get detailed information about a pod.
| Parameter | Type | Description |
|---|---|---|
name * | string | Pod name or ID |
pod_start_tool Pod Start Tool
Start a pod and all its containers.
| Parameter | Type | Description |
|---|---|---|
name * | string | Pod name or ID |
pod_stop_tool Pod Stop Tool
Stop a pod and all its containers.
| Parameter | Type | Description |
|---|---|---|
name * | string | Pod name or ID |
timeout | integer | Seconds to wait before killing (default: 10) |
pod_restart_tool Pod Restart Tool
Restart a pod and all its containers.
| Parameter | Type | Description |
|---|---|---|
name * | string | Pod name or ID |
pod_rm_tool Pod Rm Tool
Remove a pod and all its containers.
| Parameter | Type | Description |
|---|---|---|
name * | string | Pod name or ID |
force | boolean | Force removal of running pod |
pod_create_tool Pod Create Tool
Create a new pod.
| Parameter | Type | Description |
|---|---|---|
name * | string | Pod name |
infra | boolean | Create an infra container (default: True) |
labels | Pod labels | |
share | Namespaces to share (ipc, net, uts, pid) |
network_list_tool Network List Tool
List networks.
| Parameter | Type | Description |
|---|---|---|
filters | Filter by key/value pairs |
network_inspect_tool Network Inspect Tool
Get detailed information about a network.
| Parameter | Type | Description |
|---|---|---|
name * | string | Network name or ID |
volume_list_tool Volume List Tool
List volumes.
| Parameter | Type | Description |
|---|---|---|
filters | Filter by key/value pairs |
volume_inspect_tool Volume Inspect Tool
Get detailed information about a volume.
| Parameter | Type | Description |
|---|---|---|
name * | string | Volume name |
system_info_tool System Info Tool
Get Podman system information.
system_df_tool System Df Tool
Get Podman disk usage.