Skip to content
Cursor

mcp k8s ro for Cursor

io.github.your-ko/mcp-k8s-ro

Read-only Kubernetes MCP server: inspect resources, logs, events, and metrics. Secrets are masked.

client:Cursor transport:stdio runtime:oci

Install mcp k8s ro in Cursor

~/.cursor/mcp.json · windows: %USERPROFILE%\.cursor\mcp.json

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "mcp-k8s-ro": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/your-ko/mcp-k8s-ro:1.2.1"
      ],
      "env": {
        "KUBECONFIG": "<KUBECONFIG>"
      }
    }
  }
}

Use .cursor/mcp.json in a project root instead to scope it to that project. Cursor merges both. Cursor docs

mcp k8s ro in other clients