MCP Podman

MCP server for Podman container management via the Podman REST API

OtherPythonv0.1.1

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
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

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

Installation

Source-derived launch command. Check the maintainer’s required arguments and credentials before running:

bash
uvx mcp-podman-crunchtools

Set up in your AI client

Merge this template into ~/Library/Application Support/Claude/claude_desktop_config.json. Keep existing servers. Add any arguments, credentials, and permissions required by the maintainer; this template has not been install-tested.

json
{
  "mcpServers": {
    "io-github-crunchtools-podman": {
      "command": "uvx",
      "args": [
        "mcp-podman-crunchtools"
      ]
    }
  }
}

Restart Claude Desktop completely for changes to take effect. Confirm the server appears connected in the client’s tool list, then try a read-only example from its documentation.

Claude Desktop setup reference

Package

mcp-podman-crunchtoolspypi

Compatible MCP Clients

MCP Podman works with any MCP-compatible client. Copy the config snippet from the Configuration section above and add it to the file shown for your client, then restart the application.

  • Claude Desktop~/Library/Application Support/Claude/claude_desktop_config.jsonRestart Claude Desktop completely for changes to take effect.
  • Cursor~/.cursor/mcp.jsonRestart Cursor for changes to take effect.
  • VS Code.vscode/mcp.jsonReload VS Code window for changes to take effect.
  • Windsurf~/.codeium/windsurf/mcp_config.jsonRestart Windsurf for changes to take effect.
  • Claude Code.mcp.jsonSave at the project root, then start Claude Code in that project and review the MCP server approval prompt. Keep real credentials out of shared files.

Learn More