Skip to main content

MCP server for Podman container management via the Podman REST API

Project description

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

Variable Required Default Description
PODMAN_SOCKET No Auto-detect Unix socket path
PODMAN_SOCKET_FILE No File containing socket path
PODMAN_TIMEOUT No 30 Request 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)

Tool Description
container_list List containers
container_inspect Get container details
container_start Start a container
container_stop Stop a container
container_restart Restart a container
container_kill Send signal to container
container_rm Remove a container
container_logs Get container logs
container_top List processes
container_stats Resource usage
container_create Create a container
container_prune Remove stopped containers

Images (5)

Tool Description
image_list List images
image_inspect Get image details
image_pull Pull from registry
image_rm Remove an image
image_prune Remove unused images

Pods (7)

Tool Description
pod_list List pods
pod_inspect Get pod details
pod_start Start a pod
pod_stop Stop a pod
pod_restart Restart a pod
pod_rm Remove a pod
pod_create Create a pod

Networks (2)

Tool Description
network_list List networks
network_inspect Get network details

Volumes (2)

Tool Description
volume_list List volumes
volume_inspect Get volume details

System (2)

Tool Description
system_info Podman system info
system_df Disk usage

License

AGPL-3.0-or-later

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mcp_podman_crunchtools-0.2.0.tar.gz (37.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mcp_podman_crunchtools-0.2.0-py3-none-any.whl (30.4 kB view details)

Uploaded Python 3

File details

Details for the file mcp_podman_crunchtools-0.2.0.tar.gz.

File metadata

  • Download URL: mcp_podman_crunchtools-0.2.0.tar.gz
  • Upload date:
  • Size: 37.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for mcp_podman_crunchtools-0.2.0.tar.gz
Algorithm Hash digest
SHA256 fec08270a6388a2bfc65ec56e3fc839878b568e3c91c5de90aa711249b3288b3
MD5 c67e7ad6dc0febdc4b4abc3d8c562386
BLAKE2b-256 54213d178236545ad5c617790dddf5f6fed1cc3bab92ce607bfa55e0710734df

See more details on using hashes here.

Provenance

The following attestation bundles were made for mcp_podman_crunchtools-0.2.0.tar.gz:

Publisher: publish.yml on crunchtools/mcp-podman

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file mcp_podman_crunchtools-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for mcp_podman_crunchtools-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 47f732fd2a8f4d85ba61f246f8ac202533ff31266a3c747b2891a1bec98d18ea
MD5 6d5902f110e2737e9ee484c05ed29ecd
BLAKE2b-256 d044b449fc5b2dd52be9247f8bd833ac85b7a833b9ce17ab178c58ee43c2321b

See more details on using hashes here.

Provenance

The following attestation bundles were made for mcp_podman_crunchtools-0.2.0-py3-none-any.whl:

Publisher: publish.yml on crunchtools/mcp-podman

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page