mcp-k8s-go

mcp-k8s-go

MCP.Pizza Chef: strowk

Clusters, namespaces, nodes, pods, and recent events are all listable from a chat window, and it can fetch logs or run a command inside a running pod. It reads and writes: creating or changing resources is supported too, so consider limiting which clusters it may touch. No paid key is needed because it uses the cluster access already configured on your computer. Installation offers several routes, from a one-line install to Docker. Last meaningful update: December 2025.

Coding
Data

Use This MCP server To

Show me which pods are failing right now Read the logs from a crashing pod List the namespaces in my cluster Check recent cluster events for the cause of an error Run a quick command inside a running pod Switch between the clusters I have access to

README

Golang-based MCP server connecting to Kubernetes


MCP K8S Go

Features ⚙ Browse With Inspector ⚙ Use With Claude ⚙ Contributing ↗ ⚙ About MCP ↗


latest release badge Go Reference license badge

Features

MCP 💬 prompt 🗂️ resource 🤖 tool

  • 🗂️🤖 List Kubernetes contexts
  • 💬🤖 List Kubernetes namespaces
  • 🤖 List, get, create and modify any Kubernetes resources
    • includes custom mappings for resources like pods, services, deployments
  • 🤖 List Kubernetes nodes
  • 💬 List Kubernetes pods
  • 🤖 Get Kubernetes events
  • 🤖 Get Kubernetes pod logs
  • 🤖 Run command in Kubernetes pod

Browse With Inspector

To use latest published version with Inspector you can run this:

npx @modelcontextprotocol/inspector npx @strowk/mcp-k8s

mcp-k8s-go FAQ

Is this project still maintained?
Quietly. It is not archived, but the last change was December 2025, roughly eight months ago, and recent activity has been mostly routine dependency updates rather than new features.
Do I need an account or a paid key?
No. It reuses the Kubernetes access already set up on your machine, so it can only reach clusters you could reach yourself.
Can it change things in my cluster, or only look?
It can create and modify resources as well as read them, and it can run commands inside pods. There is a setting to restrict which clusters it is allowed to use.
Which apps does it work in?
Claude Desktop and other assistants that support MCP servers.
Can I use this to work out why a deployment is broken?
Yes — list the failing pods, read their logs, and check recent cluster events, all without switching to a terminal.
How hard is setup?
Straightforward. One command installs it automatically for Claude Desktop, or you paste a short block naming the program. Ready-built downloads and a Docker image are also available.