Kubernetes MCP Server
Speaks to the Kubernetes API in-process instead of shelling out to kubectl
Add it to your client
Communitynpx kubernetes-mcp-server@latest
{
"mcpServers": {
"kubernetes-mcp": {
"command": "npx",
"args": [
"kubernetes-mcp-server@latest"
]
}
}
}- Transport
- both
- Runtime
- Go
- Auth
- Required
- License
- Apache-2.0
- Stars
- 1,976
A Go server built on the Kubernetes client libraries, so the machine running it needs neither a kubectl nor a helm binary — it resolves kubeconfig the way any client would, including in-cluster credentials. The default toolset covers pods, arbitrary resources, events, nodes and contexts, with exec, logs and top included, while Helm releases, Tekton pipelines, KubeVirt machines and OpenShift views sit behind optional toolsets. Two flags decide how much damage an agent can do: --read-only blocks every write, --disable-destructive keeps creates and updates but drops deletes. It runs on stdio by default and exposes Streamable HTTP plus SSE once a port is given.
Similar MCP servers
Kubernetes MCP Server
MCP serverSpeaks to the Kubernetes and OpenShift API server directly from Go instead of shelling out to kubectl.
mcp-server-kubernetes
MCP serverDrives the kubectl and Helm binaries already installed on the machine

Comments(0)
Sign in to comment