
kubernetes-mcp-server
by containers·★ 1,593·Score 55
Go-based native MCP server for Kubernetes and OpenShift with direct API integration, supporting CRUD operations, pods, namespaces, Helm, and Tekton.
Overview
This is a production-ready MCP server that provides comprehensive interaction with Kubernetes and OpenShift clusters. Unlike other implementations that wrap kubectl commands, this server directly interfaces with the Kubernetes API using a native Go implementation, offering high performance and low latency. The server supports operations on all Kubernetes resources, pod management, namespace viewing, Helm chart management, and Tekton pipeline execution. It's designed to be lightweight with minimal external dependencies and can handle multi-cluster configurations seamlessly.
Try asking AI
After installing, here are 5 things you can ask your AI assistant:
When to choose this
Choose this for direct Kubernetes API access with high performance and multi-cluster support, especially when you need lightweight, native binaries without external dependencies.
When NOT to choose this
Avoid if you need extensive third-party integrations beyond Kubernetes core resources, or if you're already invested in a different MCP server ecosystem with established tooling.
Tools this server exposes
12 tools extracted from the READMElist_podsList pods in all namespaces or in a specific namespace
get_podGet a pod by name from the specified namespace
delete_podDelete a pod by name from the specified namespace
pod_logsShow logs for a pod by name from the specified namespace
pod_topGet resource usage metrics for all pods or a specific pod
pod_execExecute a command inside a pod
run_podRun a container image in a pod and optionally expose it
list_namespacesList all Kubernetes namespaces
list_eventsView Kubernetes events in all namespaces or a specific namespace
helm_installInstall a Helm chart in the current or provided namespace
list_helm_releasesList Helm releases in all namespaces or a specific namespace
helm_uninstallUninstall a Helm release in the current or provided namespace
Comparable tools
Installation
Installation
- **Via npm (for Claude Desktop)**:
Add to your claude_desktop_config.json: ``json { "mcpServers": { "kubernetes": { "command": "npx", "args": ["-y", "kubernetes-mcp-server@latest"] } } } ``
- **Via CLI**:
``bash npx kubernetes-mcp-server@latest # or using uvx uvx kubernetes-mcp-server@latest ``
- **Download binary** from [GitHub releases](https://github.com/containers/kubernetes-mcp-server/releases/latest)
FAQ
- What makes this server different from other Kubernetes MCP implementations?
- Unlike others that wrap kubectl commands, this is a native Go implementation that directly interfaces with the Kubernetes API, offering better performance and without requiring external dependencies to be installed.
- Which Kubernetes resources can I manage with this server?
- The server supports any Kubernetes or OpenShift resource through generic CRUD operations, plus specialized operations for pods, namespaces, Helm charts, and Tekton pipelines.
Compare kubernetes-mcp-server with
Last updated · Auto-generated from public README + GitHub signals.