Back to MCP Servers
🧩

kubeview MCP Server

API key required

Read-only Model Context Protocol MCP server enabling code-driven AI analysis of Kubernetes clusters.

To add kubeview to Claude, run the install command below or copy the ready-made config for Claude Code, Claude Desktop, Cursor and VS Code further down. Restart your client after adding it and its tools show up in your next conversation. It needs 24 environment variables, listed below.

FilesAICloud

Install

npx -y kubeview-mcp@2.3.0

Environment variables

KUBECONFIGSet in your MCP config
MCP_TRANSPORTSet in your MCP config
MCP_MODESet in your MCP config
MCP_CODE_MODE_DISABLED_TOOLSSet in your MCP config
MCP_ARGO_TOOLSSet in your MCP config
MCP_ARGOCD_TOOLSSet in your MCP config
MCP_LOG_LEVELSet in your MCP config
MCP_KUBE_CONTEXTSet in your MCP config
MCP_K8S_SKIP_TLS_VERIFYSet in your MCP config
MCP_HIDE_SENSITIVESet in your MCP config
MCP_TIMEOUTSet in your MCP config
MCP_HTTP_HOSTSet in your MCP config
MCP_HTTP_PORTSet in your MCP config
MCP_HTTP_PATHSet in your MCP config
MCP_HTTP_JSON_RESPONSESet in your MCP config
MCP_APPROVAL_STATE_SECRETSet in your MCP config
MCP_APPROVAL_REPLAY_DIRSet in your MCP config
MCP_ALLOWED_HOSTSSet in your MCP config
MCP_ALLOWED_ORIGINSSet in your MCP config
KUBE_MCP_FORCE_VM_SANDBOXSet in your MCP config
MCP_DISABLE_KUBERNETES_PLUGINSet in your MCP config
MCP_DISABLE_HELM_PLUGINSet in your MCP config
MCP_DISABLE_ARGO_PLUGINSet in your MCP config
MCP_DISABLE_ARGOCD_PLUGINSet in your MCP config

Install with your client

Terminal
claude mcp add kubeview --env KUBECONFIG=<YOUR_KUBECONFIG> --env MCP_TRANSPORT=<YOUR_MCP_TRANSPORT> --env MCP_MODE=<YOUR_MCP_MODE> --env MCP_CODE_MODE_DISABLED_TOOLS=<YOUR_MCP_CODE_MODE_DISABLED_TOOLS> --env MCP_ARGO_TOOLS=<YOUR_MCP_ARGO_TOOLS> --env MCP_ARGOCD_TOOLS=<YOUR_MCP_ARGOCD_TOOLS> --env MCP_LOG_LEVEL=<YOUR_MCP_LOG_LEVEL> --env MCP_KUBE_CONTEXT=<YOUR_MCP_KUBE_CONTEXT> --env MCP_K8S_SKIP_TLS_VERIFY=<YOUR_MCP_K8S_SKIP_TLS_VERIFY> --env MCP_HIDE_SENSITIVE=<YOUR_MCP_HIDE_SENSITIVE> --env MCP_TIMEOUT=<YOUR_MCP_TIMEOUT> --env MCP_HTTP_HOST=<YOUR_MCP_HTTP_HOST> --env MCP_HTTP_PORT=<YOUR_MCP_HTTP_PORT> --env MCP_HTTP_PATH=<YOUR_MCP_HTTP_PATH> --env MCP_HTTP_JSON_RESPONSE=<YOUR_MCP_HTTP_JSON_RESPONSE> --env MCP_APPROVAL_STATE_SECRET=<YOUR_MCP_APPROVAL_STATE_SECRET> --env MCP_APPROVAL_REPLAY_DIR=<YOUR_MCP_APPROVAL_REPLAY_DIR> --env MCP_ALLOWED_HOSTS=<YOUR_MCP_ALLOWED_HOSTS> --env MCP_ALLOWED_ORIGINS=<YOUR_MCP_ALLOWED_ORIGINS> --env KUBE_MCP_FORCE_VM_SANDBOX=<YOUR_KUBE_MCP_FORCE_VM_SANDBOX> --env MCP_DISABLE_KUBERNETES_PLUGIN=<YOUR_MCP_DISABLE_KUBERNETES_PLUGIN> --env MCP_DISABLE_HELM_PLUGIN=<YOUR_MCP_DISABLE_HELM_PLUGIN> --env MCP_DISABLE_ARGO_PLUGIN=<YOUR_MCP_DISABLE_ARGO_PLUGIN> --env MCP_DISABLE_ARGOCD_PLUGIN=<YOUR_MCP_DISABLE_ARGOCD_PLUGIN> -- npx -y kubeview-mcp@2.3.0

