Kubeopt MCP Server

KubeOpt analyzes your Kubernetes clusters, identifies cost optimization opportunities, and generates actionable implementation plans with copy-paste kubectl commands.

Local serverstdio

What is the Kubeopt MCP Server?

Kubeopt is an MCP project maintained in the kubeopt/kubeopt repository. The maintainer describes its purpose as “KubeOpt analyzes your Kubernetes clusters, identifies cost optimization opportunities, and generates actionable implementation plans with copy-paste kubectl commands”. Read the project documentation for the complete scope.

Installation

The documented pypi package is kubeopt-mcp. The configuration below comes from the maintainer’s example; adapt its paths and account values to your environment.

Configuration values

The example declares KUBEOPT_API_URL, KUBEOPT_USERNAME, KUBEOPT_PASSWORD. Secret-looking values have been replaced with placeholders. Required and optional labels are shown only when the documentation states them.

Source

Project documentation · Repository · Discovery listing. This profile records the public documentation checked on 2026-10-08.

How to install the Kubeopt MCP Server

{
  "mcpServers": {
    "kubeopt": {
      "command": "uvx",
      "args": [
        "kubeopt-mcp"
      ],
      "env": {
        "KUBEOPT_API_URL": "https://your-kubeopt-instance.com",
        "KUBEOPT_USERNAME": "kubeopt",
        "KUBEOPT_PASSWORD": "YOUR_KUBEOPT_PASSWORD"
      }
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.

Configuration

VariableDescriptionRequired
KUBEOPT_API_URLDeclared in the maintainer’s client configuration.Check documentation
KUBEOPT_USERNAMEDeclared in the maintainer’s client configuration.Check documentation
KUBEOPT_PASSWORDDeclared in the maintainer’s client configuration.Check documentation