Podman MCP 服务器

Podman MCP 服务器

适用于容器运行时(如 Podman 和 Docker)的模型上下文协议 (MCP) 服务器。

快速入门

使用 npx

如果已安装 npm,这是启动 podman-mcp-server 的最快方法。

在配置文件中添加以下内容:

Claude Desktop (claude_desktop_config.json):

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

VS Code:

code --add-mcp '{"name":"podman","command":"npx","args":["podman-mcp-server@latest"]}'

Goose CLI (config.yaml):

extensions:
  podman:
    command: npx
    args:
      - -y
      - podman-mcp-server@latest

运行命令获取帮助:

npx podman-mcp-server@latest --help

或下载最新版本二进制文件运行:

./podman-mcp-server --help