Documentation Index
Fetch the complete documentation index at: https://docs.civic.com/llms.txt
Use this file to discover all available pages before exploring further.
Overview
The Google Compute Engine MCP server provides full VM lifecycle management plus rich read-only inspection of GCP compute infrastructure. You can create, start, stop, reset, resize, and delete VMs, as well as inspect disks, snapshots, instance templates, managed instance groups, and GPU availability. 25 tools — 6 write, 19 read-only.gcloud CLI, or Terraform.How to Add Google Compute Engine
Enable the Compute Engine API
- Go to the Google Cloud Console
- Select your project (or create one) — you will need the project ID
- Navigate to APIs & Services → Library
- Search for Compute Engine API and click Enable
Add to Civic
What You Can Do
VM Lifecycle
Disk Inspection
GPU Discovery
Template & MIG Inspection
Use Cases
VM Management
- Create:
"Create an e2-micro VM called test-vm in us-central1-a using Debian 12" - List:
"List all VMs in us-central1-a" - Resize:
"Stop VM my-vm, resize it to n2-standard-8, then start it again" - Delete:
"Delete all stopped VMs in us-central1-a" - GPU:
"Create an n1-standard-4 VM with 1 T4 GPU — what maintenance policy should I use?"
Infrastructure Inspection
- Disks:
"Show me all disks in us-central1-a and their sizes" - Snapshots:
"List all snapshots in my project and how much storage they're using" - GPUs:
"What GPUs are available in us-central1-a?" - Templates:
"What does instance template my-template define — show me the full VM config" - MIGs:
"Show me all instances in MIG my-mig and their current status"
Available Tools (25)
VM Lifecycle (6 write tools)
create_instance
create_instance
create_instance — Create a new VM instance. Async — use get_zone_operation to track completion.delete_instance
delete_instance
delete_instance — Delete a VM. Disks with autoDelete: true (the default) are deleted with the VM.start_instance / stop_instance / reset_instance
start_instance / stop_instance / reset_instance
reset_instance is a hard reset, not a graceful reboot.set_instance_machine_type
set_instance_machine_type
set_instance_machine_type — Resize a VM to a different machine type. The VM must be stopped first.VM Inspection
list_instances
list_instances
list_instances — List all VMs in a specific zone. Zone is strictly required — no cross-zone queries.get_instance_basic_info
get_instance_basic_info
get_instance_basic_info — Get details for a single VM including GPU accelerators.list_instance_attached_disks
list_instance_attached_disks
list_instance_attached_disks — List all disks attached to a VM with full attachment metadata.Disks & Snapshots
list_disks / get_disk_basic_info / get_disk_performance_config
list_disks / get_disk_basic_info / get_disk_performance_config
list_snapshots
list_snapshots
list_snapshots — List all disk snapshots in a project. Project-scoped (not zone-scoped).Machine Types & GPUs
list_machine_types
list_machine_types
list_machine_types — List all available machine types in a zone. Returns a very large response (~239KB).list_accelerator_types
list_accelerator_types
list_accelerator_types — List available GPU and TPU types in a zone. Availability varies significantly by zone.list_images
list_images
list_images — List available VM images in an image project (Debian, CentOS, etc.).Templates & MIGs
list_instance_templates / get_instance_template_basic_info / get_instance_template_properties
list_instance_templates / get_instance_template_basic_info / get_instance_template_properties
list_instance_group_managers / get_instance_group_manager_basic_info / list_managed_instances
list_instance_group_managers / get_instance_group_manager_basic_info / list_managed_instances
Operations & Capacity
get_zone_operation
get_zone_operation
get_zone_operation — Track status of async operations. Always check the error field, not just status.list_reservations / list_commitments
list_reservations / list_commitments
list_instances, list_disks, and MIG tools all require a specific zone. No cross-zone queries.e2 instances — Always specify maintenancePolicy: MIGRATE for e2 instances. The default (TERMINATE) causes creation to fail. GPU instances are the opposite — they require TERMINATE.Always check operation errors — Write operations are async. set_instance_machine_type on a running VM returns DONE with an embedded error — always inspect the error field.
