Google Compute Engine
Manage Compute Engine VM instances, disks, instance groups, snapshots, and images through Google's hosted Compute Engine MCP server.
A Google Cloud project with billing enabled, and a sign-in on that project with permission to enable APIs, grant IAM roles, and configure the Google Auth platform. Everything in Provider setup happens in the Google Cloud console at console.cloud.google.com. Each person who will connect from the Speakeasy AI Control Plane needs their own Google account; you grant their access in Grant IAM roles.
The Google Compute Engine catalog entry connects to Google’s hosted MCP
Server at https://compute.googleapis.com/mcp; you do not need to install
anything or paste the remote URL. The server’s tools manage real Compute
Engine resources — they can create, start, stop, and delete VM instances —
and everything they do
is ordinary Compute Engine activity billed to this project; a VM created
without explicit choices defaults to an e2-medium machine running
Debian 12. Google might process the server’s tool calls in any region,
regardless of where your project’s resources live.
You will enable the Compute Engine API, grant roles to each connecting user, configure the consent screen, and create one OAuth client. That client’s Client ID and Client secret are the values the Speakeasy AI Control Plane needs.
Enable the Compute Engine API
- Sign in at console.cloud.google.com.
- Pick your project in the project selector on the console toolbar.
- Open the documented APIs & Services > API Library page. This is likely available from the navigation menu. If it is not, open the Compute Engine API overview directly and skip to step 6.
- In the Search for APIs & Services box, search for
Compute Engine API. - Open the result named Compute Engine API
(
compute.googleapis.com). - Click Enable. If the page shows the API as already enabled, there is nothing more to do.
The MCP server is enabled together with the API — there is no separate MCP switch to find.
Grant IAM roles
Do this for every user who will connect from the Speakeasy AI Control Plane. Each user authorizes as themselves, so their own roles cap what the server will do for them.
-
Open the project’s documented IAM page. The likely navigation-menu route is IAM & Admin > IAM; if it is not available, open IAM directly.
-
Click Grant access.
-
In the New principals field, enter the user’s Google Account email address.
-
Click Select a role.
-
Search for and select MCP Tool User (
roles/mcp.toolUser) — this role allows MCP tool calls. -
Click Add another role.
-
Add Compute Instance Admin (v1) (
roles/compute.instanceAdmin.v1) — full control of Compute Engine instances, instance groups, disks, snapshots, and images. -
Click Add another role.
-
Add Service Account User (
roles/iam.serviceAccountUser) when creating VMs that run as a service account.Google recommends granting Service Account User on a specific service account rather than project-wide; granting it here on the project also works.
-
Click Save.
Nothing here is final: you can return to the same IAM page and edit roles at any time.
Configure the consent screen
The consent screen is what your users see when they sign in to approve the connection. One thing to know before you start: once configured, the consent screen cannot be removed.
- In the navigation menu, go to Google Auth platform > Branding.
- If you see a message that says Google Auth platform not configured yet, click Get Started. If you do not see that message, the platform is already configured — skip ahead to adding the scope below.
- Under App Information, in App name, enter a name your users
will recognize, such as
Speakeasy AI Control Plane. - In User support email, choose a support email address.
- Click Next.
- Under Audience, select Internal if everyone who will connect belongs to your Google Workspace organization; otherwise select External.
- Click Next.
- Under Contact Information, enter an Email address.
- Click Next.
- Under Finish, review the Google API Services User Data Policy and, if you agree, select I agree to the Google API Services: User Data Policy.
- Click Continue.
- Click Create.
Next, add the Compute Engine scope — the access the connection will request:
-
Click Data Access.
-
Click Add or Remove Scopes.
-
Add this scope — select it in the list if it appears there; otherwise enter it in the text box under Manually add scopes:
https://www.googleapis.com/auth/compute -
Click Update.
-
Click Save.
Open Audience and check the configured audience and publishing status. If either value is not evident, obtain it from the application or cloud security owner. If the audience is External and the publishing status is Testing, list every connecting user as a test user — only listed accounts can connect:
- Under Test users, click Add users.
- Enter the Google account email address of every user who will connect from the Speakeasy AI Control Plane.
- Click Save.
Testing status is temporary by design: an External app left in Testing drops every connection after seven days, and Google caps a Testing app at 100 test users. If your organization has more connecting users than that, confirm the connection with a smaller group first, then publish the app to cover everyone else. Once a user has signed in successfully from the Speakeasy AI Control Plane (see Connect your credentials), return to the Audience page and click Publish app so connections persist. Google notes that your app’s configuration may be subject to verification before it can request certain scopes, so publishing may involve an extra review step.
Create the OAuth client
-
Go to Google Auth Platform > Clients.
-
Click Create client.
-
In the Application type list, select Web application.
-
In the Name field, enter a name you will recognize later.
-
In the Authorized redirect URIs section, click + Add URI.
-
Enter the Speakeasy AI Control Plane’s callback URL:
https://ai.speakeasy.com/mcp/remote_login_callback -
Leave Authorized JavaScript origins empty.
The next click opens a dialog that shows the client secret exactly once. Have a secure place ready — your password manager works — before you continue.
-
Click Create. The OAuth 2.0 client created dialog opens; the next step copies the credentials out of it.
Copy the client credentials
The OAuth 2.0 client created dialog shows both values the Speakeasy AI Control Plane needs.
- Copy the Client ID and save it in the secure place you prepared.
- In the Client secrets section, copy the Client secret and save it alongside the ID.
Treat the client secret like a password, and note that you can only copy it once: after this dialog closes, the Client ID stays visible on the client’s page, but the secret does not. If you lose the secret, delete it and create a new one. The Clients page is the likely starting point; Google does not document the exact clicks.
Both values go into the Speakeasy AI Control Plane in Connect your credentials.
Add the server in Speakeasy
In the Speakeasy AI Control Plane sidebar, under MCP Gateway, select MCP, then click Add new to open Add MCP server.
- Choose From the catalog.
- On the MCP Catalog page, search for
Google Compute Enginein Search MCP servers…. - Open the Google Compute Engine catalog entry.
- Click Add. This opens the Add to Project dialog.
- Under Identity, select User Identity. The dialog preselects No Identity for this entry, so change it.
- Click Add to Project.
- If the dialog offers a Guardrails step, finish it or click Skip for now.
- When the dialog finishes, the result reads “Added, but disabled until identity is set up.” Click Finish setup to open the server’s Settings.
Speakeasy keeps the new server Disabled and says to finish setup in Settings > Identity. This is expected for Compute Engine; continue with the next section.
Connect your credentials
Open the server’s Settings and find the Identity section.
-
Confirm User Identity is selected.
-
Under Choose an identity provider, confirm the preselected Google provider (
https://accounts.google.com). A new provider shows Will be created. If a different provider is preselected, open the picker, search in Search identity providers…, and choose the Google provider. -
Choose Manual. If Existing client is preselected, switch to Manual unless that client is the one created in Create the OAuth client with the Compute Engine scope.
-
Paste the Client ID from Copy the client credentials into Client ID.
-
Paste the Client secret from Copy the client credentials into Client secret. Google requires this secret even though the field shows “Optional”.
-
Under Advanced > Scope, enter this value. Do not leave Scope blank; without it, the token can lack Compute Engine access.
https://www.googleapis.com/auth/compute -
Click Save. If asked to confirm, click Save changes.
Turn the server on:
- Open Settings > Danger Zone > Server Availability.
- Turn on the switch (Enable MCP server) so it shows Enabled.
Each user who then connects signs in with their own Google account. They need the roles from Grant IAM roles and, while an External app’s publishing status is Testing, a listing under Test users in Configure the consent screen.
This guide covers setup only. For anything beyond it — billing, tool behavior, limits — see Google’s Compute Engine MCP documentation.