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.1.tar.gz (37.9 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.1-py3-none-any.whl (30.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mcp_podman_crunchtools-0.2.1.tar.gz
  • Upload date:
  • Size: 37.9 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.1.tar.gz
Algorithm Hash digest
SHA256 aaae08177be97e8e4324040b1e576b733e6246cd4ff19652c6500c6ce4fd3c5c
MD5 b3ffc5fdae2efab6238de81918ce1e82
BLAKE2b-256 bfd0d9e5a67724db17fc8d7c84be94f191ec4f73a8f48c5a87978736c71727c5

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for mcp_podman_crunchtools-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2f7274ab1bb2cf9e65b89233714ea496018a353f63afd8b35049d4dac1d6aeee
MD5 6db9fca116b7578d87fa23a0dbf245b3
BLAKE2b-256 07f8aebdd54986c90b5409fae149bb575c70ef2bfa745619ad51621183605895

See more details on using hashes here.

Provenance

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