# podman-mcp-server [Health: Active]

**Category:** 💻 Developer Tools  
**Repository:** https://github.com/manusa/podman-mcp-server  
**GitHub Stars:** 88  
**npm Downloads (last month):** 15926  
**Views:** 3  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/podman-mcp-server

## Description
A Model Context Protocol (MCP) server for container runtimes (Podman and Docker)

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "podman-mcp-server": {
    "command": "npx",
    "args": ["-y","podman-mcp-server@latest"]
  }
}
```

## Documentation

## What podman-mcp-server MCP server does

The podman-mcp-server MCP server connects MCP clients to local Podman or Docker container runtimes. It exposes operations for both containers and images, allowing an agent to manage runtime resources without manually translating each request into a CLI command.

Container operations include listing running containers, inspecting a named container or ID, reading logs, running a new container, stopping a running container, and removing a container. Image operations include listing local images, pulling from a registry, pushing to a registry, removing an image, and building an image from a Dockerfile, Podmanfile, or Containerfile.

## How it works

The server has two runtime backends. Its API implementation communicates with the Podman REST API through a Unix socket, while its CLI implementation invokes the `podman` or `docker` executable. Backend selection is automatic by default: the API path is preferred when a Podman socket is available, and the CLI path is used as a fallback. The `--podman-impl` option can force either implementation.

Communication uses stdio unless another transport is selected. Supplying `--port` starts HTTP mode with Streamable HTTP at `/mcp` and SSE at `/sse`. The older SSE-only mode can be enabled with `--sse-port`, but that option is deprecated.

## Setup and configuration

The podman-mcp-server MCP server can be launched with `npx podman-mcp-server@latest` or by running a downloaded release binary. An npm-based MCP client configuration needs a command of `npx` and arguments containing `-y` and `podman-mcp-server@latest`.

VS Code can also register the server with `code --add-mcp` or `code-insiders --add-mcp`. The executable accepts `--help` to show its command-line options.

Useful options include `--output-format`, which selects human-readable tables or JSON for list commands, and `--podman-impl`, which chooses `api` or `cli`. The HTTP listener port is set with `--port`. No environment variables are documented as required for startup.

## Tools and capabilities

Container tools accept a container name or ID where a specific resource is needed. `container_run` requires an image name and optionally accepts environment entries in `KEY=VALUE` form and host-to-container port mappings such as `8080:80`.

Image building requires an absolute path to the container file. An optional image name assigns a tag to the resulting image. Pull, push, and removal operations each take an image name.

The available tool groups are:

- Containers: inspect, list, view logs, run, stop, and remove.
- Images: build, list, pull, push, and remove.

## Limitations and notes

API mode requires a Podman socket, while CLI mode depends on an accessible `podman` or `docker` binary. The `--sse-port` and `--sse-base-url` options are deprecated and should be replaced with the current HTTP configuration where applicable.

_Full upstream README: https://allmcps.com/mcp/podman-mcp-server/readme_

