Compute Engine MCP server

Connect Compute Engine to Claude, ChatGPT, Cursor, Claude Code, Codex, Gemini, GitHub Copilot and any other MCP client, for your whole team. Metorial adds security, governance, and tracing, and gives everyone one Magic MCP URL to connect.

What you can do with the Compute Engine MCP server

Ask your agent in plain language. Each of these maps to a real tool on the server.

  • Use the list snapshots tool in Compute Engine
  • Use the set instance machine type tool in Compute Engine
  • Use the stop instance tool in Compute Engine
  • Use the list accelerator types tool in Compute Engine
  • Use the get instance template properties tool in Compute Engine
  • Use the list images tool in Compute Engine

How teams use Compute Engine with agents

Compute Engine runs virtual machines on Google Cloud. An agent can list instances, disks and reservations, start and stop machines, and resize them, which suits on-call and cost clean-up work.

Inventory

List instances, disks and snapshots across zones with their machine types.

Out-of-hours shutdown

Stop development VMs in the evening and start them again in the morning.

Resize

Change the machine type of a stopped instance after a performance review.

Commitments

Review commitments and reservations before buying more capacity.

Tools to start with

  • Stop Instance: Stops a VM and its compute billing.
  • Set Instance Machine Type: Resizes a stopped VM.
  • List Commitments: Committed use discounts in a region.

Sign-in and permissions

Compute Engine accepts Google OAuth or a service account. IAM decides what the agent can change; Compute Viewer is enough for inventory, and starting, stopping or creating instances needs Compute Instance Admin.

Sign-in options on Metorial: Google OAuth, Service Account.

Supported Tools

list_snapshots

List Snapshots

List global Compute Engine snapshots in the configured project with source and storage details.

set_instance_machine_type

Set Instance Machine Type

Change the machine type of a stopped Compute Engine VM. The instance must be stopped before invoking this tool.

stop_instance

Stop Instance

Stop a running Compute Engine VM and return the zone operation for asynchronous completion.

list_accelerator_types

List Accelerator Types

List Compute Engine GPU and accelerator types available in a zone, including deprecation and card-limit details.

get_instance_template_properties

Get Instance Template Properties

Get the full instance properties of a global Compute Engine instance template, including disks, networks, metadata, scheduling, service accounts, accelerators, and security settings.

list_images

List Images

List Compute Engine images. By default aggregates the configured project and the standard public image projects; set imageProject to page through a single project such as debian-cloud or windows-cloud.

get_instance_group_manager_basic_info

Get Instance Group Manager Basic Info

Get a Compute Engine managed instance group name, ID, instance template, base name, target sizes, status, and creation timestamp.

get_disk_performance_config

Get Disk Performance Config

Get the type, size, provisioned IOPS, provisioned throughput, physical block size, storage pool, and access mode of a Compute Engine disk.

delete_instance

Delete Instance

Delete a Compute Engine VM and return the zone operation for asynchronous completion.

reset_instance

Reset Instance

Hard-reset a Compute Engine VM and return the zone operation for asynchronous completion.

list_disks

List Disks

List Compute Engine disks in a zone with basic identity, size, type, status, and attachment timestamps.

list_commitment_reservations

List Commitment Reservations

List the Compute Engine reservations attached to a regional commitment, including machine shape, accelerators, sharing, commitment links, and resource status.

list_instance_group_managers

List Instance Group Managers

List Compute Engine managed instance groups in a zone with their templates, target sizes, status, and creation timestamps.

start_instance

Start Instance

Start a stopped Compute Engine VM and return the zone operation for asynchronous completion.

get_zone_operation

Get Zone Operation

Get a Compute Engine zone operation status, target, progress, request/start/end timestamps, errors, warnings, and HTTP failure details for polling asynchronous VM changes.

get_instance_basic_info

Get Instance Basic Info

Get a Compute Engine VM name, ID, status, machine type, creation timestamp, and guest accelerators.

list_instance_attached_disks

List Instance Attached Disks

List the complete Compute Engine attached-disk configurations for a VM instance.

get_instance_template_basic_info

Get Instance Template Basic Info

Get a global Compute Engine instance template name, ID, description, machine type, region, and creation timestamp.

list_commitments

List Commitments

List Compute Engine committed-use commitments in a region with status, plan, machine series, resources, and term timestamps.

get_disk_basic_info

Get Disk Basic Info

Get a Compute Engine disk name, ID, description, size, type, status, and attach or detach timestamps.

list_reservations

List Reservations

List Compute Engine reservations in a zone with basic identity, status, commitment links, and targeting requirements.

list_machine_types

List Machine Types

List Compute Engine machine types available in a zone, including vCPU, memory, disk, accelerator, and architecture details.

create_instance

Create Instance

Create a Compute Engine VM. Defaults to e2-medium and the debian-cloud debian-12 image family. Returns a zone operation for asynchronous completion.

list_instances

List Instances

List Compute Engine VMs in a zone with basic status, machine type, creation time, and accelerator details.

list_managed_instances

List Managed Instances

List instances in a Compute Engine managed instance group with instance status, intended template version, and current group action.

list_instance_templates

List Instance Templates

List global Compute Engine instance templates with their names, IDs, descriptions, machine types, regions, and creation timestamps.

get_reservation_details

Get Reservation Details

Get full details for a Compute Engine reservation, including machine shape, accelerators, local SSDs, aggregate resources, commitments, sharing, and resource status.

