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.1.1.tar.gz (34.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.1.1-py3-none-any.whl (27.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mcp_podman_crunchtools-0.1.1.tar.gz
  • Upload date:
  • Size: 34.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.1.1.tar.gz
Algorithm Hash digest
SHA256 9b82c428f583a644d762d7b6bbf373213b98db1da7a294353c86e9eca2de5f34
MD5 299cc99c61d16b98b3f67206c3b74641
BLAKE2b-256 167d7735a03ebbb0aad321e1088c1c51335516b6ef4604f04cb2da38ea0d0904

See more details on using hashes here.

Provenance

The following attestation bundles were made for mcp_podman_crunchtools-0.1.1.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.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for mcp_podman_crunchtools-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 089f9326faf91f96ea41a2225a3b5552346908c5a88b1fd021c30d3c1d7e8bb7
MD5 2d90c52e700df0beb0ef2ad81e618a83
BLAKE2b-256 40a5dba390df08a0df58c2b8b8070cafa53c1c27d139f8220e76163fcd3f3b7d

See more details on using hashes here.

Provenance

The following attestation bundles were made for mcp_podman_crunchtools-0.1.1-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