MCP Server
MCP
io.github.mikhae1/kubeview
Read-only Model Context Protocol MCP server enabling code-driven AI analysis of Kubernetes clusters.
Install
npx -y [email protected]
Configuration Example
{
"remotes": [],
"packages": [
{
"registryType": "npm",
"identifier": "kubeview-mcp",
"version": "2.0.0",
"transport": {
"type": "stdio"
},
"environmentVariables": [
{
"description": "Path to kubeconfig file; defaults to ~/.kube/config if unset.",
"format": "filepath",
"name": "KUBECONFIG"
},
{
"description": "Transport mode: 'stdio' (default) or 'http'. The published package metadata still targets stdio by default.",
"format": "string",
"name": "MCP_TRANSPORT"
},
{
"description": "Server mode: 'code' (default), compatibility alias 'all', or direct 'tools'.",
"format": "string",
"name": "MCP_MODE"
},
{
"description": "Comma-separated configurable denials inside run_code. Environment overrides JSON; an empty value enables all configurable capabilities.",
"format": "string",
"name": "MCP_CODE_MODE_DISABLED_TOOLS"
},
{
"description": "Argo Workflows capability override: auto, on, or off. Auto uses Kubernetes API discovery.",
"format": "string",
"name": "MCP_ARGO_TOOLS"
},
{
"description": "Argo CD capability override: auto, on, or off. Auto uses Kubernetes API discovery or explicit remote configuration.",
"format": "string",
"name": "MCP_ARGOCD_TOOLS"
},
{
"description": "Logging level: 'error', 'warn', 'info' (default), or 'debug'.",
"format": "string",
"name": "MCP_LOG_LEVEL"
},
{
"description": "Kubernetes context name to use. If unset, uses the current context from kubeconfig.",
"format": "string",
"name": "MCP_KUBE_CONTEXT"
},
{
"description": "Skip TLS certificate verification for Kubernetes API (use 'true' or '1'). Not recommended for production.",
"format": "string",
"name": "MCP_K8S_SKIP_TLS_VERIFY"
},
{
"description": "Enable global sensitive data masking. Set to 'true' or '1' to mask sensitive values in responses.",
"format": "string",
"name": "MCP_HIDE_SENSITIVE"
},
{
"description": "Default timeout in milliseconds for operations. If unset, uses plugin-specific defaults.",
"format": "string",
"name": "MCP_TIMEOUT"
},
{
"description": "HTTP bind host when MCP_TRANSPORT=http. Defaults to 127.0.0.1.",
"format": "string",
"name": "MCP_HTTP_HOST"
},
{
"description": "HTTP port when MCP_TRANSPORT=http. Defaults to 3000.",
"format": "string",
"name": "MCP_HTTP_PORT"
},
{
"description": "HTTP endpoint path when MCP_TRANSPORT=http. Defaults to /mcp.",
"format": "string",
"name": "MCP_HTTP_PATH"
},
{
"description": "Prefer JSON responses over SSE in HTTP mode. Set to 'true' or '1' to enable.",
"format": "string",
"name": "MCP_HTTP_JSON_RESPONSE"
},
{
"description": "Shared secret of at least 32 bytes for signing approval state. Required in HTTP mode and identical across replicas.",
"format": "string",
"isSecret": true,
"name": "MCP_APPROVAL_STATE_SECRET"
},
{
"description": "Absolute directory on writable storage shared by every HTTP replica, used to atomically prevent approval replay.",
"format": "string",
"name": "MCP_APPROVAL_REPLAY_DIR"
},
{
"description": "Comma-separated Host allowlist for HTTP mode. Required when binding to 0.0.0.0 or ::.",
"format": "string",
"name": "MCP_ALLOWED_HOSTS"
},
{
"description": "Comma-separated Origin allowlist for HTTP mode.",
"format": "string",
"name": "MCP_ALLOWED_ORIGINS"
},
{
"description": "Force the standalone code-mode runtime to use node:vm instead of isolated-vm. Set to '1' to enable.",
"format": "string",
"name": "KUBE_MCP_FORCE_VM_SANDBOX"
},
{
"description": "Disable Kubernetes plugin. Set to 'true' or '1' to disable.",
"format": "string",
"name": "MCP_DISABLE_KUBERNETES_PLUGIN"
},
{
"description": "Disable Helm plugin. Set to 'true' or '1' to disable.",
"format": "string",
"name": "MCP_DISABLE_HELM_PLUGIN"
},
{
"description": "Deprecated alias for MCP_ARGO_TOOLS=off.",
"format": "string",
"name": "MCP_DISABLE_ARGO_PLUGIN"
},
{
"description": "Deprecated alias for MCP_ARGOCD_TOOLS=off.",
"format": "string",
"name": "MCP_DISABLE_ARGOCD_PLUGIN"
}
]
}
]
}
mcp
model-context-protocol
npm
By
Comments
Sign in to leave a comment