get_commitment_basic_info

Get Commitment Basic Info

Get a regional Compute Engine commitment name, ID, status, plan, type, resources, and creation, start, and end timestamps.

get_reservation_basic_info

Get Reservation Basic Info

Get a Compute Engine reservation name, ID, creation timestamp, zone, status, commitment links, and targeting requirement.

Connect Compute Engine to your AI client

Every client uses the same Magic MCP URL, and so does any other MCP client. Add it once and sign in with SSO.

  1. Enable Compute Engine in Metorial. In your Metorial portal, enable the Compute Engine MCP server and sign in with the account that owns the data. Access stays governed by your team policies.
  2. Add a custom connector. Open Customize, then Connectors. Select Add, then Custom, then Web.
  3. Paste your Metorial MCP URL. Name it Metorial, paste your Magic MCP URL (<your-magic-mcp-url>) and continue.
  4. Sign in. Select Add and sign in to load Compute Engine tools.

Run Compute Engine through the Metorial gateway

One governed layer for every app your agents reach, not a separate connector per tool.

  • Give Compute Engine and every other app to your whole team through one MCP gateway, behind your SSO.
  • Scope which teams and agents can use Compute Engine tools with role-based access control, and trace every call.
  • Prefer to run it yourself? Metorial is open source and self-hostable.

More integrations teams use with Compute Engine

Google Sheets

Create, read, and update spreadsheets and their cell data. Read and write values to individual cells, ranges, or multiple ranges using A1 notation or named ranges. Apply cell formatting including text styles, backgrounds, borders, number formats, and conditional formatting. Manage sheets (tabs) within a spreadsheet—add, delete, copy, rename, and reorder them. Create and manage embedded charts, pivot tables, filter views, data validation rules, protected ranges, named ranges, and merged cells. Perform batch operations to apply multiple updates atomically.

GitHub

Manage repositories, issues, and pull requests. Create and configure branches, star repositories, review code, and merge changes. Automate CI/CD workflows with GitHub Actions, manage workflow runs, secrets, and artifacts. Track issues with labels, milestones, and assignees. Search across code, repositories, issues, and users. Manage organizations, teams, and memberships. Create and manage projects, gists, packages, deployments, and environments. Access security alerts including code scanning, secret scanning, and Dependabot alerts. Read and write file contents in repositories. Manage webhooks, notifications, and codespaces.

Salesforce

Manage CRM data including Accounts, Contacts, Leads, Opportunities, Cases, and custom objects. Create, read, update, and delete records. Query data using SOQL and search across objects using SOSL. Perform bulk data operations for large-scale imports, exports, and migrations. Execute composite requests to batch multiple operations in a single API call. Access analytics, reports, and dashboards. Manage files and attachments associated with records. Interact with Chatter feeds, posts, and groups for social collaboration. Manage org metadata including custom objects, fields, layouts, and workflows. Query data using GraphQL for precise data retrieval across related objects.

Sharepoint

Manage SharePoint sites, document libraries, lists, and files. Create, read, update, and delete lists and list items with custom columns. Resolve site users to numeric Person/Group LookupId values. Upload, download, move, copy, and version files in document libraries. Search across sites, files, folders, lists, and list items using Microsoft Search. Manage permissions at site, list, and item levels with granular access control. Define and manage content types and site columns. Retrieve site properties and search for sites across Microsoft 365.

Airtable

Create, read, update, and delete records in Airtable bases and tables. Manage base schemas including creating tables and fields. Filter records using formulas, sort by fields, and scope queries to specific views. Upsert records to find, create, or update in a single call. Upload attachments to records, read and write record comments, list accessible bases, and receive real-time base change events through webhooks.

Google Drive

Upload, download, create, copy, move, rename, trash, and permanently delete files and folders in Google Drive. Search for files using complex queries filtering by name, MIME type, owner, modification date, labels, and other metadata. Share files and folders with specific users, groups, or domains with role-based permissions (owner, writer, commenter, reader). Manage shared drives and their members. Export Google Workspace files (Docs, Sheets, Slides) to standard formats like PDF, DOCX, and XLSX. Track file revision history and restore earlier versions. Create, read, update, and delete threaded comments and replies on files. Read label definitions and search files by label. Browse the Drive apps installed for your account. Store app-specific data in a hidden per-user folder.

Technical notes for Compute Engine

Connect a Google Cloud project to the Compute Engine API for virtual machine, disk, image, machine type, accelerator, instance group, template, reservation, commitment, and operation workflows.

Frequently asked questions

Common questions about connecting Compute Engine to AI agents with Metorial.

  1. How many tools does the Compute Engine MCP server have?
    The Compute Engine MCP server exposes 29 tools, including List Snapshots, Set Instance Machine Type, Stop Instance. Each one is governed and traced through Metorial.
  2. Compute Engine exposes tools your agents call on demand; it does not publish event triggers yet. Everything still runs through one governed MCP URL.
  3. Any MCP client, including VS Code, Windsurf, Zed, OpenCode and Grok. Each one reaches the Compute Engine MCP server through the same Metorial URL.
  4. Use role-based access control to decide which teams, users, and agents can use Compute Engine and which of its tools they can call.
  5. Yes. Metorial is open source, so you can run the Compute Engine MCP server yourself or use the hosted gateway.

Connect Compute Engine to production AI agents

See how Metorial gives your team governed access to Compute Engine, with tracing and security controls built in.