> Documentation index: https://metorial.com/llms.txt. Every page is available as Markdown by adding .md to its URL.

# Set up Compute Engine in Metorial for Claude, ChatGPT and Cursor
URL: https://metorial.com/docs/integrations/google-compute-engine
Last updated: 2026-11-24

Share Compute Engine with your team in Claude, ChatGPT and Cursor through Metorial: 29 tools (23 read-only).

---

To give your team Compute Engine in Claude, ChatGPT, Cursor and other AI clients, an admin shares the Compute Engine integration in a Metorial portal. Agents can 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. The integration has 29 tools, 23 read-only, 3 write and 3 destructive.

**What you will learn**

- How an admin shares Compute Engine in a portal and how each person connects
- How to keep the 23 read-only tools and reject the other 6

**Before you start**

- A [portal](https://metorial.com/docs/platform/workforce/portals) with at least one access group
- For the CLI steps: the [Metorial CLI](https://metorial.com/docs/platform/cli), signed in to your portal

## Sign-in methods

Available: **Google OAuth**, **Service Account**.

The portal and `metorial setup` use **Google OAuth** unless someone picks another method.

## Admin: share Compute Engine in a portal

### In the dashboard

1. **Open Shared Resources**

   Open **Workforce**, choose the portal, and select **Shared Resources** under **Access**.

2. **Share a new integration**

   Select **Share a Resource**, then **New Integration**, and choose Compute Engine. Under **Auth Method**, keep **Google OAuth** or pick another.

3. **Limit the tools**

   Under **Tool Filters**, set the write and destructive groups to **Reject** if agents should only read from Compute Engine.

4. **Choose who gets it**

   Add the access groups that should see Compute Engine. When a person asks for access from the portal, the request appears under **Access Requests**.

### With the CLI

The CLI cannot create the per-user Compute Engine integration. Once it exists, check which groups have it:

```bash
metorial-admin portals access list <portal-id> --type provider_template --search "compute engine"
```

## Employee: connect Compute Engine

### In the portal

1. **Open Compute Engine in the catalog**

   Sign in to your portal and open Compute Engine. The status reads **Available**.

2. **Authenticate**

   Under **Quick setup**, select **Authenticate**.

3. **Confirm**

   The status changes to **Configured**. If it later reads **Needs reconnect**, select **Reconnect** and sign in again.

### With the CLI

```bash
metorial catalog search "compute engine"
metorial setup <catalog-item-id>
```

`catalog search` prints the catalog item ID. `metorial setup` uses **Google OAuth**. To connect with **Service Account** instead, find its ID with `metorial catalog get <catalog-item-id>` and add `--auth-method <auth-method-id>`.

### Add it to your AI client

`metorial install` adds your Compute Engine connection to a local MCP client such as Claude Code, Cursor or Codex. `metorial list` prints the integration ID and `metorial client list` the client identifiers.

```bash
metorial list "compute engine"
metorial client list
metorial install <client-identifier> <integration-id>
```

For a client that takes a server URL, such as ChatGPT, `metorial install custom <integration-id>` creates an installation token and shows the endpoint details.

## Make it read-only

Open the integration's **Tool Filters** and set the write and destructive groups to **Reject**. Agents keep the 23 read-only tools, such as `list_disks` and `list_images`, and lose the 3 write tools, such as `start_instance` or `create_instance`, and the 3 destructive tools, such as `stop_instance` or `reset_instance`.

Employees see the result on the integration's page in the portal under **Tool access**. For the full walkthrough, see [Tool permissions](https://metorial.com/docs/platform/guides/tool-permissions).

## Check it worked

```bash
metorial list "compute engine"
metorial tools <integration-id>
```

`metorial tools` lists the 29 tools, minus any you rejected.

To see every input a tool takes, run `metorial schema <integration-id> <tool-key>`.

## Tools

### Read-only tools (23)

- `list_snapshots`: List global Compute Engine snapshots in the configured project with source and storage details.
- `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 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 Compute Engine images.
- `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 the type, size, provisioned IOPS, provisioned throughput, physical block size, storage pool, and access mode of a Compute Engine disk.
- `list_disks`: List Compute Engine disks in a zone with basic identity, size, type, status, and attachment timestamps.
- `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 Compute Engine managed instance groups in a zone with their templates, target sizes, status, and creation timestamps.
- `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 a Compute Engine VM name, ID, status, machine type, creation timestamp, and guest accelerators.
- `list_instance_attached_disks`: List the complete Compute Engine attached-disk configurations for a VM instance.
- `get_instance_template_basic_info`: Get a global Compute Engine instance template name, ID, description, machine type, region, and creation timestamp.
- `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 a Compute Engine disk name, ID, description, size, type, status, and attach or detach timestamps.
- `list_reservations`: List Compute Engine reservations in a zone with basic identity, status, commitment links, and targeting requirements.
- `list_machine_types`: List Compute Engine machine types available in a zone, including vCPU, memory, disk, accelerator, and architecture details.
- `list_instances`: List Compute Engine VMs in a zone with basic status, machine type, creation time, and accelerator details.
- `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 global Compute Engine instance templates with their names, IDs, descriptions, machine types, regions, and creation timestamps.
- `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 a regional Compute Engine commitment name, ID, status, plan, type, resources, and creation, start, and end timestamps.
- `get_reservation_basic_info`: Get a Compute Engine reservation name, ID, creation timestamp, zone, status, commitment links, and targeting requirement.

### Write tools (3)

- `set_instance_machine_type`: Change the machine type of a stopped Compute Engine VM.
- `start_instance`: Start a stopped Compute Engine VM and return the zone operation for asynchronous completion.
- `create_instance`: Create a Compute Engine VM.

### Destructive tools (3)

- `stop_instance`: Stop a running Compute Engine VM and return the zone operation for asynchronous completion.
- `delete_instance`: Delete a Compute Engine VM and return the zone operation for asynchronous completion.
- `reset_instance`: Hard-reset a Compute Engine VM and return the zone operation for asynchronous completion.

## Next steps

- [Claude Code](https://metorial.com/docs/platform/clients/claude-code), [Cursor](https://metorial.com/docs/platform/clients/cursor), [Codex](https://metorial.com/docs/platform/clients/codex) and [ChatGPT](https://metorial.com/docs/platform/clients/chatgpt): connect each client to your portal and use Compute Engine there
- [Tool permissions](https://metorial.com/docs/platform/guides/tool-permissions): tool filters and what employees see
- [Compute Engine on metorial.com](https://metorial.com/integrations/google-compute-engine): the integration overview