podman-mcp-server

A powerful and flexible MCP server for container runtimes supporting Podman and Docker.

Visit Server
Added on 3/28/2025

Podman MCP Server

GitHub License npm GitHub release (latest SemVer) Build

โœจ Features | ๐Ÿš€ Getting Started | ๐ŸŽฅ Demos | โš™๏ธ Configuration | ๐Ÿง‘โ€๐Ÿ’ป Development

โœจ Features

A powerful and flexible MCP server for container runtimes supporting Podman and Docker.

๐Ÿš€ 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 extension in VS Code Insiders by pressing the following link:

Alternatively, you can install the extension manually by running the following command:

# For VS Code
code --add-mcp '{"name":"podman","command":"npx","args":["podman-mcp-server@latest"]}'
# For VS Code Insiders
code-insiders --add-mcp '{"name":"podman","command":"npx","args":["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

๐ŸŽฅ 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 --help

Configuration Options

| Option | Description | |--------------|------------------------------------------------------------------------------------------| | --sse-port | Starts the MCP server in Server-Sent Event (SSE) mode and listens on the specified port. |

๐Ÿง‘โ€๐Ÿ’ป 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-server