Kubernetes Mcp
Integrates Kubernetes with Generative AI to manage cloud-native applications, offering automation and insights for Kubernetes management. Facilitates interaction with both local and cloud-based Kubernetes clusters.
Author

lewiesnyder
No License
Quick Info
Tools 1
Last Updated 26/7/2025
Actions
Tags
kubernetes cloud developer integrates kubernetes kubernetes management insights kubernetes
Kubernetes MCP
An MCP for integrating kuberentes with Generative AI
More Information on Model Context Protocol Python SDK and MCP Quickstart
Demo
Prerequisites
- Claude Desktop
- install python ^3.13
- uv
- kubectl
- kubectx and kubens
- docker - for running locally
- kind - for a local k8s cluster
Getting started
If you have a kubernetes cluster:
- sign in and use
kubectx
to set the kube context to that cluster.
If you do not have a kuberenets cluster:
- start docker
- run
infra/startKindCluster.sh
to spawn a kind cluster (control plane and two wokers) in docker
Integrate with Claude, Cursor or Windsurf
Tear down
to destroy your kind cluster:
- run
pkill -f "kubectl proxy"
to kill the kubectl proxy process. kind delete cluster
will delte the kind control plane and worker docker containers
Note: the code here is not meant for production use. User assumes all responsiblity for usage