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 Verified · npm:@tomleb666

Kubernetes MCP Server gives AI assistants access to Kubernetes and OpenShift clusters through the Model Context Protocol. It talks directly to the Kubernetes API server and covers pods, namespaces, events, Helm and Tekton operations.

  • Score 91
  • 2.3k stars
  • 18 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 @tomleb666/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 that lets AI assistants work with Kubernetes and OpenShift clusters. It supports create, update, get, list and delete operations on any resource, along with Pod, Namespace, Event, Project, Helm and Tekton operations. It is published by containers and distributed as a native binary, an npm package, a Python package and a container image.

The server is a Go-based implementation that calls the Kubernetes API server directly rather than wrapping kubectl or helm. It can work with multiple clusters defined in kubeconfig files and supports TOML configuration files, command-line arguments and environment variables. It also offers optional OpenTelemetry tracing and metrics. Users need access to a Kubernetes cluster to use it.

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 the current or a provided namespace.
  • TektonStart pipelines and tasks, restart, cancel and troubleshoot runs, and retrieve their logs.
  • ConfigurationView the current kubeconfig or in-cluster configuration and detect changes to it.
  • ObservabilityOptional OpenTelemetry tracing and metrics, with a /stats endpoint for statistics.

What you need

  • Access to a Kubernetes cluster
  • A kubeconfig file or in-cluster configuration

Try asking

  • List all pods in the default namespace of my cluster
  • Show the recent events in the production namespace
  • Install a Helm chart into the staging namespace

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 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 need kubectl or helm installed?

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

Can it work with more than one cluster?

Yes. The source says it can interact with multiple Kubernetes clusters at the same time, as defined in kubeconfig files.

How is access controlled?

The source says read_only and denied_resources are best-effort guardrails, and Kubernetes RBAC on the authenticated identity is the access control to rely on.

How do I install Kubernetes MCP Server?

In Claude Code run claude mcp add kubernetes-mcp-server -- npx -y @tomleb666/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 published by npm:@tomleb666 from its verified domain in the official MCP Registry.

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 91 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.