Google Kubernetes Engine MCP server
Endpoint: https://container.googleapis.com/mcp · Authentication: Sign in with OAuth
Manages GKE clusters, node pools, and operations and reads Kubernetes resources in a Google Cloud project. Requires Google Cloud credentials through OAuth.
How do I authenticate?
Add the endpoint in your client, start Connect or Sign in, approve the requested scopes, and return to the client. OAuth discovery finds the authorization server; client registration requirements vary by provider. Follow the provider guidance and client setup below.
Authentication and connection guideConnection specification
- Remote endpoint
https://container.googleapis.com/mcp- Browser access
- Not yet measured
- Declared MCP transport
- Streamable HTTP
- Live-validated MCP transport
- Streamable HTTP — Observed by the latest catalog validation
- Declared authentication
- OAuth 2.1
- Detected authentication
- OAuth 2.1 detected or retained from publisher evidence
- Alternative endpoint
https://container.googleapis.com/mcp/read-only— Read-only tool set without create or update tools (OAuth 2.1)- Protocol lifecycle
- Stateful MCP · 2025-11-25
- Authorization server
https://accounts.google.com/- Category
- Cloud
Product documentation · Official listing documentation
Provider guidance
- Initialization and tool listing succeeded without credentials in the 2026-10-20 audit; tool calls require Google Cloud credentials. Google OAuth clients are pre-registered in a Google Cloud project; the server does not advertise Dynamic Client Registration.
More Cloud MCP servers · Browse all MCP servers · Test this endpoint in the MCP Playground
Connect it
Live-validated endpoint: https://container.googleapis.com/mcp · Streamable HTTP. Registration requirements not verified: The OAuth authorization and app-registration requirements for this exact endpoint have not been verified. A compatible client will request authorization, but follow the publisher documentation and do not guess client credentials or callbacks.
Agent prompt for Claude Code or Codex
Add the Google Kubernetes Engine MCP server to my MCP client configuration and verify that it works. What it is: Manages GKE clusters, node pools, and operations and reads Kubernetes resources in a Google Cloud project. Requires Google Cloud credentials through OAuth. Server URL: https://container.googleapis.com/mcp Transport: Streamable HTTP (remote MCP server, no local install). Authentication: OAuth 2.1. Registration requirements not verified: The OAuth authorization and app-registration requirements for this exact endpoint have not been verified. A compatible client will request authorization, but follow the publisher documentation and do not guess client credentials or callbacks. Tools (23, as last observed by mcptest): apply_k8s_manifest, cancel_operation, check_k8s_auth, create_cluster, create_node_pool, delete_k8s_resource, describe_k8s_resource, get_cluster, get_k8s_cluster_info, get_k8s_logs, get_k8s_resource, get_k8s_rollout_status, get_k8s_version, get_node_pool, get_operation, list_clusters, list_k8s_api_resources, list_k8s_events, list_node_pools, list_operations, patch_k8s_resource, update_cluster, update_node_pool. Reference: https://mcptest.io/servers/google-kubernetes-engine/ Steps: 1. Work out which MCP client I use (Claude Code, Codex, Cursor, VS Code or another) and add the server under the name "google-kubernetes-engine" in that client's MCP configuration, user scope unless I ask otherwise. Claude Code: claude mcp add --transport http --scope user 'google-kubernetes-engine' 'https://container.googleapis.com/mcp' Other clients: use the setup for that client on the reference page. 2. Never write a credential value into a file that could be committed; reference an environment variable or the client's secret store, and ask me for any value you need. 3. Verify: connect to the server and call tools/list. Confirm the tools above are listed, and report any sign-in step I still have to complete.
Claude Code setup
Run in a terminal. This user-scoped entry is available across projects.
claude mcp add --transport http --scope user 'google-kubernetes-engine' 'https://container.googleapis.com/mcp'- After adding the server, open Claude Code, run /mcp, select the server, and follow the browser flow to authenticate.
Codex CLI setup
Run in a terminal; Codex stores the entry in ~/.codex/config.toml.
codex mcp add 'google-kubernetes-engine' --url 'https://container.googleapis.com/mcp'
codex mcp login 'google-kubernetes-engine'Cursor setup
Add to .cursor/mcp.json for this project, or ~/.cursor/mcp.json for all projects.
{
"mcpServers": {
"google-kubernetes-engine": {
"url": "https://container.googleapis.com/mcp"
}
}
}VS Code setup
Add to .vscode/mcp.json, or run “MCP: Open User Configuration” for a private user-level entry.
{
"servers": {
"google-kubernetes-engine": {
"type": "http",
"url": "https://container.googleapis.com/mcp"
}
}
}Claude setup
Add the endpoint above in Claude:
- Customize > Connectors > Add custom connector
- Team/Enterprise: Organization settings > Connectors > Add > Custom > Web
Claude Desktop setup
Add the endpoint above in Claude Desktop:
- Remote: Customize > Connectors (same as claude.ai)
- Local: Settings > Developer > Edit Config, or Settings > Extensions for .mcpb files
~/Library/Application Support/Claude/claude_desktop_config.json(macOS) or%APPDATA%\Claude\claude_desktop_config.json(Windows), local servers only
ChatGPT setup
Add the endpoint above in ChatGPT:
- ChatGPT web: Plugins > Add custom MCP server, then configure authentication and accept the risk warning
Windsurf setup
Add the endpoint above in Windsurf:
~/.config/devin/mcp_config.json(%APPDATA%\devin\mcp_config.jsonon Windows),serverUrlorurl- Cascade panel > ... > MCPs > Open MCP config file
Gemini CLI setup
Add the endpoint above in Gemini CLI:
gemini mcp add --transport http <name> <url>~/.gemini/settings.json(user) or.gemini/settings.json(project),mcpServers
MCP SDK setup
Add the endpoint above in MCP SDK:
- Programmatic:
new Client(...).connect(new StreamableHTTPClientTransport(url))
Notes for every client
- Publisher evidence (reviewed 2026-10-20): https://docs.cloud.google.com/kubernetes-engine/docs/how-to/use-gke-mcp
- Alternative endpoint: https://container.googleapis.com/mcp/read-only — Read-only tool set without create or update tools.
- Provider guidance: Initialization and tool listing succeeded without credentials in the 2026-10-20 audit; tool calls require Google Cloud credentials. Google OAuth clients are pre-registered in a Google Cloud project; the server does not advertise Dynamic Client Registration.
Client compatibility
| Client | Status | Why |
|---|---|---|
| Claude Code | Supported | Claude Code supports Streamable HTTP servers and OAuth sign-in. |
| Codex | Supported | Codex supports Streamable HTTP servers and OAuth sign-in. |
| Cursor | Supported | Cursor supports Streamable HTTP servers and OAuth sign-in. |
| VS Code | Supported | VS Code supports Streamable HTTP servers and OAuth sign-in. |
| Claude | Supported | Claude supports Streamable HTTP servers and OAuth sign-in. |
| Claude Desktop | Supported | Claude Desktop supports Streamable HTTP servers and OAuth sign-in. |
| ChatGPT | Partial | Stateful routing needs operational care: ChatGPT can preserve MCP sessions, but the deployment must route a session consistently and retain its state. |
| Windsurf | Partial | Windsurf's documentation does not state support for OAuth sign-in. |
| Gemini CLI | Supported | Gemini CLI supports Streamable HTTP servers and OAuth sign-in. |
| MCP SDK | Supported | MCP SDK supports Streamable HTTP servers and OAuth sign-in. |
Computed from this server's validated transport, protocol and authentication against documented client support. Checks the catalog has not observed are not counted.
Latest validation evidence
- Validation status
- Online when last tested
- Validation checked at
- Oct 26, 2026 at 11:06 AM
- Validation detail
- Negotiated stateful MCP 2025-11-25 at https://container.googleapis.com/mcp; detected transport streamable-http; authentication oauth
Tool inventory
What the catalog validator observed on at https://container.googleapis.com/mcp without credentials. The live server may have changed since; connect in the Playground for the current list.
Tools provided by Google Kubernetes Engine 23
Some details were sanitized for public display.
apply_k8s_manifestoutputSchema declaredApplies a Kubernetes manifest to a cluster using server-side apply. This is similar to running `kubectl apply --server-side`.
Input
dryRun?: boolean, forceConflicts?: boolean, parent: string, yamlManifest: stringdryRun?: booleanoptionalOptional. If true, run in dry-run mode.
forceConflicts?: booleanoptionalOptional. If true, force conflicts resolution when applying.
parent: stringrequiredRequired. The cluster to apply the manifest to. Format: projects/{project}/locations/{location}/clusters/{cluster}
yamlManifest: stringrequiredRequired. The YAML manifest to apply.
cancel_operationoutputSchema declaredCancels a specific GKE operation.
Input
name: string, parent: stringname: stringrequiredRequired. The name (project, location, operation id) of the operation to cancel. Specified in the format `projects/*/locations/*/operations/*`.
parent: stringrequiredRequired. The parent cluster of the operation. Specified in the format `projects/*/locations/*/clusters/*`.
check_k8s_authoutputSchema declaredChecks whether an action is allowed on a Kubernetes resource. This is similar to running `kubectl auth can-i`.
Input
namespace?: string, parent: string, resource?: string, resourceType: string, verb: stringnamespace?: stringoptionalOptional. The namespace of the resource. If not specified, "default" is used for namespace-scoped resources.
parent: stringrequiredRequired. The cluster to check authorization against. Format: projects/{project}/locations/{location}/clusters/{cluster}
resource?: stringoptionalOptional. The name of the resource to check.
resourceType: stringrequiredRequired. The type of resource to check. e.g. "pods", "deployments", "services".
verb: stringrequiredRequired. The verb to check. e.g. "get", "list", "watch", "create", "update", "patch", "delete".
create_clusteroutputSchema declaredCreates a new GKE cluster in a given project and location. It's recommended to read the [GKE documentation]([REDACTED URI] to understand cluster configuration options. Cluster creation will default to Autopilot mode, as recommended by GKE best practices. If the user explicitly wants to create a Standard cluster, you need to set autopilot.enabled=false in the cluster configuration. This is similar to running `gcloud container clusters create-auto` or `gcloud container clusters create`.
Input
cluster: string, parent: stringcluster: stringrequiredRequired. A [cluster resource]([REDACTED URI] represented as a string using JSON format.
parent: stringrequiredRequired. The parent (project and location) where the cluster will be created. Specified in the format `projects/*/locations/*`.
create_node_pooloutputSchema declaredCreates a node pool for a specific GKE cluster.
Input
nodePool: string, parent: stringnodePool: stringrequiredRequired. The node pool to create represented as a string using JSON format. The full node pool object can be found at [REDACTED URI]
parent: stringrequiredRequired. The parent (project, location, cluster name) where the node pool will be created. Specified in the format `projects/*/locations/*/clusters/*`.
delete_k8s_resourceoutputSchema declaredDeletes a Kubernetes resource from a cluster. This is similar to running `kubectl delete`.
Input
cascade?: string, dryRun?: boolean, name: string, namespace?: string, parent: string, resourceType: stringcascade?: stringoptionalOptional. The cascading deletion policy to use. If not specified, 'background' is used. Valid values are 'background', 'foreground', and 'orphan'.
dryRun?: booleanoptionalOptional. If true, run in dry-run mode.
name: stringrequiredRequired. The name of the resource to delete.
namespace?: stringoptionalOptional. The namespace of the resource. If not specified, "default" is used.
parent: stringrequiredRequired. The cluster, which owns this collection of resources. Format: projects/{project}/locations/{location}/clusters/{cluster}
resourceType: stringrequiredRequired. The type of resource to delete. Kubernetes resource/kind name in singular form, lower case. e.g. "pod", "deployment", "service".
describe_k8s_resourceoutputSchema declaredShows the details of a specific Kubernetes resource. This is similar to running `kubectl describe`.
Input
labelSelector?: string, name?: string, namespace?: string, parent: string, resourceType: stringlabelSelector?: stringoptionalOptional. A label selector to filter resources.
name?: stringoptionalOptional. The name of the resource.
namespace?: stringoptionalOptional. The namespace of the resource.
parent: stringrequiredRequired. The parent cluster.
resourceType: stringrequiredRequired. The type of the resource.
get_clusteroutputSchema declaredGets the details of a specific GKE cluster.
Input
name: string, readMask?: stringname: stringrequiredRequired. The name (project, location, cluster) of the cluster to retrieve. Specified in the format `projects/*/locations/*/clusters/*`.
readMask?: stringoptionalOptional. The field mask to specify the fields to be returned in the response. Use a single "*" to get all fields. Default: autopilot,createTime,currentMasterVersion,currentNodeCount,currentNodeVersion,description,endpoint,fleet,location,name,network,nodePools.locations,nodePools.name,nodePools.status,nodePools.version,releaseChannel,resourceLabels,selfLink,status,statusMessage,subnetwork.
get_k8s_cluster_infooutputSchema declaredGets cluster endpoint information. This is similar to running `kubectl cluster-info`.
Input
parent: stringparent: stringrequiredRequired. The parent cluster. Format: projects/{project}/locations/{location}/clusters/{cluster}
get_k8s_logsoutputSchema declaredGets logs from a Kubernetes container in a pod. This is similar to running `kubectl logs`.
Input
allContainers?: boolean, container?: string, name: string, namespace?: string, parent: string, previous?: boolean, since?: string, sinceTime?: string, tail?: string, timestamps?: booleanallContainers?: booleanoptionalOptional. If true, retrieve logs from all containers in the pod.
container?: stringoptionalOptional. The name of the container to retrieve logs from. If not specified, logs from the first container are returned.
name: stringrequiredRequired. The name of the resource to retrieve logs from. This can be a pod name (e.g. "my-pod") or a type/name (e.g. "deployment/my-deployment"). If a type is not specified, "pod" is assumed.
namespace?: stringoptionalOptional. The namespace of the resource. If not specified, "default" is used.
parent: stringrequiredRequired. The cluster to retrieve logs from. Format: projects/{project}/locations/{location}/clusters/{cluster}
previous?: booleanoptionalOptional. If true, retrieve logs from the previous instantiation of the container.
since?: stringoptionalOptional. Retrieve logs since this duration ago (e.g. "1h", "10m").
sinceTime?: stringoptionalOptional. Retrieve logs since this time (RFC3339). e.g. "2024-08-30T06:00:00Z".
tail?: stringoptionalOptional. The number of lines from the end of the logs to show.
timestamps?: booleanoptionalOptional. If true, include timestamps in the log output.
get_k8s_resourceoutputSchema declaredGets one or more Kubernetes resources from a cluster. Resources can be filtered by type, name, namespace, and label selectors. Returns the resources in YAML format. This is similar to running `kubectl get`.
Input
customColumns?: string, fieldSelector?: string, labelSelector?: string, name?: string, namespace?: string, outputFormat?: string, pageSize?: integer, pageToken?: string, parent: string, resourceType: stringcustomColumns?: stringoptionalOptional. Custom columns to display in table output. Accepts either kubectl custom-columns format (e.g., "NAME:.metadata.name,IMAGE:.spec.containers[*].image") or comma-separated field names (e.g., "metadata.name,spec.replicas"). When both custom_columns and output_format are specified, output_format is ignored.
fieldSelector?: stringoptionalOptional. A field selector to filter resources.
labelSelector?: stringoptionalOptional. A label selector to filter resources.
name?: stringoptionalOptional. The name of the resource to retrieve. If not specified, all resources of the given type are returned.
namespace?: stringoptionalOptional. The namespace of the resource. If not specified, all namespaces are searched.
outputFormat?: stringoptionalOptional. The output format. One of: (table, wide, yaml, json). If not specified, defaults to table. When both custom_columns and output_format are specified, output_format is ignored.
pageSize?: integeroptionalOptional. The maximum number of resources to return. If not specified, 500 is used. The maximum value is 1000; values above 1000 will be coerced to 1000.
pageToken?: stringoptionalOptional. A page token, received from a previous `GetK8SResource` call. Provide this to retrieve the subsequent page of resources when listing resources. Cannot be used when `name` is specified.
parent: stringrequiredRequired. The cluster, which owns this collection of resources. Format: projects/{project}/locations/{location}/clusters/{cluster}
resourceType: stringrequiredRequired. The type of resource to retrieve. Kubernetes resource/kind name in singular form, lower case. e.g. "pod", "deployment", "service".
get_k8s_rollout_statusoutputSchema declaredChecks the current rollout status of a Kubernetes resource. This is similar to running `kubectl rollout status`.
Input
name: string, namespace?: string, parent: string, resourceType: stringname: stringrequiredRequired. The name of the resource to check.
namespace?: stringoptionalOptional. The namespace of the resource. If not specified, "default" is used for namespace-scoped resources.
parent: stringrequiredRequired. The cluster to check rollout status in. Format: projects/{project}/locations/{location}/clusters/{cluster}
resourceType: stringrequiredRequired. The type of resource to check. e.g. "deployment", "daemonset", "statefulset".
get_k8s_versionoutputSchema declaredRetrieves Kubernetes client and server versions for a given cluster. This is similar to running `kubectl version`.
Input
parent: stringparent: stringrequiredRequired. The cluster to get version information from, in the format `projects/*/locations/*/clusters/*`.
get_node_pooloutputSchema declaredGets the details of a specific node pool within a GKE cluster.
Input
name: stringname: stringrequiredRequired. The name (project, location, cluster, node pool id) of the node pool to get. Specified in the format `projects/*/locations/*/clusters/*/nodePools/*`.
get_operationoutputSchema declaredGets the details of a specific GKE operation.
Input
name: stringname: stringrequiredRequired. The name (project, location, operation id) of the operation to get. Specified in the format `projects/*/locations/*/operations/*`.
list_clustersoutputSchema declaredLists GKE clusters in a given project and location. Location can be a region, zone, or '-' for all locations.
Input
parent: string, readMask?: stringparent: stringrequiredRequired. The parent (project and location) where the clusters will be listed. Specified in the format `projects/*/locations/*`. Location "-" matches all zones and all regions.
readMask?: stringoptionalOptional. The field mask to specify the fields to be returned in the response. Use a single "*" to get all fields. Default: clusters.autopilot,clusters.createTime,clusters.currentMasterVersion,clusters.currentNodeCount,clusters.currentNodeVersion,clusters.description,clusters.endpoint,clusters.fleet,clusters.location,clusters.name,clusters.network,clusters.nodePools.name,clusters.releaseChannel,clusters.resourceLabels,clusters.selfLink,clusters.status,clusters.statusMessage,clusters.subnetwork,missingZones.
list_k8s_api_resourcesoutputSchema declaredRetrieves the available API groups and resources from a Kubernetes cluster. This is similar to running `kubectl api-resources`.
Input
parent: stringparent: stringrequiredRequired. The cluster, which owns this collection of resource types. Format: projects/{project}/locations/{location}/clusters/{cluster}
list_k8s_eventsoutputSchema declaredRetrieves events from a Kubernetes cluster. This is similar to running `kubectl events`.
Input
allNamespaces?: boolean, limit?: string, name?: string, namespace?: string, parent: string, resourceType?: stringallNamespaces?: booleanoptionalOptional. If true, retrieve events from all namespaces.
limit?: stringoptionalOptional. The maximum number of events to return. If not specified, 500 is used.
name?: stringoptionalOptional. The name of the resource to retrieve events for.
namespace?: stringoptionalOptional. The namespace of the resource. If not specified and all_namespaces is false, "default" is used.
parent: stringrequiredRequired. The parent cluster. Format: projects/{project}/locations/{location}/clusters/{cluster}
resourceType?: stringoptionalOptional. The type of the resource to retrieve events for.
list_node_poolsoutputSchema declaredLists the node pools for a specific GKE cluster.
Input
parent: stringparent: stringrequiredRequired. The parent (project, location, cluster name) where the node pools will be listed. Specified in the format `projects/*/locations/*/clusters/*`.
list_operationsoutputSchema declaredLists GKE operations in a given project and location. Location can be a region, zone, or '-' for all locations.
Input
parent: stringparent: stringrequiredRequired. The parent (project and location) where the operations will be listed. Specified in the format `projects/*/locations/*`. Location "-" matches all zones and all regions.
patch_k8s_resourceoutputSchema declaredPatches a Kubernetes resource. This is similar to running `kubectl patch`.
Input
name: string, namespace?: string, parent: string, patch: string, patchType?: string, resourceType: stringname: stringrequiredRequired. The name of the resource to patch.
namespace?: stringoptionalOptional. The namespace of the resource. If not specified, "default" is used.
parent: stringrequiredRequired. The cluster to patch the resource in. Format: projects/{project}/locations/{location}/clusters/{cluster}
patch: stringrequiredRequired. The patch to apply in JSON format.
patchType?: stringoptionalOptional. The patch strategy to apply. Valid values are "strategic", "merge", or "json". If not specified, "strategic" patch type will be used.
resourceType: stringrequiredRequired. The type of resource to patch. e.g. "pods", "deployments", "services".
update_clusteroutputSchema declaredUpdates a specific GKE cluster.
Input
name: string, update: stringname: stringrequiredRequired. The name (project, location, cluster) of the cluster to update. Specified in the format `projects/*/locations/*/clusters/*`.
update: stringrequiredRequired. A description of the update represented as a string using JSON format. The full update request object can be found at [REDACTED URI] [REDACTED URI]
update_node_pooloutputSchema declaredUpdates a specific node pool within a GKE cluster.
Input
name: string, update: stringname: stringrequiredRequired. The name (project, location, cluster, node pool) of the node pool to update. Specified in the format 'projects/*/locations/*/clusters/*/nodePools/*'.
update: stringrequiredRequired. A [node pool update request]([REDACTED URI] represented as a string using JSON format.