Kubernetes MCP Server
Go-native MCP server for Kubernetes and OpenShift: CRUD on any resource, pods (logs, exec, top), events, Helm, Tekton and KubeVirt, talking to the API server directly.
Tags
Description
Unlike wrappers around kubectl, it calls the Kubernetes API server directly and ships as a single binary for Linux, macOS and Windows, plus npm (npx kubernetes-mcp-server@latest), PyPI (uvx) and container images. Works across multiple clusters from your kubeconfig or in-cluster config. Runtime settings are TOML: read_only = true only exposes tools annotated read-only, disable_destructive = true removes delete/update tools, toolsets (default core, config) adds Helm, Kiali, KubeVirt, Tekton and more, and setting port serves Streamable HTTP at /mcp (with optional OAuth). For production the README points to a setup guide with a dedicated read-only ServiceAccount.
Related
- Terraform MCP Server: HashiCorp's MCP server for the Terraform Registry (providers, modules, policies) and HCP Terraform / Terraform Enterprise workspaces.
- AWS MCP Servers (awslabs): Suite of open-source, specialized MCP servers from AWS Labs for working with AWS services.
- Agent Sandbox (Kubernetes SIG Apps): Kubernetes CRD and controller for isolated, stateful, singleton sandbox pods for agent runtimes and RL, with templates, claims and warm pools.
- Grafana MCP Server: Grafana's MCP server for querying dashboards, data sources and observability data from AI agents.
Guides & comparisons
- DevOps and observability MCP servers compared (Comparison): Eight official MCP servers for infrastructure and operations work (Kubernetes, Terraform, Buildkite, Azure DevOps, Heroku, Datadog, Grafana and Sentry) compared on what they cover, where they run, how they authenticate and how far their read-only modes actually go.
- Self-hosted sandboxes for agents compared (Comparison): Six ways to isolate agent-run code on hardware you control (OpenSandbox, AIO Sandbox, microsandbox, Kubernetes Agent Sandbox, Anthropic's sandbox-runtime and Docker Sandboxes' local mode) compared on isolation, where they run, agent interface, network and secret controls, maturity and license.
Sources
- https://github.com/containers/kubernetes-mcp-server
- https://github.com/containers/kubernetes-mcp-server/blob/main/docs/configuration.md
Machine-readable
- JSON
- Markdown
- Source file on GitHub (edit via pull request)