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:
$XDG_RUNTIME_DIR/podman/podman.sock(rootless)/run/user/$UID/podman/podman.sock(rootless fallback)/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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fec08270a6388a2bfc65ec56e3fc839878b568e3c91c5de90aa711249b3288b3
|
|
| MD5 |
c67e7ad6dc0febdc4b4abc3d8c562386
|
|
| BLAKE2b-256 |
54213d178236545ad5c617790dddf5f6fed1cc3bab92ce607bfa55e0710734df
|
Provenance
The following attestation bundles were made for mcp_podman_crunchtools-0.2.0.tar.gz:
Publisher:
publish.yml on crunchtools/mcp-podman
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
mcp_podman_crunchtools-0.2.0.tar.gz -
Subject digest:
fec08270a6388a2bfc65ec56e3fc839878b568e3c91c5de90aa711249b3288b3 - Sigstore transparency entry: 1822201159
- Sigstore integration time:
-
Permalink:
crunchtools/mcp-podman@389b6f4d25a93fe0a5dbb8203f2296097ed001cb -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/crunchtools
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@389b6f4d25a93fe0a5dbb8203f2296097ed001cb -
Trigger Event:
release
-
Statement type:
File details
Details for the file mcp_podman_crunchtools-0.2.0-py3-none-any.whl.
File metadata
- Download URL: mcp_podman_crunchtools-0.2.0-py3-none-any.whl
- Upload date:
- Size: 30.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
47f732fd2a8f4d85ba61f246f8ac202533ff31266a3c747b2891a1bec98d18ea
|
|
| MD5 |
6d5902f110e2737e9ee484c05ed29ecd
|
|
| BLAKE2b-256 |
d044b449fc5b2dd52be9247f8bd833ac85b7a833b9ce17ab178c58ee43c2321b
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
mcp_podman_crunchtools-0.2.0-py3-none-any.whl -
Subject digest:
47f732fd2a8f4d85ba61f246f8ac202533ff31266a3c747b2891a1bec98d18ea - Sigstore transparency entry: 1822201166
- Sigstore integration time:
-
Permalink:
crunchtools/mcp-podman@389b6f4d25a93fe0a5dbb8203f2296097ed001cb -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/crunchtools
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@389b6f4d25a93fe0a5dbb8203f2296097ed001cb -
Trigger Event:
release
-
Statement type: