Skip to main content
Use this integration to let Unblocked access selected Google Cloud MCP services through Workload Identity Federation. Unblocked does not need a Google service-account key or other long-lived Google credential. Choose one of these setup options:

Unblocked configuration values

You may rename the Google-side resources, including the service account, Workload Identity Pool, and AWS provider, to match your naming conventions. The Unblocked AWS account ID and broker role are fixed values supplied by Unblocked. Do not change them. At the end of each setup option, you will have these two values to enter in the Google Cloud MCP connection form in Unblocked:
  • service_account_email, for example unblocked-gcp-access@PROJECT_ID.iam.gserviceaccount.com
  • aws_workload_identity_provider, in this format: projects/{projectNumber}/locations/global/workloadIdentityPools/{poolId}/providers/{providerId}

Option 1: Terraform

Use Terraform when you manage Google Cloud with Terraform. The module exposes both values Unblocked needs as outputs. The identity applying the configuration must be able to enable APIs, create service accounts and Workload Identity Federation resources, and manage project IAM. The module is available at terraform-google-cloud-integration. Create main.tf with the following configuration. Replace CUSTOMER_PROJECT_ID with your Google Cloud project ID.
Run:
Enter both output values in Unblocked. They contain no service-account key or long-lived Google credential.

Option 2: gcloud CLI

Run these commands from a local terminal authenticated with gcloud as a Google project administrator, or from Google Cloud Shell. Replace CUSTOMER_PROJECT_ID only.
In Google Cloud Shell, open the customer project in Google Cloud Console and click Activate Cloud Shell. Confirm that the active account is a project administrator with gcloud auth list --filter=status:ACTIVE. Do not run gcloud auth application-default login; Cloud Shell already uses the signed-in Google identity for gcloud commands.
Enter the two printed values in Unblocked. They contain no service-account key or long-lived Google credential.

Option 3: Google Cloud Console

The steps below use production AWS account 029574882031.
1

Select the customer project

Select the customer project in Google Cloud Console.
2

Enable required APIs

Open APIs & ServicesLibrary. Enable IAM API, IAM Service Account Credentials API, Security Token Service API, Compute Engine API, Cloud Logging API, and Cloud Monitoring API.
3

Create the service account

Open IAM & AdminService Accounts. Create unblocked-gcp-access.
4

Grant read-only project access

Open IAM & AdminIAM. Grant the service account Logs Viewer, Monitoring Viewer, Service Usage Consumer, and Viewer.
5

Grant MCP Tool User access

Add a separate MCP Tool User grant for the service account. Add an IAM condition named native-mcp-services-only with this expression:
6

Create the Workload Identity Pool and provider

Open IAM & AdminWorkload Identity Federation. Create pool unblocked-gcp-access-pool, then add an AWS provider named unblocked-gcp-access for AWS account 029574882031.
7

Configure provider mappings and condition

Configure the provider mappings and condition exactly as shown:
8

Grant Workload Identity User access

Grant the provider access to impersonate unblocked-gcp-access using Workload Identity User. Select the principal set whose attribute.account equals 029574882031.
9

Collect the values for Unblocked

Collect these two values:
  • service_account_email: unblocked-gcp-access@PROJECT_ID.iam.gserviceaccount.com, shown on the Service Accounts page.
  • aws_workload_identity_provider: the provider resource name shown on the Workload Identity Federation provider page, in this format: projects/PROJECT_NUMBER/locations/global/workloadIdentityPools/unblocked-gcp-access-pool/providers/unblocked-gcp-access.
Enter both values in the Google Cloud MCP connection form in Unblocked.

Connect in Unblocked

After configuring Google Cloud, connect the project in Unblocked.
1

Open Google Cloud MCP settings

In the Unblocked sidebar, click Settings, then Data Sources, then Connect another data source, and select Google Cloud MCP.
2

Enter the two WIF values

Enter the service_account_email and full aws_workload_identity_provider resource name from your Google Cloud setup. Click Connect.
3

Select MCP services

After connecting, select the Google Cloud MCP services that Unblocked can query. Select Compute, Logging, and Monitoring, or only the services you need, then save your settings. All read-only tools from selected services are enabled automatically.

Quick verification

Confirm that the service account, pool, and provider exist:
An end-to-end WIF test must run with an AWS session for UnblockedGcpCustomerAccess. Personal Google ADC does not test the AWS-to-Google federation path.