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

kubeview

MCP server by mikhae1 Community

Reads Kubernetes cluster state through a sandboxed TypeScript runtime, so one call can query and correlate results. It is built for engineers who diagnose workloads with an AI assistant.

  • Score 75
  • 6 stars
  • 156 a week
  • MIT
  • Updated

Install kubeview

Built from the published package, never by AI.

claude mcp add kubeview -- npx -y kubeview-mcp

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

Step-by-step: install kubeview 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 kubeview block.

About

KubeView MCP is a read-only Model Context Protocol server for Kubernetes diagnostics. Instead of exposing many tools, it gives the assistant a sandboxed TypeScript runtime. A single run_code call can query Kubernetes, Helm, Argo Workflows and Argo CD, correlate the results, and return only the answer. Intermediate payloads stay out of the model's context window.

Sensitive actions are isolated. kube_pod_exec is unavailable inside sandboxed code and needs MCP elicitation approval at the top level. That approval is bound to the argument digest and expires after 10 minutes. The server supports multiple kube contexts and an optional HTTP transport. It suits engineers who want an AI assistant to investigate cluster issues.

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

Tools it gives your assistant

  • run_codeRuns bounded TypeScript with top-level await to query Kubernetes, Helm and Argo APIs in one call.
  • kube_pod_execRuns a command in a pod, gated by per-call user approval that expires after 10 minutes.
  • kube_listLists Kubernetes resources as a top-level tool when MCP_MODE is set to tools.
  • kube_getFetches a single Kubernetes resource as a top-level tool when MCP_MODE is set to tools.
  • kube_logsReads pod logs as a top-level tool when MCP_MODE is set to tools.
  • kube_contextsLists the kube contexts the server can target when MCP_MODE is set to tools.
  • helmLists, gets and debugs Helm releases as a top-level tool when MCP_MODE is set to tools.

What you need

  • Node.js 22 or later
  • Access to a Kubernetes cluster through KUBECONFIG or an in-cluster service account
SettingNeededWhat it is
KUBECONFIGEnvironment variableOptionalPath to kubeconfig file; defaults to ~/.kube/config if unset.
MCP_TRANSPORTEnvironment variableOptionalTransport mode: 'stdio' (default) or 'http'. The published package metadata still targets stdio by default.
MCP_MODEEnvironment variableOptionalServer mode: 'code' (default), compatibility alias 'all', or direct 'tools'.
MCP_CODE_MODE_DISABLED_TOOLSEnvironment variableOptionalComma-separated configurable denials inside run_code. Environment overrides JSON; an empty value enables all configurable capabilities.
MCP_ARGO_TOOLSEnvironment variableOptionalArgo Workflows capability override: auto, on, or off. Auto uses Kubernetes API discovery.
MCP_ARGOCD_TOOLSEnvironment variableOptionalArgo CD capability override: auto, on, or off. Auto uses Kubernetes API discovery or explicit remote configuration.
MCP_LOG_LEVELEnvironment variableOptionalLogging level: 'error', 'warn', 'info' (default), or 'debug'.
MCP_KUBE_CONTEXTEnvironment variableOptionalKubernetes context name to use. If unset, uses the current context from kubeconfig.
MCP_K8S_SKIP_TLS_VERIFYEnvironment variableOptionalSkip TLS certificate verification for Kubernetes API (use 'true' or '1'). Not recommended for production.
MCP_HIDE_SENSITIVEEnvironment variableOptionalEnable global sensitive data masking. Set to 'true' or '1' to mask sensitive values in responses.
MCP_TIMEOUTEnvironment variableOptionalDefault timeout in milliseconds for operations. If unset, uses plugin-specific defaults.
MCP_HTTP_HOSTEnvironment variableOptionalHTTP bind host when MCP_TRANSPORT=http. Defaults to 127.0.0.1.
MCP_HTTP_PORTEnvironment variableOptionalHTTP port when MCP_TRANSPORT=http. Defaults to 3000.
MCP_HTTP_PATHEnvironment variableOptionalHTTP endpoint path when MCP_TRANSPORT=http. Defaults to /mcp.
MCP_HTTP_JSON_RESPONSEEnvironment variableOptionalPrefer JSON responses over SSE in HTTP mode. Set to 'true' or '1' to enable.
MCP_APPROVAL_STATE_SECRETEnvironment variable, secretOptionalShared secret of at least 32 bytes for signing approval state. Required in HTTP mode and identical across replicas.
MCP_APPROVAL_REPLAY_DIREnvironment variableOptionalAbsolute directory on writable storage shared by every HTTP replica, used to atomically prevent approval replay.
MCP_ALLOWED_HOSTSEnvironment variableOptionalComma-separated Host allowlist for HTTP mode. Required when binding to 0.0.0.0 or ::.
MCP_ALLOWED_ORIGINSEnvironment variableOptionalComma-separated Origin allowlist for HTTP mode.
MCP_DISABLE_KUBERNETES_PLUGINEnvironment variableOptionalDisable Kubernetes plugin. Set to 'true' or '1' to disable.

From the publisher's entry in the official MCP Registry. Required settings are already in the install config below as placeholders.

Try asking

  • Use run_code to list unhealthy pods in the payments namespace and fetch their logs.
  • Compare the api deployment in the staging and prod contexts using run_code.
  • Use kube_contexts to show which clusters I can target.

Good to know

  • Described as read-only, but kube_pod_exec can run commands in pods with approval.
  • kube_port_forward is never exposed as a top-level tool and is denied in code mode by default.
  • HTTP mode refuses to start without both approval variables set.
  • The published MCP registry entry still targets stdio.

Security check

A

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

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

Alternatives to kubeview

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

kubeview: common questions

Can KubeView change my Kubernetes cluster?

The project describes itself as read-only. The one exception in the source is kube_pod_exec, which requires per-call user approval.

Does KubeView work with more than one cluster?

Yes. Each cluster tool accepts an optional context argument, and MCP_KUBE_CONTEXTS can limit or alias the contexts that are reachable.

Do I need the Helm CLI installed to use it?

No. Helm releases are parsed from cluster Secrets or ConfigMaps, and a local helm binary is only a fallback.

How do I install kubeview?

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

Is kubeview the official server?

kubeview is a community project by mikhae1, not verified by a company domain.

Is kubeview free?

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

Is kubeview safe to use?

It scores 75 of 100. Grades: maintenance A, licence A, quality C. 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 kubeview?

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

Does kubeview 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.

kubeview Install

Add to stack

Loading.