Install guide · Cursor
Install kubeview for Cursor
Cursor reads ~/.cursor/mcp.json. A project can also commit .cursor/mcp.json.
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
Open ~/.cursor/mcp.json on macOS, %USERPROFILE%\.cursor\mcp.json on Windows, or ~/.cursor/mcp.json on Linux.
Paste the JSON config below.
Replace placeholder secrets, then restart the client if it does not reload on its own.
{ "mcpServers": { "mikhae1-kubeview-mcp": { "command": "npx", "args": [ "-y", "kubeview-mcp@2.4.0" ], "env": { "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": "YOUR_MCP_APPROVAL_STATE_SECRET", "MCP_APPROVAL_REPLAY_DIR": "", "MCP_ALLOWED_HOSTS": "", "MCP_ALLOWED_ORIGINS": "", "MCP_DISABLE_KUBERNETES_PLUGIN": "", "MCP_DISABLE_HELM_PLUGIN": "", "MCP_DISABLE_ARGO_PLUGIN": "", "MCP_DISABLE_ARGOCD_PLUGIN": "" } } }}
Where the config lives
| System | Path |
|---|---|
| macOS | ~/.cursor/mcp.json |
| Windows | %USERPROFILE%\.cursor\mcp.json |
| Linux | ~/.cursor/mcp.json |