GKE MCP Server
Google Cloud's MCP server and Gemini CLI extension for GKE clusters: resources, logs, deploys, costs and upgrade risks
Install
gemini extensions install https://github.com/GoogleCloudPlatform/gke-mcp.gitThis is third-party code. Review the repository files before installing.
What it does
The server lets the agent work with Google Kubernetes Engine. The agent lists, creates and updates clusters and node pools, reads Kubernetes resources, events and logs, applies manifests and queries Cloud Logging. Bundled prompts help analyze GKE costs and assess control plane upgrade risks. Deleting clusters and node pools is available only when explicitly enabled.
Who it is for. For DevOps engineers and developers who run clusters on GKE.
Good fit when
- You need to find why a pod crashes using logs and events
- You want to assess risks before a cluster upgrade
- You need to see where GKE spending goes
Not a fit when
- Your clusters are not on Google Cloud
- You need a tool with production guarantees
Example request
Build an upgrade risk report for prod-cluster to the next minor versionLimitations
The authors call it experimental and not for production; it is not an officially supported Google product. Requires access to a Google Cloud project. Manifest generation with documentation needs a Developer Knowledge API key. Google Cloud does not onboard new customers from Russia.
How to disable. Remove the extension with gemini extensions uninstall or delete the gke-mcp block from the client's MCP config.
MCP
- Transport
- stdio, http
- Authentication
- not required
| Environment variables | |
|---|---|
| DK_API_KEY secret | Developer Knowledge API key for documentation-aware manifest generation |
| DK_BASE_URL | Developer Knowledge API base URL |
Security check
- Applies manifests and changes cloud clusters
- Can delete Kubernetes resources
README in short
The README offers three install paths: a Gemini CLI extension, a script for Linux and macOS, and go install. Other clients have separate guides in the docs folder. It lists tools, prompts for costs and upgrades, and bundled context on known GKE issues. It covers stdio and Streamable HTTP transports. Apache 2.0 licensed.
FAQ
Can it run over HTTP?
Yes, with --server-mode http. By default it binds to 127.0.0.1 only.
How do I install it in Gemini CLI?
Run gemini extensions install https://github.com/GoogleCloudPlatform/gke-mcp.git.
Related
An MCP server built into the Netdata agent: metrics, logs, alerts and live process, service and container data for an AI assistant
GitHub's official MCP server: code, issues, pull requests, Actions and security alerts straight from the agent
AWS's official MCP server suite: docs, IaC, containers, serverless, databases, cost and monitoring
A GitHub Action that runs Claude Code in pull requests and issues: answers mentions, reviews and makes changes