Back
Directory/Kubernetes

TL;DR

Kubernetes is a Cloud Platforms MCP server that lets Claude Code, Cursor, Windsurf and any MCP-compatible AI agent cluster operations — pods, deployments, services. Install in 1 minute with mcpizy install kubernetes.

☸️

Kubernetes

7 tools

Cloud Platforms

Last updated August 9, 2026 · By MCPizy team

Cluster operations — pods, deployments, services

Official homepage
A

Repo audit: 98/100 — actively maintained, documented and licensed

Scored on licence, adoption, maintenance and documentation of . We show the grade whether it flatters the server or not.

flux159/mcp-server-kubernetes

last commit today · 1,520 stars · MIT licence · 7 open issues

Read the full audit on CheckMCP

Install Kubernetes

Via MCPizy CLI (recommended):
mcpizy install kubernetes
Or run directly:
npx -y mcp-server-kubernetes
View on GitHub

Tools exposed

7 tools available
list_pods

List pods in a namespace

Inputs

  • namespacestringoptional
describe_pod

Describe a pod with events and status

Inputs

  • namestringrequired
  • namespacestringoptional
get_logs

Fetch logs from a pod container

Inputs

  • namestringrequired
  • namespacestringoptional
list_deployments

List deployments in a namespace

Inputs

  • namespacestringoptional
scale_deployment

Scale a deployment to N replicas

Inputs

  • namestringrequired
  • replicasnumberrequired
  • namespacestringoptional
apply_manifest

Apply a YAML manifest

Inputs

  • manifeststringrequired
list_nodes

List all cluster nodes

Configuration

Works identically across clients. Only the config file path differs.

Claude Code~/.claude.json
{
  "mcpServers": {
    "kubernetes": {
      "command": "npx",
      "args": [
        "mcp-server-kubernetes"
      ]
    }
  }
}
Cursor.cursor/mcp.json
{
  "mcpServers": {
    "kubernetes": {
      "command": "npx",
      "args": [
        "mcp-server-kubernetes"
      ]
    }
  }
}
Windsurf~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "kubernetes": {
      "command": "npx",
      "args": [
        "mcp-server-kubernetes"
      ]
    }
  }
}

Authentication setup

  1. 1

    Ensure ~/.kube/config is set up and your current context points at the right cluster

    Get it KUBECONFIG

What you can do with Kubernetes MCP

Paste any of these prompts into Claude Code, Cursor or another MCP-compatible client.

“List every pod in the `production` namespace and show which ones are not Running”

Uses: list_pods

“Get the last 200 log lines from the `api-server` pod”

Uses: list_pods, get_logs

“Scale `web` deployment to 5 replicas in namespace `production`”

Uses: scale_deployment

“Describe the `payments-worker` pod and tell me why it keeps restarting”

Uses: describe_pod

Works with

Claude Code
Claude Desktop
Cursor
Windsurf
VS Code + Copilot
Any MCP Client

More Cloud Platforms MCPs

🖥️

Proxmox

Manage VMs and containers via AI

🐋

Portainer

Container management via Portainer

☁️

Google Cloud Run

Deploy containerized applications to Google Cloud Run. Serverless container hosting.

🏗️

Terraform

Infrastructure as Code with HashiCorp Terraform

Alternatives to Kubernetes

If Kubernetes doesn't fit your stack, these Cloud Platforms MCP servers solve similar problems.

🟣

Pulumi

Cloud infrastructure with Pulumi Automation API

🏠

LocalStack

Local AWS for dev

☁️

Azure CLI

Execute Azure commands for cloud management

Key Takeaways

  • Kubernetes exposes 7 tools for cloud platforms workflows in Claude Code, Cursor and Windsurf.
  • Authentication: 1 step (KUBECONFIG).
  • Install in 1 command: mcpizy install kubernetes — config written to your client automatically.
  • Free and open source (GitHub source linked above) — verified compatible with every MCP client (Claude Code, Claude Desktop, Cursor, Windsurf, VS Code + Copilot).
  • Best use case: "List every pod in the `production` namespace and show which ones are not Running".

Frequently asked questions

What is the Kubernetes MCP server?

The Kubernetes MCP server is an Cloud Platforms Model Context Protocol server that lets Claude Code, Cursor, Windsurf, VS Code with Copilot, and other MCP-compatible AI agents cluster operations — pods, deployments, services. It exposes Kubernetes's capabilities as tools the AI can call directly from your editor or CLI.

How do I install Kubernetes MCP with Claude Code?

The fastest way is the MCPizy CLI: run `mcpizy install kubernetes` and MCPizy will add the server to your `.claude.json` automatically. You can also install it manually by adding an entry under `mcpServers` in `.claude.json` with the command `npx -y mcp-server-kubernetes` and restarting Claude Code.

Is Kubernetes MCP free?

Yes. The Kubernetes MCP server is free and open source (see the GitHub repository linked on this page). You may still need a Kubernetes account or API key to connect the server to the underlying service, but the MCP layer itself has no MCPizy subscription cost.

Does Kubernetes MCP work with Cursor and Windsurf?

Yes. Any MCP-compatible client works — including Claude Code, Claude Desktop, Cursor (via `.cursor/mcp.json`), Windsurf, VS Code with Copilot Chat, and custom agents built on the MCP SDK. The same install command targets all of them; only the config file path differs.

What can I do with Kubernetes MCP?

Once installed, your AI agent can cluster operations — pods, deployments, services directly inside your conversation. Typical use cases include asking Claude Code or Cursor to run Kubernetes operations, inspect results, chain Kubernetes with other MCP servers (see our Workflow Recipes), and automate repetitive cloud platforms tasks without leaving your editor.

Manage all your MCPs in one place

Monitor usage, track costs, and discover new MCPs.

Get Started Free