podman
Model Context Protocol (MCP) server for container runtimes (Podman and Docker)
claude mcp add --transport stdio manusa-podman-mcp-server npx -y podman-mcp-server@latest
How to use
The Podman MCP Server provides a modular, AI-assisted MCP (Model Context Protocol) server that can interface with Podman (and Docker) to manage containers, images, and related operations. It exposes a CLI with HTTP/streaming endpoints and a set of tooling commands under the Tools section, allowing you to inspect containers, list resources, fetch logs, remove containers, and run new containers via a consistent MCP interface. You can run the server in HTTP mode for real-time communication and SSE updates, or in STDIO mode for direct integration with other tooling. Use the available transport modes to tailor how you send commands and receive results from your MCP workflow. The server is designed to auto-detect Podman backends (api via Unix socket or cli) and provides a way to force a backend if needed.
How to install
Prerequisites:
- Node.js and npm (for npx usage)
- Podman (or Docker) installed on the host
Installation steps:
- Ensure Node.js and npm are installed on your system.
- Install and run the Podman MCP Server using npx:
# Quick start with npx (no global install required)
npx podman-mcp-server@latest --help
- If you prefer, you can download and run the binary directly (refer to the repository's latest release).
- Optionally, verify Podman is accessible (via api socket or CLI) so the server can auto-detect the best backend.
Additional notes
Tips and common considerations:
- The server supports multiple transport modes; use --port to enable HTTP and SSE endpoints (e.g., /mcp and /sse).
- Podman backend selection: the server auto-detects the best available implementation (api via Unix socket preferred, cli as fallback). You can force a backend with --podman-impl (e.g., --podman-impl=api or --podman-impl=cli).
- If you run behind a firewall or reverse proxy, ensure the HTTP port you expose is reachable and SSE endpoints are allowed.
- The Tools section includes commands for container_inspect, container_list, container_logs, container_remove, container_run, and container_stop to manage containers programmatically via MCP.
- Environment variables may be needed for advanced configurations (not required for a basic run); refer to the documentation for environment variable placeholders and descriptions.
Related MCP Servers
mcp-for-beginners
This open-source curriculum introduces the fundamentals of Model Context Protocol (MCP) through real-world, cross-language examples in .NET, Java, TypeScript, JavaScript, Rust and Python. Designed for developers, it focuses on practical techniques for building modular, scalable, and secure AI workflows from session setup to service orchestration.
mcp-language
mcp-language-server gives MCP enabled clients access semantic tools like get definition, references, rename, and diagnostics.
kubernetes
Model Context Protocol (MCP) server for Kubernetes and OpenShift
droidmind
Control your Android devices with AI using Model Context Protocol
sandbox
A Model Context Protocol (MCP) server that enables LLMs to run ANY code safely in isolated Docker containers.
nmap
MCP server for AI-powered network scanning with Nmap. Port scanning, service detection, OS fingerprinting, and vulnerability scanning for AI agents. By Vorota AI.