Read-only Model Context Protocol MCP server enabling code-driven AI analysis of Kubernetes clusters.
MCPpedia last refreshed this data
Config is the same across clients — only the file and path differ.
{
"mcpServers": {
"kubeview": {
"args": [
"-y",
"kubeview-mcp"
],
"command": "npx"
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
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.
Run this in your terminal to verify the server starts. Then let us know if it worked — your result helps other developers.
npx -y 'kubeview-mcp' 2>&1 | head -1 && echo "✓ Server started successfully"
After testing, let us know if it worked:
Five weighted categories — click any category to see the underlying evidence.
No known CVEs.
Checked kubeview-mcp against OSV.dev.
Be the first to review
Have you used this server?
Share your experience — it helps other developers decide.
Sign in to write a review.
Others in ai-ml / cloud
Persistent memory using a knowledge graph
Dynamic problem-solving through sequential thought chains
An open-source AI agent that brings the power of Gemini directly into your terminal.
🌊 The leading agent orchestration platform for Claude. Deploy intelligent multi-agent swarms, coordinate autonomous workflows, and build conversational AI systems. Features enterprise-grade architecture, distributed swarm intelligence, RAG integration, and native Claude Code / Codex Integration
MCP Security Weekly
Get CVE alerts and security updates for io.github.mikhae1/kubeview and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
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_TRANSPORT | Transport: stdio (default) or http | stdio |
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 |
MCP_HTTP_HOST | HTTP bind host when MCP_TRANSPORT=http | 127.0.0.1 |
MCP_HTTP_PORT | HTTP port when MCP_TRANSPORT=http | 3000 |
MCP_HTTP_PATH | Streamable HTTP endpoint path | /mcp |
MCP_HTTP_STATELESS | Disable session IDs in HTTP mode | false |
MCP_HTTP_JSON_RESPONSE | Prefer JSON responses over SSE | false |
MCP_ALLOWED_HOSTS | Comma-separated Host allowlist for HTTP mode | local defaults |
MCP_ALLOWED_ORIGINS | Comma-separated Origin allowlist for HTTP mode | unset |
KubeView can also run as a standalone Streamable HTTP server for hosted or manually managed deployments.
MCP_TRANSPORT=http \
MCP_HTTP_HOST=127.0.0.1 \
MCP_HTTP_PORT=3000 \
npx -y kubeview-mcp
This starts a Streamable HTTP endpoint at http://127.0.0.1:3000/mcp.
Notes:
stdio remains the default and is still the right choice for MCP client configs such as Claude Desktop, Cursor, and Codex CLI.MCP_HTTP_STATELESS=true disables session IDs. That is useful for simple request/response patterns, but stateful features such as plan_step history are not meaningful in that mode.0.0.0.0 or ::, you must set `MCP_ALLOWED_