kubernetes-mcp-server
Model Context Protocol (MCP) server for Kubernetes and OpenShift
kubernetes-mcp-server is a native Go-based MCP server that enables AI assistants to interact directly with Kubernetes and OpenShift clusters through the Model Context Protocol. Unlike wrapper-based solutions, it communicates directly with the Kubernetes API server without requiring kubectl or helm CLI tools, providing high-performance cluster operations including pod management, resource CRUD, Helm deployments, Tekton pipelines, and KubeVirt virtual machines. The server supports multiple clusters simultaneously, runs as a lightweight single binary across platforms, and includes specialized toolsets for Istio/Kiali service mesh observability, NetObserv network flow analysis, and comprehensive troubleshooting capabilities.
Key Features
Use Cases
- 01Diagnose and fix failing Kubernetes deployments by analyzing pod status, logs, and events through AI assistants
- 02Deploy applications to clusters using Helm charts or container images with natural language commands
- 03Troubleshoot Istio service mesh traffic issues using Kiali topology graphs, traces, and metrics
- 04Manage KubeVirt virtual machines including creation from templates, guest agent inspection, and automated root-cause analysis
- 05Investigate network flow patterns and packet drops with NetObserv flow records and topology metrics
- 06Automate Tekton CI/CD pipelines by starting runs, retrieving logs, and troubleshooting failures
Related MCP Servers
View moremarkitdown
Python tool for converting files and office documents to Markdown.
firecrawl
The context API to search, scrape, and interact with the web at scale. 🔥
prompts.chat
f.k.a. Awesome ChatGPT Prompts. Share, discover, and collect prompts from the community. Free and open source — self-host for your organization with complete privacy.
langflow
Langflow is a powerful tool for building and deploying AI-powered agents and workflows.
kubernetes-mcp-server — FAQ
What is kubernetes-mcp-server?+
It's a Model Context Protocol server that gives AI assistants like Claude direct access to Kubernetes and OpenShift clusters without requiring kubectl or other CLI tools. Built in Go, it communicates natively with the Kubernetes API for high-performance operations.
How do I install kubernetes-mcp-server in Claude Desktop?+
Add the server to your claude_desktop_config.json using npx: {"mcpServers": {"kubernetes": {"command": "npx", "args": ["-y", "kubernetes-mcp-server@latest"]}}}. Restart Claude Desktop after saving the configuration.
Which AI clients support this MCP server?+
The server works with Claude Desktop, Claude Code (VS Code/Insiders), Cursor, Goose CLI, and any MCP-compatible client. It can also run in HTTP mode for browser-based or custom integrations.
Do I need API keys or special credentials?+
No API keys are required. You only need access to a Kubernetes cluster with a valid kubeconfig file (typically ~/.kube/config) or in-cluster service account credentials when running inside a pod.
Is kubernetes-mcp-server free and open source?+
Yes, it's fully open source and available under the Apache 2.0 license. Native binaries, npm packages, Python packages, and container images are all freely available.
Can I restrict the server to read-only operations?+
Yes, use the --read-only flag to disable all write operations, or --disable-destructive to prevent only delete/update actions. You can also configure denied resources via TOML to block access to sensitive resource types like Secrets.
How do I install kubernetes-mcp-server?+
Open the source repository on GitHub and follow its README. kubernetes-mcp-server is a mcp server — MCP Agents Market links you directly to the official repo.
Is kubernetes-mcp-server free?+
kubernetes-mcp-server is an open-source project hosted on GitHub. Check the repository for its license and any usage requirements.