Server data from the Official MCP Registry
Read-only Model Context Protocol MCP server enabling code-driven AI analysis of Kubernetes clusters.
Read-only Model Context Protocol MCP server enabling code-driven AI analysis of Kubernetes clusters.
Valid MCP server (3 strong, 4 medium validity signals). 1 known CVE in dependencies (0 critical, 1 high severity) Imported from the Official MCP Registry. 1 finding(s) downgraded by scanner intelligence.
5 files analyzed Β· 2 issues found
Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.
This plugin requests these system permissions. Most are normal for its category.
Set these up before or after installing:
Environment variable: KUBECONFIG
Environment variable: MCP_MODE
Environment variable: MCP_LOG_LEVEL
Environment variable: MCP_KUBE_CONTEXT
Environment variable: MCP_K8S_SKIP_TLS_VERIFY
Environment variable: MCP_HIDE_SENSITIVE
Environment variable: MCP_TIMEOUT
Environment variable: MCP_DISABLE_KUBERNETES_PLUGIN
Environment variable: MCP_DISABLE_HELM_PLUGIN
Environment variable: MCP_DISABLE_ARGO_PLUGIN
Environment variable: MCP_DISABLE_ARGOCD_PLUGIN
Add this to your MCP configuration file:
{
"mcpServers": {
"io-github-mikhae1-kubeview": {
"env": {
"MCP_MODE": "your-mcp-mode-here",
"KUBECONFIG": "your-kubeconfig-here",
"MCP_TIMEOUT": "your-mcp-timeout-here",
"MCP_LOG_LEVEL": "your-mcp-log-level-here",
"MCP_KUBE_CONTEXT": "your-mcp-kube-context-here",
"MCP_HIDE_SENSITIVE": "your-mcp-hide-sensitive-here",
"MCP_DISABLE_ARGO_PLUGIN": "your-mcp-disable-argo-plugin-here",
"MCP_DISABLE_HELM_PLUGIN": "your-mcp-disable-helm-plugin-here",
"MCP_K8S_SKIP_TLS_VERIFY": "your-mcp-k8s-skip-tls-verify-here",
"MCP_DISABLE_ARGOCD_PLUGIN": "your-mcp-disable-argocd-plugin-here",
"MCP_DISABLE_KUBERNETES_PLUGIN": "your-mcp-disable-kubernetes-plugin-here"
},
"args": [
"-y",
"kubeview-mcp"
],
"command": "npx"
}
}
}From the project's GitHub README.
KubeView is a read-only Model Context Protocol (MCP) server that lets AI agents (Cursor, Claude Code, Codex CLI, Gemini CLI, etc.) safely inspect, diagnose, and debug Kubernetes clusters. It covers Kubernetes core, Helm, Argo Workflows, and Argo CD.
Read more: Evicting MCP tool calls from your Kubernetes cluster
$PATH: helm (fallback only), argo, argocd# Run the server directly
npx -y kubeview-mcp
# Add to Claude Code
claude mcp add kubernetes -- npx kubeview-mcp
Add to your mcpServers config (Cursor, Claude Desktop, etc.):
{
"mcpServers": {
"kubeview": {
"command": "npx",
"args": ["-y", "kubeview-mcp"]
}
}
}
| Variable | Description | Default |
|---|---|---|
KUBECONFIG | Path to kubeconfig file | ~/.kube/config |
MCP_MODE | Server mode: all, code, or tools | all |
MCP_LOG_LEVEL | Log level: error, warn, info, debug | info |
MCP_HIDE_SENSITIVE | Mask sensitive data globally | false |
| Tool | Description |
|---|---|
kube_list | List resources or get cluster diagnostics |
kube_get | Describe a specific resource (all K8s types supported) |
kube_metrics | Fetch CPU/memory metrics for nodes and pods |
kube_logs | Fetch or stream container logs |
kube_exec | Execute commands inside containers |
kube_port | Port-forward to pods or services |
kube_net | Run in-cluster network diagnostics |
| Tool | Description |
|---|---|
helm_list | List Helm releases (Kubernetes API first, CLI fallback) |
helm_get | Fetch release values, manifests, notes, hooks, status, history |
Helm execution strategy: Tools read Helm metadata directly from Kubernetes storage (Secrets / ConfigMaps) by default β no helm binary needed for standard read-only use. CLI fallback is used for non-JSON formatting or non-Kubernetes storage backends (e.g. SQL).
| Tool | Description |
|---|---|
argo_list | List Argo Workflows |
argo_get | Inspect a specific Argo Workflow |
argocd_app | Inspect Argo CD applications |
| Tool | Description |
|---|---|
run_code | Execute sandboxed TypeScript for complex tasks |
plan_step | Persist step-by-step planning state across long investigations |
Why plan_step? It keeps the chat context clean by storing progress externally, gives agents a structured state machine (plan β execute β verify β branch), and encourages the think-then-act rhythm that produces better results on complex workflows.
Inspired by Code execution with MCP, KubeView ships a sandboxed code runtime for agents to explore the API and run complex workflows.
run_code.global.d.ts, preventing hallucinated parameters.tools.search() and tools.list() let agents find capabilities at runtime without loading the full schema.vm environment with access only to console and the tools global.Enable code-only mode:
"env": { "MCP_MODE": "code" }
code-mode PromptThe server includes a code-mode MCP prompt that injects full TypeScript API docs and examples into the agent context. In Cursor, type /kubeview/code-mode in the prompt bar to activate it.
# Clone and install
git clone https://github.com/mikhae1/kubeview-mcp.git
cd kubeview-mcp
npm install
# Build and run
npm run build
npm start
# Test
npm test
# Run a tool directly via CLI
npm run command -- kube_list --namespace=default
MIT Β© mikhae1
Be the first to review this server!
by Modelcontextprotocol Β· Developer Tools
Read, search, and manipulate Git repositories programmatically
by Toleno Β· Developer Tools
Toleno Network MCP Server β Manage your Toleno mining account with Claude AI using natural language.
by mcp-marketplace Β· Developer Tools
Create, build, and publish Python MCP servers to PyPI β conversationally.
by Microsoft Β· Content & Media
Convert files (PDF, Word, Excel, images, audio) to Markdown for LLM consumption
by mcp-marketplace Β· Developer Tools
Scaffold, build, and publish TypeScript MCP servers to npm β conversationally
by mcp-marketplace Β· Finance
Free stock data and market news for any MCP-compatible AI assistant.