mcpField
M
MCP Podman

MCP Podman

Local
github.com/crunchtoolsCloud & Infra0Updated 3d ago

About MCP Podman

MCP server for managing Podman through its REST API, aimed at users operating rootful or rootless Podman environments. It covers containers, images, pods, networks, volumes, and system information.

Key features

  1. 01List, inspect, and control containers
  2. 02View logs, processes, and resource usage
  3. 03Manage images and image cleanup
  4. 04Create and control pods
  5. 05Inspect networks and volumes
  6. 06View Podman system and disk usage

Use cases

  1. 01Check container status and logs
  2. 02Start, stop, or restart containers
  3. 03Review image and pod inventories
  4. 04Inspect Podman resource and disk usage

MCP support

Exposes Podman container, image, pod, network, volume, and system-management tools to MCP clients through the Podman REST API.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

mcp.json · Universal config
{
"mcpServers": {
"crunchtools-podman": {
"command": "uvx",
"args": [
"mcp-podman-crunchtools"
]
}
}
}
Run commanduvx mcp-podman-crunchtools

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
pypimcp-podman-crunchtools0.1.1

Tools

No tool list yet

Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.

Details

From the project README

mcp-podman-crunchtools

MCP server for Podman container management via the Podman REST API. Manages containers, images, pods, networks, volumes, and system info. Supports both rootful and rootless Podman.

Installation

# uvx (zero-install)
uvx mcp-podman-crunchtools

# pip
pip install mcp-podman-crunchtools

# Container
podman run -v /run/podman/podman.sock:/run/podman/podman.sock:z \
  --security-opt label=type:container_runtime_t \
  quay.io/crunchtools/mcp-podman

Configuration

VariableRequiredDefaultDescription
PODMAN_SOCKETNoAuto-detectUnix socket path
PODMAN_SOCKET_FILENo—File containing socket path
PODMAN_TIMEOUTNo30Request timeout in seconds

Socket auto-detection order:

  1. $XDG_RUNTIME_DIR/podman/podman.sock (rootless)
  2. /run/user/$UID/podman/podman.sock (rootless fallback)
  3. /run/podman/podman.sock (rootful)

Claude Code Integration

claude mcp add mcp-podman-crunchtools \
  --env PODMAN_SOCKET=/run/podman/podman.sock \
  -- uvx mcp-podman-crunchtools

Tools (30)

Containers (12)
ToolDescription
container_listList containers
container_inspectGet container details; environment values are redacted, names kept
container_startStart a container
container_stopStop a container
container_restartRestart a container
container_killSend signal to container
container_rmRemove a container
container_logsGet container logs
container_topList processes
container_statsResource usage
container_createCreate a container
container_pruneRemove stopped containers
Images (5)
ToolDescription
image_listList images
image_inspectGet image details
image_pullPull from registry
image_rmRemove an image
image_pruneRemove unused images, with the options of podman image prune (all, external, build_cache, filters)
Pods (7)
ToolDescription
pod_listList pods
pod_inspectGet pod details
pod_startStart a pod
pod_stopStop a pod
pod_restartRestart a pod
pod_rmRemove a pod
pod_createCreate a pod
Networks (2)
ToolDescription
network_listList networks
network_inspectGet network details
Volumes (2)
ToolDescription
volume_listList volumes
volume_inspectGet volume details
System (2)
ToolDescription
system_infoPodman system info
system_dfDisk usage

License

AGPL-3.0-or-later

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.