Kubernetes MCP Server

Community
Infrastructure
stdio

Enable AI agents to interact with Kubernetes clusters. List and inspect pods, manage deployments, view logs, apply manifests, and manage Helm releases. Supports kubeconfig-based multi-cluster access.

Quick Install

$ npx -y mcp-server-kubernetes

In-Depth Setup Guide

Complete setup walkthrough & security best practices

Read Guide

Configuration by Client

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

Need a different client? Use the Config Generator for Windsurf, Cline, Antigravity, and more.

Available Tools (5)

list_podsget_pod_logsapply_manifestlist_deploymentsscale_deployment

Kubernetes FAQ

What is the Kubernetes MCP server?

Enable AI agents to interact with Kubernetes clusters. List and inspect pods, manage deployments, view logs, apply manifests, and manage Helm releases. Supports kubeconfig-based multi-cluster access.

How do I install the Kubernetes MCP server?

Run: npx -y mcp-server-kubernetes

Which AI clients support the Kubernetes MCP server?

The Kubernetes MCP server works with Claude Desktop, Cursor, Codex CLI, Antigravity, Windsurf, and any MCP-compatible client using stdio transport.

What tools does the Kubernetes MCP server provide?

The server provides 5 tools: list_pods, get_pod_logs, apply_manifest, list_deployments, scale_deployment.