Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

kubernetes-mcp-server

MCP server by containers Community

Kubernetes MCP Server gives AI assistants access to Kubernetes and OpenShift clusters. It is for developers and operators who want an assistant to inspect and manage cluster resources.

  • Score 94
  • 2.3k stars
  • 55k a week
  • Apache-2.0
  • Updated

Install kubernetes-mcp-server

Built from the published package, never by AI.

claude mcp add kubernetes-mcp-server -- npx -y kubernetes-mcp-server

Run in your terminal. Add --scope user to use it in every project.

Step-by-step: install kubernetes-mcp-server in Claude Code

MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the kubernetes-mcp-server block.

About

Kubernetes MCP Server is a Model Context Protocol server for Kubernetes and OpenShift. It lets an AI assistant work with any cluster resource through create, get, list, update and delete operations, and it adds dedicated actions for pods, namespaces, events, projects, Helm releases and Tekton pipelines. It reads the existing kubeconfig or in-cluster configuration and can work with several clusters at once.

The source describes it as a Go-based native implementation that talks directly to the Kubernetes API server, not a wrapper around kubectl or helm. It is distributed as a single binary for Linux, macOS and Windows, and also as an npm package, a Python package and a container image. Behavior can be set with command-line arguments, TOML files or environment variables, including a read_only option and a toolsets setting. It is aimed at developers and platform teams working with Kubernetes or OpenShift.

Written from the project's README and checked against it.

Tools it gives your assistant

  • Generic Kubernetes ResourcesPerform create, update, get, list and delete operations on any Kubernetes or OpenShift resource.
  • PodsList, get, delete, show logs, check resource usage, exec into, and run container images in pods.
  • NamespacesList Kubernetes namespaces.
  • EventsView Kubernetes events in all namespaces or a specific namespace.
  • ProjectsList OpenShift projects.
  • HelmInstall, list and uninstall Helm releases in a chosen namespace.
  • TektonStart pipelines and tasks, restart, cancel and troubleshoot runs, and retrieve logs.
  • ConfigurationView the current kubeconfig or in-cluster configuration and detect changes to it.

What you need

  • Access to a Kubernetes cluster
  • Node.js and npm, if using the npx install
  • Python and uv, if using the uvx install
  • No external tools needed when using the native binary

Try asking

  • List all pods in the default namespace and flag any that are not running
  • Show the logs for the failing pod in namespace prod
  • List all Helm releases across all namespaces

Good to know

  • read_only and denied_resources are best-effort guardrails; Kubernetes RBAC is the access control to rely on
  • MCP log redaction is best-effort and does not sanitize all tool results

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: README.md. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to kubernetes-mcp-server

All alternatives →
Azure MCP Server microsoft
100

Azure MCP Server bundles all Azure MCP tools into one local MCP server. It connects AI agents to Azure services and can be used alone or with the GitHub Copilot for Azure extension in VS Code.

AAA Local 261k/wk
openstatus openstatusHQ
98

Manages monitors, status pages, incidents and maintenances in an openstatus workspace from Claude, ChatGPT, or Cursor. It suits teams that run uptime monitoring and status pages and want their AI assistant to update them.

ACA Remote 9.3k
SmartBear MCP SmartBear
97

SmartBear MCP gives AI assistants access to SmartBear's testing and monitoring tools, including BugSnag, Reflect, Swagger, PactFlow and QTM4J. It is aimed at teams that already use these products. Products are reached through remote servers or a local npm package.

AAC Local and remote 17k/wk
Fettle fettlesh
97

Lets AI assistants manage Fettle uptime monitoring, including monitors, incidents, heartbeats, maintenance windows and status page incidents. Built for developers and operations teams who use Fettle and want to work from Claude, Cursor or Codex.

AAC Local and remote 22k/wk
Superlog superloglabs
95

Superlog is an open-source agentic telemetry system that ingests traces, logs and metrics and groups noisy signals into incidents. It is aimed at teams debugging production systems with OpenTelemetry data.

AAA Remote 1.5k
Microsoft Learn MCP MicrosoftDocs
94

Microsoft Learn MCP gives AI assistants direct access to official Microsoft documentation and code samples through a remote MCP endpoint. It is for developers who use MCP-compatible clients and want answers based on current Microsoft docs.

ACA Remote 2k

Compare with Azure MCP Server, openstatus or SmartBear MCP

kubernetes-mcp-server: common questions

Does kubernetes-mcp-server require kubectl or helm to be installed?

No. The source says it is a native implementation that talks directly to the Kubernetes API server and needs no external tools installed on the system.

Which platforms does it support?

The server is distributed as a native binary for Linux, macOS and Windows, and as an npm package, a Python package and a container image.

Can it work with more than one cluster?

Yes. The source says it can interact with multiple Kubernetes clusters at once, as defined in your kubeconfig files.

How do I install kubernetes-mcp-server?

In Claude Code run claude mcp add kubernetes-mcp-server -- npx -y kubernetes-mcp-server. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.

Is kubernetes-mcp-server the official server?

kubernetes-mcp-server is a community project by containers, not verified by a company domain.

Is kubernetes-mcp-server free?

The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.

Is kubernetes-mcp-server safe to use?

It scores 94 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to kubernetes-mcp-server?

Similar MCP servers: Azure MCP Server, openstatus, SmartBear MCP, Fettle.

Does kubernetes-mcp-server work with ChatGPT?

Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.

kubernetes-mcp-server Install

Add to stack

Loading.