GKE MCP

Google's MCP server for GKE clusters, logs and cost data.

By defaultCan write
Safest setupNo read-only mode Use a read-only credential
Flagshosted

Labels are provisional (from the project README/docs, checked Oct 27, 2026). Not yet tested in our sandbox.

Read-only switch

No read-only switch found in the README (checked Oct 27, 2026). Rely on IAM: give the agent a viewer role.

Preset

No read-only switch. This config is the vendor default plus an approval prompt on every tool. It is not read-only. The credential is what protects you.

Claude Code

.mcp.json
{
  "mcpServers": {
    "gke": {
      "command": "gke-mcp",
      "args": []
    }
  }
}
.claude/settings.json
{
  "permissions": {
    "ask": ["mcp__gke"]
  }
}

ask makes Claude Code prompt before every tool from this server.

Codex

~/.codex/config.toml
# Generated by redpresets.dev on 2026-11-03. Unverified preset. Also use a read-only credential. Not a security guarantee.

[mcp_servers.gke]
command = "gke-mcp"
default_tools_approval_mode = "prompt"

default_tools_approval_mode = "prompt" asks before every tool call.

Cursor

.cursor/mcp.json
{
  "mcpServers": {
    "gke": {
      "type": "stdio",
      "command": "gke-mcp",
      "args": []
    }
  }
}

Don't add write tools to mcpAllowlist in .cursor/permissions.json. Leave them on approval. Cursor's docs say the allowlist is not a security boundary.

Credential layer

Use a Google identity with roles/container.viewer (and Logging viewer if needed). Avoid owner/editor credentials from your gcloud default login.

Facts

Vendor
Google Cloud official
Source
GoogleCloudPlatform/gke-mcp
License
Apache-2.0
GitHub stars
169
Latest release
v0.15.0 (Jul 28, 2026)
Last push
Oct 26, 2026
Status
Active
Last checked
Oct 27, 2026

Sources

Spotted something wrong? Labels change when vendors change. Suggest a correction

Read-only alternatives in Kubernetes