Run this in a terminal to add the server to Claude Code.

What this does

kubeview exposes a set of tools to Claude over the Model Context Protocol. After you add it to claude_desktop_config.json (snippet above) and restart Claude Desktop, those tools become callable inside any conversation.

Requirements

This server needs the following environment variables to be set before it can run:

KUBECONFIG
MCP_TRANSPORT
MCP_MODE
MCP_CODE_MODE_DISABLED_TOOLS
MCP_ARGO_TOOLS
MCP_ARGOCD_TOOLS
MCP_LOG_LEVEL
MCP_KUBE_CONTEXT
MCP_K8S_SKIP_TLS_VERIFY
MCP_HIDE_SENSITIVE
MCP_TIMEOUT
MCP_HTTP_HOST
MCP_HTTP_PORT
MCP_HTTP_PATH
MCP_HTTP_JSON_RESPONSE
MCP_APPROVAL_STATE_SECRET
MCP_APPROVAL_REPLAY_DIR
MCP_ALLOWED_HOSTS
MCP_ALLOWED_ORIGINS
KUBE_MCP_FORCE_VM_SANDBOX
MCP_DISABLE_KUBERNETES_PLUGIN
MCP_DISABLE_HELM_PLUGIN
MCP_DISABLE_ARGO_PLUGIN
MCP_DISABLE_ARGOCD_PLUGIN

Set these via the env object in your MCP config (see claude_desktop_config.json snippet above).

Frequently asked questions

How do I install kubeview?

Run the Claude Code command in the install section to add kubeview to Claude Code, or copy the ready-made config for your client from the install section on this page. Restart your client afterwards and the tools appear in your next conversation.

Which clients work with kubeview?

This page carries setup and config for Claude Code, Claude Desktop, Cursor and VS Code. Any other MCP client that accepts a standard server config can connect to kubeview as well.

Does kubeview need an API key?

Yes. Before it can run, set these environment variables: KUBECONFIG, MCP_TRANSPORT, MCP_MODE, MCP_CODE_MODE_DISABLED_TOOLS, MCP_ARGO_TOOLS, MCP_ARGOCD_TOOLS, MCP_LOG_LEVEL, MCP_KUBE_CONTEXT, MCP_K8S_SKIP_TLS_VERIFY, MCP_HIDE_SENSITIVE, MCP_TIMEOUT, MCP_HTTP_HOST, MCP_HTTP_PORT, MCP_HTTP_PATH, MCP_HTTP_JSON_RESPONSE, MCP_APPROVAL_STATE_SECRET, MCP_APPROVAL_REPLAY_DIR, MCP_ALLOWED_HOSTS, MCP_ALLOWED_ORIGINS, KUBE_MCP_FORCE_VM_SANDBOX, MCP_DISABLE_KUBERNETES_PLUGIN, MCP_DISABLE_HELM_PLUGIN, MCP_DISABLE_ARGO_PLUGIN, MCP_DISABLE_ARGOCD_PLUGIN. They go in the env block of your MCP config.

Imported from the Official MCP Registry. The details above come from the registry entry; the maker can claim this listing to correct them, add docs, and see its traffic.

Is this your MCP server?

Claim this listing to see its traffic, fix details yourself, and skip the review queue on future updates.

Listed on clauderules.net

Add this badge to your README

Show visitors this server is listed in the ClaudeRules directory. The badge links straight to this listing.

Markdown
[![Listed on clauderules.net](https://clauderules.net/api/badge/io-github-mikhae1-kubeview)](https://clauderules.net/mcp/io-github-mikhae1-kubeview)
HTML
<a href="https://clauderules.net/mcp/io-github-mikhae1-kubeview" target="_blank" rel="noopener noreferrer"><img src="https://clauderules.net/api/badge/io-github-mikhae1-kubeview" alt="Listed on clauderules.net" /></a>