Woow Podman MCP Server
Provides tools for interacting with a Podman host via the libpod REST API, including managing containers, images, volumes, networks, and pods, with safety profiles gating available operations.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Woow Podman MCP Servershow me all running containers"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Woow Podman MCP Server
A FastMCP server that exposes a Podman host through its libpod REST API as MCP tools, plus a web admin console that supervises it, gates it, and publishes it on an authenticated URL that Claude (or any MCP client) can connect to directly.
It runs as one rootless Podman container that borrows the host's Podman socket — the container manages the host's containers by reaching the daemon over a bind-mounted socket, never by running a Podman of its own. Three components live in that one container:
# | Component | What it is |
1 |
| The MCP server. 23 tools over the libpod API, gated by a safety profile. Binds to loopback only. |
2 |
| The admin console: React SPA + FastAPI, on |
3 |
| Product-agnostic plumbing shared with the other Woow MCP consoles: app factory, JWT auth, config store, process manager, reverse proxy. |
The connector URL is https://<host>/private_<mcp_auth_token>/mcp/. The path segment is the
credential — see Security.
Deploy on rootless Podman (the supported path)
The daemon runs on the host; the console runs in a container; they meet at the socket. You never run a second Podman inside the container — that would be nested-container hell. You hand the container a window onto the host's one Podman.
# 1. The host's rootless Podman socket must be listening. --time=0 keeps the
# daemon from sleeping after 5s idle (an MCP server holds a long connection).
systemctl --user enable --now podman.socket
# 2. Build the image (needs a machine that can reach your registry).
# --format docker is load-bearing: podman builds OCI by default, and the
# OCI image spec has no healthcheck field, so the Dockerfile's HEALTHCHECK
# is silently dropped. The container then reports no health status at all
# and `podman ps` shows an empty STATUS column instead of healthy/unhealthy.
git clone https://github.com/WOOWTECH/Woow_podman__mcp_server.git
cd Woow_podman__mcp_server
podman build --format docker -t podman-mcp-admin:0.1.0 .
# 3. Run it, bind-mounting the host socket in.
podman run -d --name podman-mcp-admin \
--user "$(id -u):$(id -g)" \
-p 8080:8080 \
-v /run/user/$(id -u)/podman/podman.sock:/run/podman/podman.sock:z \
-v podman_mcp_data:/data \
-e JWT_SECRET="$(openssl rand -hex 32)" \
-e ADMIN_PASSWORD="choose-a-strong-one" \
-e PODMAN_URI=unix:///run/podman/podman.sock \
-e PODMAN_MCP_PROFILE=safe \
podman-mcp-admin:0.1.0Then open http://localhost:8080, log in, and the connector URL is on the Tokens page.
The four things that bite on rootless Podman
:zon the socket mount. On SELinux hosts (RHEL/Fedora) a bare bind mount of the socket is visible but not connectable (avc: denied), which looks exactly like a permission-alignment bug.:zrelabels it. Harmless on non-SELinux hosts.--usermust match the socket's owner. The rootless socket issrw------- <you>; the container process must be that uid orconnect()returnsEACCES.--time=0on the socket.podman.socketis socket-activated and the daemon sleeps when idle; a long-lived MCP connection needs it to stay up.systemctl --user enable --now podman.sockethandles this; a hand-runpodman system serviceneeds--time=0explicitly.The container must survive logout and reboot. Use systemd + linger (below), not a bare
podman runin a shell.
Make it a managed service
podman generate systemd --new --name podman-mcp-admin \
> ~/.config/systemd/user/podman-mcp-admin.service
systemctl --user daemon-reload
systemctl --user enable --now podman.socket podman-mcp-admin.service
loginctl enable-linger "$USER" # keep it running with nobody logged inLocal development, no container
pip install -e ".[dev]"
python3 scripts/seed.py --config /tmp/pm/config.json \
--podman-uri unix:///run/user/$(id -u)/podman/podman.sock
MCP_ADMIN_CONFIG=/tmp/pm/config.json JWT_SECRET=dev \
uvicorn podman_mcp_admin.main:app --port 8080Or the bare MCP server over stdio, no console at all:
PODMAN_MCP_PROFILE=readonly python3 -m woow_podman_mcp_server.serverRelated MCP server: bazzite-mcp
Behind a Cloudflare tunnel
If cloudflared runs on the same host, point its ingress at http://localhost:8080.
If cloudflared runs elsewhere — a common case is an in-cluster cloudflared pod on a different
machine from the Podman host — localhost is that pod's own loopback and will 502. Point the
ingress at the Podman host's LAN address instead, and publish the container's port on that
address (the -p 8080:8080 above already binds 0.0.0.0):
# cloudflared config.yaml ingress entry
- hostname: podman-mcp.example.io
service: http://<podman-host-LAN-ip>:8080Two consequences to accept before doing this:
The console's
:8080is now reachable by anything on that LAN, not just localhost — the login page and the connector path both. Combined with the public tunnel, the GUI is exposed on the LAN and the internet behind a single admin password. If that is more surface than you want, keep the GUI off the LAN and run a second cloudflared on the Podman host pointing at localhost.The host's LAN IP must be stable (static lease / MAC reservation). If it changes, the tunnel silently 502s until you update the ingress.
Preserving an existing connector across a redeploy
The connector token lives in /data/config.json. To move an already-connected client onto a fresh
container without re-pointing it, pass the old token in and the bootstrap seeds it verbatim:
-e MCP_AUTH_TOKEN=<the existing token>The URL …/private_<that token>/mcp/ keeps working; the Claude app needs no change. Omit
MCP_AUTH_TOKEN and a fresh token is generated and logged once — then every client must be
re-pointed.
Safety profiles
Tools are gated at registration time, not at list time. A tool outside the active profile does
not exist on the protocol — it cannot be called by name, cannot be reached by a client that cached
an older tools/list, and does not appear in the schema. This is deliberate: a gate that only
filters the listing is bypassed by any client that already knows the tool name.
Profile | Tools | Includes |
| 13 |
|
| 18 | + |
| 23 | + |
Set with PODMAN_MCP_PROFILE. This is the only meaningful boundary once the socket is mounted:
anything that can reach the socket has that uid's full Podman — the profile is what narrows it, and
it narrows at registration so a disabled tool is not merely hidden. Keep it at safe unless you
specifically need the destructive tools.
Security
The Podman socket is the entire boundary. libpod has no API key — anything that can reach the socket can create a privileged container and bind-mount the host root, i.e. it is root-equivalent for that uid. Two rules:
Mount the rootless socket (
/run/user/<uid>/podman/podman.sock), never the root service's, and run the container as that same uid.Keep the profile at
safe. It is the one control still available after the socket is mounted.
No OAuth. The server answers every /.well-known/* probe and /register with a JSON 404.
This is not an omission — it is the fix. The SPA catch-all used to answer those probes with
200 text/html, which a client reads as "yes, I have an authorization server"; it then attempted
Dynamic Client Registration, got HTML back, and failed with "Couldn't register with … 's sign-in
service" in a redirect loop. A clean 404 makes discovery fail fast so the client falls back to
anonymous access and just sends initialize.
The path token is the credential. It is compared with secrets.compare_digest, never echoed
back unmasked, and rotating it from the Tokens page restarts the child. Put the console behind a
tunnel with TLS; do not expose :8080 directly to the internet.
A remote host over tcp:// has no authentication at all. PODMAN_URI=tcp://host:2376 is
supported by the client (with optional mTLS via PODMAN_TLS_*), but podman system service itself
does no TLS and no auth — a bare TCP socket is an unauthenticated root API on the network. Only use
tcp:// inside a trusted, network-isolated segment, and terminate mTLS in front of it yourself. For
a genuinely authenticated remote transport, prefer an SSH tunnel to the socket.
Configuration
Everything lives in /data/config.json (MCP_ADMIN_CONFIG), written atomically and chmod 600.
A bare container self-seeds on first boot (see podman_mcp_admin/bootstrap.py): the child
command line, the connection block from PODMAN_* env, and the connector token from
MCP_AUTH_TOKEN. The connection section is upper-cased into the child's environment, so
podman_uri arrives as PODMAN_URI.
See .env.example for the full list. The ones that matter:
Variable | Default | Notes |
|
|
|
|
| A version newer than the daemon 404s every call |
|
|
|
|
| Per-call response ceiling; tools truncate by row and say how many they dropped |
| (generated, logged once) | Set it to preserve a connector across a redeploy |
| (random per process) | Set it, or every restart invalidates sessions |
| (generated, logged once) | First boot only |
Notes from the field
podman statswith an unknown name. libpod answersHTTP 200with{"Error": {}, "Stats": null}— and{}is falsy, so the obviousif payload.get("Error")check never fires and the tool silently returns nothing. It also returns no stats when any requested name is unknown, not just the bad one, so the error names the whole batch rather than accusing a container that is running fine.podman topwith plainpsflags. libpod returns fewer columns than titles for flag-style args likeaux, so the rows cannot be tabulated. The tool detects the mismatch and prints the raw output with a hint to use descriptor form (ps_args="-eo pid,user,comm") instead of producing a column-shifted table.Stream framing. libpod is always 8-byte multiplexed, even with a TTY; only the Docker-compat
/v1.xendpoints go raw. Thettyflag is passed down explicitly rather than guessed from the payload, because output that happens to start with\x01\x00\x00\x00is otherwise eaten.
Tests
pytest # 22 tests, no network, no Podman requiredRoadmap
Phase 1 (this release) is "the console comes up and the connector works". The MCP server is a
single self-contained server.py; the console supervises it, proxies it, streams its logs and
rotates its token.
Phase | Scope |
1 ✅ | Console boots, self-seeds, auth, process supervision, encrypted proxy, 18/23 tools live |
2 | Profile data model: |
3 | Connection & health: real Podman probe, Test Connection with distinct errors per failure mode, full dashboard |
4 | Podman operations pages (containers, images, volumes, networks, pods) |
Until Phase 2/3 land, the Connection and Tools pages get a JSON 404 from the API fallback
and render empty. That is intentional and easier to debug than a stub that pretends to work.
License
MIT — see LICENSE.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- FlicenseAqualityDmaintenanceEnables AI tools to manage containerized applications through Podman, supporting container lifecycle operations, command execution, log viewing, image management, and resource monitoring. Features automatic network discovery for seamless integration with MCP Discovery Hub.12
- AlicenseBqualityDmaintenanceMCP server for managing Bazzite Linux hosts, enabling system administration, desktop control, and gaming tasks through natural language.242MIT
- Alicense-qualityBmaintenanceEnterprise-grade MCP server exposing Ansible Automation Platform 2.x as a complete AI interface for LLMs, enabling natural language management of automation resources.1Apache 2.0
- Alicense-qualityBmaintenanceEnables management of Podman containers, pods, images, and compose stacks via natural language, with support for container stats, logs, exec, health analysis, and a web dashboard.1MIT
Related MCP Connectors
Personal assistant MCP server with search, execute, packages, jobs, secrets, and integrations.
MCP server for AI agents to plan, verify, and deploy Cloudflare-native apps.
MCP server for generating rough-draft project plans from natural-language prompts.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/WOOWTECH/Woow_podman__mcp_server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server