Server Details
The Google Compute Engine MCP server is a fully-managed Model Context Protocol server that provides tools to manage Google Compute Engine resources through AI agents. It enables capabilities including instance management (creating, starting, stopping, resetting, listing), disk management, handling instance templates and group managers, viewing machine and accelerator types, managing images, and accessing reservation and commitment information. The server operates as a zero-deployment, enterprise-grade endpoint at https://compute.googleapis.com/mcp with built-in IAM-based security.
- Status
- Healthy
- Last Tested
- Transport
- Streamable HTTP
- URL
Available Tools
29 toolscreate_instanceTry in Inspector
Create a new Google Compute Engine virtual machine (VM) instance. Requires project, zone, and instance name as input. If machine_type is not provided, it defaults to e2-medium. If image_project and image_family are not provided, it defaults to debian-12 image from debian-cloud project. guest_accelerator and maintenance_policy can be optionally provided. Proceed only if there is no error in response and the status of the operation is DONE without any errors. To get details of the operation, use the get_zone_operation tool.
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Required. Identifier. The instance name. | |
| zone | Yes | Required. The zone of the instance. | |
| project | Yes | Required. Project ID for this request. | |
| imageFamily | No | Optional. The image family of the instance. | |
| machineType | No | Optional. The machine type of the instance. | |
| imageProject | No | Optional. The image project of the instance. | |
| guestAccelerators | No | Optional. The list of attached accelerators. Each entry specifies the accelerator type (short name or full/partial URL, e.g., 'nvidia-tesla-p4') and the count. | |
| maintenancePolicy | No | Optional. The maintenance policy option for the instance. |
delete_instanceTry in Inspector
Delete a Google Compute Engine virtual machine (VM) instance. Requires project, zone, and instance name as input. Proceed only if there is no error in response and the status of the operation is DONE without any errors. To get details of the operation, use the get_zone_operation tool.
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Required. Identifier. The instance name. | |
| zone | Yes | Required. The zone of the instance. | |
| project | Yes | Required. Project ID for this request. |
get_commitment_basic_infoTry in Inspector
Get basic information about a Compute Engine Commitment, including its name, ID, status, plan, type, resources, and creation, start and end timestamps. Requires project, region, and commitment name as input.
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Required. Identifier. Name of the commitment to return. | |
| region | Yes | Required. The region of the commitment. | |
| project | Yes | Required. Project ID for this request. |
get_disk_basic_infoTry in Inspector
Get basic information about a Compute Engine disk, including its name, ID, description, creation timestamp, size, type, status, last attach timestamp, and last detach timestamp. Requires project, zone, and disk name as input.
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Required. Identifier. The disk name. | |
| zone | Yes | Required. The zone of the disk. | |
| project | Yes | Required. Project ID for this request. |
get_disk_performance_configTry in Inspector
Get performance configuration of a Compute Engine disk, including its type, size, provisioned IOPS, provisioned throughput, physical block size, storage pool and access mode. Requires project, zone, and disk name as input.
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Required. Identifier. The disk name. | |
| zone | Yes | Required. The zone of the disk. | |
| project | Yes | Required. Project ID for this request. |
get_instance_basic_infoTry in Inspector
Get basic information about a Compute Engine VM instance, including its name, ID, status, machine type, creation timestamp, and attached guest accelerators. Requires project, zone, and instance name as input.
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Required. Identifier. The instance name. | |
| zone | Yes | Required. The zone of the instance. | |
| project | Yes | Required. Project ID for this request. |
get_instance_group_manager_basic_infoTry in Inspector
Get basic information about a Compute Engine managed instance group (MIG), including its name, ID, instance template, base instance name, target size, target stopped size, target suspended size, status and creation timestamp. Requires project, zone, and MIG name as input.
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Required. Identifier. The instance group manager name. | |
| zone | Yes | Required. The zone of the instance group manager. | |
| project | Yes | Required. Project ID for this request. |
get_instance_template_basic_infoTry in Inspector
Get basic information about a Compute Engine instance template, including its name, ID, description, machine type, region, and creation timestamp. Requires project and instance template name as input.
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Required. Identifier. Name of the instance template to return. | |
| project | Yes | Required. Project ID for this request. |
get_instance_template_propertiesTry in Inspector
Get instance properties of a Compute Engine instance template. This includes properties such as description, tags, machine type, network interfaces, disks, metadata, service accounts, scheduling options, labels, guest accelerators, reservation affinity, and shielded/confidential instance configurations. Requires project and instance template name as input.
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Required. Identifier. Name of the instance template to return. | |
| project | Yes | Required. Project ID for this request. |
get_reservation_basic_infoTry in Inspector
Get Compute Engine reservation basic info including name, ID, creation timestamp, zone, status, specific reservation required, commitment, and linked commitments. Requires project, zone, and reservation name as input.
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Required. Identifier. Name of the reservation to retrieve. | |
| zone | Yes | Required. The zone of the reservation. | |
| project | Yes | Required. Project ID for this request. |
get_reservation_detailsTry in Inspector
Get Compute Engine reservation details. Returns reservation details including name, ID, status, creation timestamp, specific reservation properties like machine type, guest accelerators and local SSDs, aggregate reservation properties like VM family and reserved resources, commitment and linked commitments, sharing settings, and resource status. Requires project, zone, and reservation name as input.
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Required. Identifier. Name of the reservation to retrieve. | |
| zone | Yes | Required. The zone of the reservation. | |
| project | Yes | Required. Project ID for this request. |
get_zone_operationTry in Inspector
Get details of a zone operation, including its id, name, status, creation timestamp, error, warning, HTTP error message and HTTP error status code. Requires project, zone, and operation name as input.
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Required. Identifier. The operation name. | |
| zone | Yes | Required. The zone of the operation. | |
| project | Yes | Required. Project ID for this request. |
list_accelerator_typesTry in Inspector
Lists the available Google Compute Engine accelerator types. Requires project and zone as input. Returns accelerator types, including id, creation timestamp, name, description, deprecated, zone, and maximum cards per instance.
| Name | Required | Description | Default |
|---|---|---|---|
| zone | Yes | Required. The zone of the accelerator types. | |
| project | Yes | Required. Project ID for this request. |
list_commitment_reservationsTry in Inspector
Lists reservations for a Compute Engine Commitment. Returns reservation details including name, ID, status, creation timestamp, specific reservation properties like machine type, guest accelerators and local SSDs, aggregate reservation properties like VM family and reserved resources, commitment and linked commitments, sharing settings, and resource status. Requires project, region, and commitment name as input.
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Required. Identifier. Name of the commitment to look up reservations for. | |
| region | Yes | Required. The region of the commitment. | |
| project | Yes | Required. Project ID for this request. |
list_commitmentsTry in Inspector
Lists Compute Engine Commitments in a region. Details for each commitment include name, ID, status, plan, type, resources, and creation, start and end timestamps. Requires project and region as input.
| Name | Required | Description | Default |
|---|---|---|---|
| region | Yes | Required. The region of the commitments. | |
| project | Yes | Required. Project ID for this request. | |
| pageSize | No | Optional. The maximum number of commitments to return. | |
| pageToken | No | Optional. A page token received from a previous call to list commitments. |
list_disksTry in Inspector
Lists Compute Engine disks. Details for each disk include name, ID, description, creation timestamp, size, type, status, last attach timestamp, and last detach timestamp. Requires project and zone as input.
| Name | Required | Description | Default |
|---|---|---|---|
| zone | Yes | Required. The zone of the disks to list. | |
| project | Yes | Required. Project ID for this request. | |
| pageSize | No | Optional. The maximum number of results per page that should be returned. | |
| pageToken | No | Optional. The page token received from the previous call. |
list_imagesTry in Inspector
Lists Compute Engine Images. Details for each image include name, ID, status, family, and creation timestamp. Requires project as input.
| Name | Required | Description | Default |
|---|---|---|---|
| project | Yes | Required. Project ID for this request. | |
| pageSize | No | Optional. The maximum number of images to return. | |
| pageToken | No | Optional. A page token received from a previous call to list images. |
list_instance_attached_disksTry in Inspector
Lists the disks attached to a Compute Engine virtual machine (VM) instance. For each attached disk, the response includes details such as kind, type, mode, saved state, source, device name, index, boot, initialize parameters, auto delete, licenses,, interface, guest OS features, disk encryption key, disk size, shielded instance initial state, force attach, and architecture. Requires project, zone, and instance name as input.
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Required. Identifier. The instance name. | |
| zone | Yes | Required. The zone of the instance. | |
| project | Yes | Required. Project ID for this request. |
list_instance_group_managersTry in Inspector
Lists Compute Engine managed instance groups (MIGs). Details for each MIG include name, ID, instance template, base instance name, target size, target stopped size, target suspended size, status and creation timestamp. Requires project and zone as input.
| Name | Required | Description | Default |
|---|---|---|---|
| zone | Yes | Required. The zone of the instance group managers. | |
| project | Yes | Required. Project ID for this request. | |
| pageSize | No | Optional. The maximum number of instance group managers to return. | |
| pageToken | No | Optional. A page token received from a previous call to list instance group managers. |
list_instancesTry in Inspector
Lists Compute Engine virtual machine (VM) instances. Details for each instance include name, ID, status, machine type, creation timestamp, and attached guest accelerators. Use other tools to get more details about each instance. Requires project and zone as input.
| Name | Required | Description | Default |
|---|---|---|---|
| zone | Yes | Required. The zone of the instances. | |
| project | Yes | Required. Project ID for this request. | |
| pageSize | No | Optional. The maximum number of instances to return. | |
| pageToken | No | Optional. A page token received from a previous call to list instances. |
list_instance_templatesTry in Inspector
Lists Compute Engine instance templates. Details for each instance template include name, ID, description, machine type, region, and creation timestamp. Requires project as input.
| Name | Required | Description | Default |
|---|---|---|---|
| project | Yes | Required. Project ID for this request. | |
| pageSize | No | Optional. The maximum number of instance templates to return. | |
| pageToken | No | Optional. A page token received from a previous call to list instance templates. |
list_machine_typesTry in Inspector
Lists the available Google Compute Engine machine types. Requires project and zone as input. Returns machine types, including id, creationTimestamp, name, description, guest cpus, memory, image space, maximum persistent disks, maximum persisten disks size, deprecated, zone, is shared cpu, accelerators, and architecture.
| Name | Required | Description | Default |
|---|---|---|---|
| zone | Yes | Required. The zone of the machine types. | |
| project | Yes | Required. Project ID for this request. |
list_managed_instancesTry in Inspector
Lists managed instances for a given managed instance group (MIG). For each instance, details include id, instance URL, instance status, and current action. Requires project, zone, and MIG name as input.
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Required. Identifier. The instance group manager name. | |
| zone | Yes | Required. The zone of the instance group manager. | |
| project | Yes | Required. Project ID for this request. | |
| pageSize | No | Optional. The maximum number of managed instances to return. | |
| pageToken | No | Optional. A page token received from a previous call to list managed instances. |
list_reservationsTry in Inspector
Lists Compute Engine reservations. Details for each reservation include name, ID, creation timestamp, zone, status, specific reservation required, commitment, and linked commitments. Requires project and zone as input.
| Name | Required | Description | Default |
|---|---|---|---|
| zone | Yes | Required. The zone of the reservations. | |
| project | Yes | Required. Project ID for this request. | |
| pageSize | No | Optional. The maximum number of reservations to return. | |
| pageToken | No | Optional. A page token received from a previous call to list reservations. |
list_snapshotsTry in Inspector
Lists snapshots in a project providing basic information per snapshot including name, id, status, creation time, disk size, storage bytes, source disk, and source disk id. Requires project as input.
| Name | Required | Description | Default |
|---|---|---|---|
| project | Yes | Required. Project ID for this request. | |
| pageSize | No | Optional. The maximum number of snapshots to return. | |
| pageToken | No | Optional. A page token received from a previous call to list snapshots. |
reset_instanceTry in Inspector
Resets a Google Compute Engine virtual machine (VM) instance. Requires project, zone, and instance name as input. Proceed only if there is no error in response and the status of the operation is DONE without any errors. To get details of the operation, use the get_zone_operation tool.
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Required. Identifier. The instance name. | |
| zone | Yes | Required. The zone of the instance. | |
| project | Yes | Required. Project ID for this request. |
set_instance_machine_typeTry in Inspector
Sets the machine type for a stopped Google Compute Engine instance to the specified machine type. Requires project, zone, instance name and machine type as input. Proceed only if there is no error in response and the status of the operation is DONE without any errors. To get details of the operation, use the get_zone_operation tool.
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Required. Identifier. The instance name. | |
| zone | Yes | Required. The zone of the instance. | |
| project | Yes | Required. Project ID for this request. | |
| machineType | Yes | Required. The machine type of the instance. |
start_instanceTry in Inspector
Starts a Google Compute Engine virtual machine (VM) instance. Requires project, zone, and instance name as input. Proceed only if there is no error in response and the status of the operation is DONE without any errors. To get details of the operation, use the get_zone_operation tool.
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Required. Identifier. The instance name. | |
| zone | Yes | Required. The zone of the instance. | |
| project | Yes | Required. Project ID for this request. |
stop_instanceTry in Inspector
Stops a Google Compute Engine virtual machine (VM) instance. Requires project, zone, and instance name as input. Proceed only if there is no error in response and the status of the operation is DONE without any errors. To get details of the operation, use the get_zone_operation tool.
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Required. Identifier. The instance name. | |
| zone | Yes | Required. The zone of the instance. | |
| project | Yes | Required. Project ID for this request. |