Complete AI Training

MCP server · Developer tools

Kubernetes MCP server

by reza-gholizade

Lets your AI look at your Kubernetes cluster: list resources, read pod logs, check metrics and events.

Flow diagram: you ask your AI “Which pods are running in my cluster?”, the Kubernetes MCP server connects it to Kubernetes cluster, and you get back plain answers in chat.

This is a helper that connects your AI assistant to a Kubernetes cluster. Kubernetes is the system many companies use to run their apps in containers, and it can be hard to see what is going on inside it. If you work near a cluster and want to ask questions about it in plain words, this server is for you.

What is an MCP server? The 30-second version

On its own, your AI can only chat with you. An MCP server is a small helper program that gives your AI a new skill or a connection to another system. This one connects your AI to your Kubernetes cluster, so the AI can look things up there and, if you allow it, make changes. You just ask in normal words, and the helper does the technical part behind the scenes.

What this MCP server does

You ask your AI something about your cluster, like which pods are running or why one is failing. The AI sends that request to this helper program. The helper talks to your Kubernetes cluster using your existing access settings. It brings back the answer, such as a list of resources, the logs from a pod, or the CPU and memory numbers for a node. If write access is on, it can also create, update, or delete resources for you from a file you provide.

Flow diagram: you ask your AI “Which pods are running in my cluster?”, the Kubernetes MCP server connects it to Kubernetes cluster, and you get back plain answers in chat. Click to zoom

What you can do with it

  • List the resources in your cluster, filtered by namespace or labels
  • Read the logs from a specific pod or container
  • Check CPU and memory metrics for pods and nodes
  • Describe a resource in detail, like kubectl describe does
  • List recent events in a namespace or for one resource
  • Create or update a resource from a YAML or JSON file
  • Delete a resource when you ask it to

Try asking your AI

  • “List all pods in the default namespace and tell me which ones are not running”
  • “Show me the logs from the pod called web-7f9c in the staging namespace”
  • “What are the CPU and memory numbers for the node worker-2”
  • “Are there any warning events in the production namespace in the last hour”

What it gives back to you

You get answers in the chat, in plain words. That can be a list of resources, a summary of a pod's state, the raw log lines from a container, or numbers for CPU and memory. If you asked it to change something, it tells you what it created, updated, or deleted.

Before you start

What you need

  • Access to a Kubernetes cluster
  • kubectl set up on your machine with working cluster access
  • Go 1.23 or later if you build it yourself, or Docker if you use the ready-made image

Good to know

It can create, update, and delete resources in your cluster when write access is on, so use the read-only mode if you only want to look around.

Install it with your AI

Add Kubernetes MCP server to your AI, no technical skills needed

You don't install anything by hand. You copy one prompt, paste it into an AI that can work on your computer, and it checks, installs and connects the server for you, asking you when it needs something.

Sign in to get the install prompt

Members get a ready-made prompt that lets the Claude desktop app check Kubernetes MCP server, install it and connect it for them, step by step. You don't need any technical skills: you copy, paste and answer a few questions. Your connected AI can also find and install any of the 4,066 MCP servers here for you.

Sign in Become a member

Who it's for

Developers, DevOps engineers, and support or operations people who already work with Kubernetes and want to ask questions about a cluster in plain language.