K

Kubernetes MCP Server

Manage Kubernetes clusters, pods, and deployments from AI agents.

open-source 48/100 DevOps & Infrastructure kubernetes k8s containers orchestration devops pods

A Model Context Protocol server for Kubernetes. Enables AI agents to interact with Kubernetes clusters — listing pods, deployments, services, and other resources. Supports kubectl-like operations.

Provides read and write access to cluster resources with namespace-scoped operations and real-time pod log streaming.

Install

npx -y kubernetes-mcp-server

MCP Client Config

{
  "mcpServers": {
    "kubernetes": {
      "command": "npx",
      "args": [
        "-y",
        "kubernetes-mcp-server"
      ]
    }
  }
}

Capabilities

Tools

list_podsget_podlist_deploymentslist_servicesget_logsapply_manifestdelete_resource

Compatible With

Claude Desktop Claude Code Cursor

Metrics

480

GitHub Stars

3,800

Installs

310

Weekly

5

Open Issues