Kubeview MCP Server
by mikhae1io.github.mikhae1/kubeviewv2.0.2
Read-only Model Context Protocol MCP server enabling code-driven AI analysis of Kubernetes clusters.
context tax
queued
security
queued
cold start
queued
freshness
Active11d ago
Install Kubeview MCP server
Install in Claude Code
claude mcp add kubeview -e MCP_APPROVAL_STATE_SECRET='<mcp-approval-state-secret>' -- npx -y kubeview-mcpInstall in Cursor
{
"mcpServers": {
"kubeview": {
"command": "npx",
"args": [
"-y",
"kubeview-mcp"
],
"env": {
"MCP_APPROVAL_STATE_SECRET": "<mcp-approval-state-secret>"
}
}
}
}Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project).
Install in Claude Desktop
{
"mcpServers": {
"kubeview": {
"command": "npx",
"args": [
"-y",
"kubeview-mcp"
],
"env": {
"MCP_APPROVAL_STATE_SECRET": "<mcp-approval-state-secret>"
}
}
}
}Settings → Developer → Edit Config (claude_desktop_config.json), then restart.
Install in VS Code
{
"servers": {
"kubeview": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"kubeview-mcp"
],
"env": {
"MCP_APPROVAL_STATE_SECRET": "<mcp-approval-state-secret>"
}
}
}
}Add to .vscode/mcp.json in your workspace.
Install in Windsurf
{
"mcpServers": {
"kubeview": {
"command": "npx",
"args": [
"-y",
"kubeview-mcp"
],
"env": {
"MCP_APPROVAL_STATE_SECRET": "<mcp-approval-state-secret>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json.
Configuration
| Variable | Required | Secret | Description |
|---|---|---|---|
| KUBECONFIG | — | — | Path to kubeconfig file; defaults to ~/.kube/config if unset. |
| MCP_TRANSPORT | — | — | Transport mode: 'stdio' (default) or 'http'. The published package metadata still targets stdio by default. |
| MCP_MODE | — | — | Server mode: 'code' (default), compatibility alias 'all', or direct 'tools'. |
| MCP_CODE_MODE_DISABLED_TOOLS | — | — | Comma-separated configurable denials inside run_code. Environment overrides JSON; an empty value enables all configurable capabilities. |
| MCP_ARGO_TOOLS | — | — | Argo Workflows capability override: auto, on, or off. Auto uses Kubernetes API discovery. |
| MCP_ARGOCD_TOOLS | — | — | Argo CD capability override: auto, on, or off. Auto uses Kubernetes API discovery or explicit remote configuration. |
| MCP_LOG_LEVEL | — | — | Logging level: 'error', 'warn', 'info' (default), or 'debug'. |
| MCP_KUBE_CONTEXT | — | — | Kubernetes context name to use. If unset, uses the current context from kubeconfig. |
| MCP_K8S_SKIP_TLS_VERIFY | — | — | Skip TLS certificate verification for Kubernetes API (use 'true' or '1'). Not recommended for production. |
| MCP_HIDE_SENSITIVE | — | — | Enable global sensitive data masking. Set to 'true' or '1' to mask sensitive values in responses. |
| MCP_TIMEOUT | — | — | Default timeout in milliseconds for operations. If unset, uses plugin-specific defaults. |
| MCP_HTTP_HOST | — | — | HTTP bind host when MCP_TRANSPORT=http. Defaults to 127.0.0.1. |
| MCP_HTTP_PORT | — | — | HTTP port when MCP_TRANSPORT=http. Defaults to 3000. |
| MCP_HTTP_PATH | — | — | HTTP endpoint path when MCP_TRANSPORT=http. Defaults to /mcp. |
| MCP_HTTP_JSON_RESPONSE | — | — | Prefer JSON responses over SSE in HTTP mode. Set to 'true' or '1' to enable. |
| MCP_APPROVAL_STATE_SECRET | — | yes | Shared secret of at least 32 bytes for signing approval state. Required in HTTP mode and identical across replicas. |
| MCP_APPROVAL_REPLAY_DIR | — | — | Absolute directory on writable storage shared by every HTTP replica, used to atomically prevent approval replay. |
| MCP_ALLOWED_HOSTS | — | — | Comma-separated Host allowlist for HTTP mode. Required when binding to 0.0.0.0 or ::. |
| MCP_ALLOWED_ORIGINS | — | — | Comma-separated Origin allowlist for HTTP mode. |
| KUBE_MCP_FORCE_VM_SANDBOX | — | — | Force the standalone code-mode runtime to use node:vm instead of isolated-vm. Set to '1' to enable. |
| MCP_DISABLE_KUBERNETES_PLUGIN | — | — | Disable Kubernetes plugin. Set to 'true' or '1' to disable. |
| MCP_DISABLE_HELM_PLUGIN | — | — | Disable Helm plugin. Set to 'true' or '1' to disable. |
| MCP_DISABLE_ARGO_PLUGIN | — | — | Deprecated alias for MCP_ARGO_TOOLS=off. |
| MCP_DISABLE_ARGOCD_PLUGIN | — | — | Deprecated alias for MCP_ARGOCD_TOOLS=off. |
Freshness
Active — last maintenance signal 11d ago. The newest of the signals below sets the band.
Last commit (default branch)
2026-09-28 · 11d ago · GitHub
Latest release
no data · GitHub
Package published
no data · npm/PyPI
Registry entry updated
2026-09-28 · 11d ago · official registry · v2.0.2
FAQ
›How do I install the Kubeview MCP server in Claude Code?
Run: claude mcp add kubeview -e MCP_APPROVAL_STATE_SECRET='<mcp-approval-state-secret>' -- npx -y kubeview-mcp. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.
›Does Kubeview require an API key?
Yes. It expects MCP_APPROVAL_STATE_SECRET, of which 1 is a secret.
›Can I use Kubeview as a remote (hosted) MCP server?
No hosted endpoint is published; it runs locally over stdio.
›Is Kubeview in the official MCP registry?
Yes, as io.github.mikhae1/kubeview.
Alternatives to Kubeview
Other devops & ci/cd MCP servers.