Google Kubernetes Engine
Google hosts the Kubernetes Engine remote MCP server at https://container.googleapis.com/mcp over streamable HTTP. The Official card pre-fills that URL. It is the Google Kubernetes Engine card with the Official badge.
Tool calls need an OAuth 2.0 access token for a Google identity. Google rejects API keys on this server, and it does not support dynamic client registration or a custom redirect URI, so nobody signs in through Willow. The card sends the token as Authorization: Bearer. Everyone who shares one token calls GKE as that identity.
Enabling the Google Kubernetes Engine API turns the MCP server on for that project. Google also documents a local MCP server for a machine you run yourself. This card is the remote server.
Willow's first check can succeed with no token. Google answers initialize and tools/list without one. A tool call without a token returns "Request is missing required authentication credential. Expected OAuth 2 access token, login cookie or other valid authentication credential."
Set up Google Cloud
-
Enable the Google Kubernetes Engine API on the project.
-
Grant the identity that owns the access token these roles on that project:
- MCP Tool User (
roles/mcp.toolUser) - Kubernetes Engine Cluster Viewer (
roles/container.clusterViewer)
Cluster Viewer is the read-only role Google names for this server. A tool that changes a cluster or a Kubernetes resource still needs that identity's permission to make the change.
- MCP Tool User (
-
Create an access token with the Google Cloud CLI:
gcloud auth print-access-tokenThe token expires after 1 hour. Passing
--lifetimewhen you create it extends that, up to 12 hours. See Authenticate with an Authorization header.
The token has to include one of the scopes Google lists for this server:
https://www.googleapis.com/auth/container.read-only— read-only access to GKEhttps://www.googleapis.com/auth/container— read-write access to GKEhttps://www.googleapis.com/auth/cloud-platform— broad access to the project
A tool call can need another scope. Google lists them in Use the GKE MCP server.
Connect in Willow
- Go to MCP Servers → + Add MCP server, open the Google Kubernetes Engine card with the Official badge, and click + Use.
- If setup says the server answered without credentials, continue. That check only loaded the tool list.
- On the Setup tab, keep API key. Paste the access token.
- Each person's own is the default. Each person pastes
Bearer, a space, then the token, the first time they connect. Willow sends that text as theAuthorizationheader. - One shared pastes the token only and leaves Scheme as Bearer. Willow adds the prefix, stores the token in the vault, and sends it on every request.
- Each person's own is the default. Each person pastes
- On Settings → Request, add a header named
x-goog-user-project. Set the value to the Google Cloud project ID. Google's bearer-token setup sends this header with the token. - Assign groups and Publish.
Replace the token when it expires. Run gcloud auth print-access-token again and paste the new value.
Choose an endpoint
The card uses https://container.googleapis.com/mcp. Google's reference describes that endpoint as list, get, create, update, and patch for clusters, node pools, operations, and Kubernetes resources. It does not delete clusters or node pools.
Google publishes two other endpoints:
https://container.googleapis.com/mcp/read-onlylists and gets those resources.https://container.googleapis.com/mcp/delete-toolsdeletes clusters and node pools.
To use one of those, open Settings → MCP Configuration, set url to that address, and leave type as http.
Troubleshooting
"Request is missing required authentication credential"
Cause: The call had no access token. The tool list can still load.
Solution: Paste a token from gcloud auth print-access-token. On Each person's own, include the Bearer prefix. On One shared, paste the token alone and leave Scheme as Bearer.
"Request had invalid authentication credentials"
Cause: The value is not an OAuth 2.0 access token. A Google API key is rejected. An access token also expires after 1 hour unless you extended it.
Solution: Create a new access token and paste that. Do not paste an API key from APIs & Services → Credentials.
A tool call is denied after the token is accepted
Cause: The token's identity is missing MCP Tool User or Kubernetes Engine Cluster Viewer, the token does not include a GKE scope, or the identity cannot change the resource the tool is calling.
Solution: Grant the two roles on the project, and use a token that includes one of the scopes above. For a write, grant the identity permission to change that GKE resource.