Kubernetes MCP Server

MCP server for interacting with Kubernetes clusters via kubectl

Add to Claude
(opens in new tab)

MCP Server that can connect to a Kubernetes cluster and manage it.

By default, the server loads kubeconfig from `~/.kube/config`.

The server will automatically connect to your current kubectl context. Make sure you have:

1. kubectl installed and in your PATH

2. A valid kubeconfig file with contexts configured

3. Access to a Kubernetes cluster configured for kubectl (e.g. minikube, Rancher Desktop, GKE, etc.)

4. Optional: Helm v3 installed and in your PATH.

You can verify your connection by asking Claude to list your pods or create a test deployment.

If you have errors open up a standard terminal and run `kubectl get pods` to see if you can connect to your cluster without credentials issues.

## Features

- [x] Connect to a Kubernetes cluster

- [x] Unified kubectl API for managing resources

- Get or list resources with `kubectl_get`

- Describe resources with `kubectl_describe`

- List resources with `kubectl_get`

- Create resources with `kubectl_create`

- Apply YAML manifests with `kubectl_apply`

- Delete resources with `kubectl_delete`

- Get logs with `kubectl_logs`

- and more.

Tools

  • ping
  • cleanup
  • kubectl_get
  • kubectl_describe
  • kubectl_apply
  • kubectl_delete
  • kubectl_create
  • kubectl_logs
  • kubectl_patch
  • kubectl_rollout
  • kubectl_scale
  • kubectl_context
  • kubectl_generic
  • install_helm_chart
  • upgrade_helm_chart
  • uninstall_helm_chart
  • explain_resource
  • list_api_resources
  • node_management
  • exec_in_pod
  • port_forward
  • stop_port_forward

Only use connectors from developers you trust. Anthropic does not control which tools developers make available and cannot verify that they will work as intended or that they won’t change.

Related connectors

Google Drive

Search, read, and upload files instantly

Add Google Drive in Claude (opens in new tab)

Gmail

Draft replies, summarize threads, & search your inbox

Add Gmail in Claude (opens in new tab)

Google Calendar

Manage your schedule and coordinate meetings effortlessly

Add Google Calendar in Claude (opens in new tab)

Canva

Search, create, autofill, and export Canva designs

Add Canva in Claude (opens in new tab)

Microsoft 365

Access your company's SharePoint, OneDrive, Outlook, and Teams directly in Claude

Add Microsoft 365 in Claude (opens in new tab)

Notion

Connect your Notion workspace to search, update, and power workflows across tools

Add Notion in Claude (opens in new tab)