# Kubernetes MCP server

> Ask in plain English to look up, troubleshoot and change resources in your Kubernetes clusters.

- Sign-in: See setup
- Connect in RevampKey: https://revampkey.com/marketplace/kubernetes-mcp-server

## Agent skills (5)

- [Kubernetes MCP Server essentials with AI: safe cluster access](https://revampkey.com/marketplace/kubernetes-mcp-server/skills/essentials.md): Teaches an AI agent to confirm the cluster context and namespace, pick read tools before write tools, and ask for explicit approval before any change to a live cluster.
- [Kubernetes MCP Server Cluster Health Triage with AI](https://revampkey.com/marketplace/kubernetes-mcp-server/skills/cluster-health-triage.md): Sweeps a cluster or namespace for unhealthy pods, crash loops, pending workloads, failed rollouts and node problems, and ranks them by severity. It is read-only and changes nothing.
- [Kubernetes MCP Server Helm Release Audit with AI](https://revampkey.com/marketplace/kubernetes-mcp-server/skills/release-and-helm-audit.md): Inventories Helm releases in a namespace, compares them with what is running, and flags failed upgrades, drift and stale versions for review. It is read-only and makes no changes.
- [Kubernetes MCP Server safe change rollout with AI](https://revampkey.com/marketplace/kubernetes-mcp-server/skills/safe-change-rollout.md): Plans one scoped change to a workload, such as a scale, patch, manifest apply or rollout, with a snapshot and a rollback path. It asks for your explicit approval before every write.
- [Kubernetes workload troubleshooting with AI: find the root cause of a failing pod](https://revampkey.com/marketplace/kubernetes-mcp-server/skills/workload-troubleshooting.md): Diagnoses one crashing, pending or unready pod, deployment or job, from state and events through logs, and proposes a fix. It never applies a change without your approval.

All skills: https://revampkey.com/marketplace/kubernetes-mcp-server/skills.md

Kubernetes MCP Server is an open source server made by Flux159. It is published on GitHub as mcp-server-kubernetes and described as a public server for Kubernetes management commands. It is written in TypeScript. Engineers who run Kubernetes clusters use it to look up resources, read logs and run kubectl and Helm commands without typing each one by hand.

After you connect it from the Connectors tab in RevampKey, you can ask the agent about pods, nodes, API resources and kubectl contexts in your cluster. It can get and describe resources, read pod logs and explain resource fields. It can install, upgrade and uninstall Helm charts, open and stop port forwards, and run commands inside a pod. Before it applies, creates or deletes a resource, it asks you first.

## What you can do

### Find out why a pod keeps restarting

A pod in your staging namespace keeps restarting. You ask the agent what is wrong. It describes the pod, reads its recent logs and summarizes the likely cause. It changes nothing unless you ask it to make a change.

### Clean up finished jobs

Your batch namespace has old completed jobs. You ask the agent to list them. It shows the matches it found. When you confirm, it deletes them with kubectl_delete. The agent asks you before each delete runs.

### Install a Helm chart for a new team

A team wants Redis in a new cache namespace. You ask the agent to install the Helm chart with a name you choose. The agent runs install_helm_chart and reports what it set up. Later, you can ask it to upgrade or uninstall that release.

## Things to ask

- List the pods that are not running in the staging namespace.
- Show the recent logs for the api pod in the prod namespace.
- Install the bitnami redis Helm chart into the cache namespace.
- Delete the completed jobs in the batch namespace, but ask me before each one.
- Open a port forward to the postgres pod in the dev namespace on port 5432.

## What the agent can do

### Reading resources

Look up pods, nodes and other resources in your cluster. Describe a resource to see its details. Explain the fields a resource uses, and list the API resources your cluster offers.

`kubectl_get`, `kubectl_describe`, `explain_resource`, `list_api_resources`

### Logs and pod access

Read logs from a pod. Run a command inside a pod. Open or stop port forwards to reach a pod from your computer.

`kubectl_logs`, `exec_in_pod`, `port_forward`, `stop_port_forward`

### Applying, creating and deleting resources

Apply, create or delete Kubernetes resources in your cluster. The agent asks you before each of these runs, so you can stop it first.

`kubectl_apply`, `kubectl_create`, `kubectl_delete`

### Other kubectl commands

Run patch, scale and rollout commands. Run other kubectl commands through the generic tool, and check the active kubectl context.

`kubectl_patch`, `kubectl_scale`, `kubectl_rollout`, `kubectl_generic`, `kubectl_context`

### Helm charts

Install, upgrade and uninstall Helm charts in your cluster. You can manage packaged apps by name, without writing each Kubernetes object by hand.

`install_helm_chart`, `upgrade_helm_chart`, `uninstall_helm_chart`

### Node and server checks

Manage nodes with node_management. Run the cleanup tool. Use ping to check that the server responds.

`ping`, `cleanup`, `node_management`

## FAQ

### What do I need to connect Kubernetes MCP Server?

You need RevampKey on Mac, Windows or Linux. Open the Connectors tab in RevampKey and add Kubernetes MCP Server there. The agent works against the Kubernetes clusters that the server can reach, so the server must be able to reach the cluster you want to ask about.

### What can the agent do and what can't it do in Kubernetes MCP Server?

The agent can look up pods, nodes and API resources, describe resources and read pod logs. It can run kubectl and Helm commands, open port forwards and run commands in a pod. It can apply, create and delete Kubernetes resources, but it asks you first each time. It cannot use any tool that is not in the connector's list.

### Does the agent change my cluster without asking?

No, not for apply, create or delete. The agent asks you before it runs any of those. Other tools, such as Helm installs, upgrades and patch or scale commands, are not marked as asking first, so read each request before you confirm it. Check the agent's answers before you act on them.

### Who made Kubernetes MCP Server and where is the code?

Flux159 made Kubernetes MCP Server. The code is on GitHub under Flux159 as mcp-server-kubernetes, where it is described as a public server for Kubernetes management commands. It is written in TypeScript. In RevampKey, it is available now.

### Is the Kubernetes MCP server local or remote?

It runs on your own computer with npx (package mcp-server-kubernetes@4.1.9). Your client starts it as a local process; nothing is hosted.

### What can an AI agent do with the Kubernetes MCP server?

It exposes 22 tools: 19 that read and 3 that create or change things. In RevampKey the agent asks before it runs any tool that changes data.

### Are there agent skills for Kubernetes?

Yes. 5 SKILL.md playbooks teach an agent how to do real Kubernetes work step by step. RevampKey installs them when you connect Kubernetes; for Claude Code, Cursor or Codex you can copy them into your project.

## Tools (22)

- `cleanup`
- `exec_in_pod`
- `explain_resource`
- `install_helm_chart`
- `kubectl_apply` (changes data)
- `kubectl_context`
- `kubectl_create` (changes data)
- `kubectl_delete` (changes data)
- `kubectl_describe`
- `kubectl_generic`
- `kubectl_get`
- `kubectl_logs`
- `kubectl_patch`
- `kubectl_rollout`
- `kubectl_scale`
- `list_api_resources`
- `node_management`
- `ping`
- `port_forward`
- `stop_port_forward`
- `uninstall_helm_chart`
- `upgrade_helm_chart`

## Details

- Maker: Flux159
- Setup: Connect from the app

Page: https://revampkey.com/marketplace/kubernetes-mcp-server
