Kubernetes 🚀 MCP Server

MCP Server that talks to the Kubernetes APIs

Local serverstdioGo

What is the Kubernetes 🚀 MCP Server?

MCP Server that talks to the Kubernetes APIs

The short version

The Kubernetes MCP Server is a Model Context Protocol (MCP) server that provides seamless integration with Kubernetes APIs, enabling advanced automation and interaction capabilities for developers, operators, and AI tools.

This MCP server enables AI tools to interact with Kubernetes clusters using natural language, providing capabilities to:

What it needs from you

  1. A Kubernetes cluster with API access 2. Valid kubeconfig file or service account credentials 3. Appropriate RBAC permissions for desired operations

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
stdioThe stdio transport is the default and recommended option for most users for local integration:

How to install the Kubernetes 🚀 MCP Server

{
  "mcpServers": {
    "kubernetes": {
      "command": "path/to/k8smcp",
      "args": [
        "stdio",
        "--kubeconfig=/path/to/your/kubeconfig"
      ]
    }
  }
}

Configuration as documented by the project. Restart the client after saving.

Configuration

  1. A Kubernetes cluster with API access 2. Valid kubeconfig file or service account credentials 3. Appropriate RBAC permissions for desired operations
VariableDescriptionRequired
K8S_MCP_TOOLSETSConfiguration value read at startup.Optional

Example prompts to try

  • “Use Kubernetes 🚀 to stdio.”

Frequently asked questions

It supports `stdio` (default, for local integration) and `sse` (HTTP-based JSON-RPC, for deploying inside a Kubernetes cluster).