Podman MCP Server
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., "@Podman MCP Serverlist 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.
Podman MCP Server
✨ Features | 🚀 Getting Started | 📚 Documentation | 🎥 Demos | ⚙️ Configuration | 🛠️ Tools | 🧑💻 Development
✨ Features
A powerful and flexible MCP server for container runtimes supporting Podman and Docker.
Related MCP server: Docker MCP Server
🚀 Getting Started
Claude Desktop
Using npx
If you have npm installed, this is the fastest way to get started with podman-mcp-server on Claude Desktop.
Open your claude_desktop_config.json and add the mcp server to the list of mcpServers:
{
"mcpServers": {
"podman": {
"command": "npx",
"args": [
"-y",
"podman-mcp-server@latest"
]
}
}
}VS Code / VS Code Insiders
Install the Podman MCP server by clicking one of the following links:
Alternatively, you can install the extension manually by running the following command:
# For VS Code
code --add-mcp '{"name":"podman","command":"npx","args":["-y","podman-mcp-server@latest"]}'
# For VS Code Insiders
code-insiders --add-mcp '{"name":"podman","command":"npx","args":["-y","podman-mcp-server@latest"]}'Goose CLI
Goose CLI is the easiest (and cheapest) way to get rolling with artificial intelligence (AI) agents.
Using npm
If you have npm installed, this is the fastest way to get started with podman-mcp-server.
Open your goose config.yaml and add the mcp server to the list of mcpServers:
extensions:
podman:
command: npx
args:
- -y
- podman-mcp-server@latest
📚 Documentation
For detailed setup guides, configuration reference, and feature specifications, see the Documentation.
🎥 Demos
⚙️ Configuration
The Podman MCP server can be configured using command line (CLI) arguments.
You can run the CLI executable either by using npx or by downloading the latest release binary.
# Run the Podman MCP server using npx (in case you have npm installed)
npx podman-mcp-server@latest --help# Run the Podman MCP server using the latest release binary
./podman-mcp-server --helpConfiguration Options
Option | Description |
| Starts the MCP server in HTTP mode with Streamable HTTP at |
| Output format for list commands: |
| Podman implementation to use. Auto-detects if not specified. |
| Deprecated. Use |
| Deprecated. SSE public base URL to use when sending the endpoint message. |
Transport Modes
The server supports multiple transport modes:
STDIO mode (default) - Communicates via standard input/output
HTTP mode (
--port) - Modern HTTP transport with both Streamable HTTP and SSE endpointsSSE-only mode (
--sse-port) - Legacy Server-Sent Events transport (deprecated)
# Start HTTP server on port 8080 (Streamable HTTP at /mcp and SSE at /sse)
podman-mcp-server --port 8080
# Legacy SSE-only server on port 8080 (deprecated, use --port instead)
podman-mcp-server --sse-port 8080Podman Implementations
The server supports multiple Podman backend implementations:
Implementation | Description | Priority |
| Podman REST API via Unix socket | 100 (preferred) |
| Podman/Docker CLI wrapper | 50 (fallback) |
By default, the server auto-detects the best available implementation.
The api implementation is preferred when a Podman socket is available, otherwise the cli implementation is used as a fallback.
Use the --podman-impl flag to force a specific implementation:
# Force CLI implementation
podman-mcp-server --podman-impl=cli
# Force API implementation (requires Podman socket)
podman-mcp-server --podman-impl=apiThe api implementation communicates directly with the Podman REST API via Unix socket, while the cli implementation shells out to the podman or docker binary.
🛠️ Tools
container_inspect - Displays the low-level information and configuration of a Docker or Podman container with the specified container ID or name
name(string) (required) - Docker or Podman container ID or name to display the information
container_list - Prints out information about the running Docker or Podman containers
container_logs - Displays the logs of a Docker or Podman container with the specified container ID or name
name(string) (required) - Docker or Podman container ID or name to display the logs
container_remove - Removes a Docker or Podman container with the specified container ID or name (rm)
name(string) (required) - Docker or Podman container ID or name to remove
container_run - Runs a Docker or Podman container with the specified image name
environment(array) - Environment variables to set in the container. Format: =. Example: FOO=bar. (Optional, add only to set environment variables)imageName(string) (required) - Docker or Podman container image name to runports(array) - Port mappings to expose on the host. Format: :. Example: 8080:80. (Optional, add only to expose ports)
container_stop - Stops a Docker or Podman running container with the specified container ID or name
name(string) (required) - Docker or Podman container ID or name to stop
image_build - Build a Docker or Podman image from a Dockerfile, Podmanfile, or Containerfile
containerFile(string) (required) - The absolute path to the Dockerfile, Podmanfile, or Containerfile to build the image fromimageName(string) - Specifies the name which is assigned to the resulting image if the build process completes successfully (--tag, -t)
image_list - List the Docker or Podman images on the local machine
image_pull - Copies (pulls) a Docker or Podman container image from a registry onto the local machine storage
imageName(string) (required) - Docker or Podman container image name to pull
image_push - Pushes a Docker or Podman container image, manifest list or image index from local machine storage to a registry
imageName(string) (required) - Docker or Podman container image name to push
image_remove - Removes a Docker or Podman image from the local machine storage
imageName(string) (required) - Docker or Podman container image name to remove
network_list - List all the available Docker or Podman networks
volume_list - List all the available Docker or Podman volumes
🧑💻 Development
Running with mcp-inspector
Compile the project and run the Podman MCP server with mcp-inspector to inspect the MCP server.
# Compile the project
make build
# Run the Podman MCP server with mcp-inspector
npx @modelcontextprotocol/inspector@latest $(pwd)/podman-mcp-servermcp-name: io.github.manusa/podman-mcp-server
This server cannot be installed
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
- FlicenseAqualityFmaintenanceA Model Context Protocol server that enables Docker container management through natural language interactions using a custom GPT interface.715
- AlicenseAqualityDmaintenanceAn MCP server that enables AI assistants to manage Docker containers, images, networks, and volumes through a standardized interface. It supports comprehensive operations like container lifecycle management and image pulling while ensuring correct handling of command and environment variable arrays.12281MIT
- AlicenseBqualityDmaintenanceMCP server for Portainer REST API that enables AI assistants to manage Docker containers, stacks, images, networks, and volumes through natural language.1821MIT
- Alicense-qualityBmaintenanceMCP server for Apple container to manage, build, inspect, and diagnose Linux containers on macOS directly from AI agents.11Apache 2.0
Related MCP Connectors
MCP server for AI agents to plan, verify, and deploy Cloudflare-native apps.
MCP server for AI dialogue using various LLM models via AceDataCloud
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
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/manusa/podman-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server