Skip to main content
Glama

GCP MCP

by henihaddad

create_instance

Provision a new Compute Engine instance in GCP by specifying project, zone, instance name, machine type, source image, boot disk size, network, and IP settings. Returns the creation status.

Instructions

Create a new Compute Engine instance. Args: project_id: The ID of the GCP project zone: The zone to create the instance in (e.g., "us-central1-a") instance_name: The name for the new instance machine_type: The machine type (e.g., "e2-medium") source_image: The source image for the boot disk (e.g., "projects/debian-cloud/global/images/family/debian-11") boot_disk_size_gb: The size of the boot disk in GB (default: 10) network: The network to connect to (default: "default") subnet: The subnetwork to connect to (optional) external_ip: Whether to allocate an external IP (default: True) Returns: Status message indicating whether the instance was created successfully

Input Schema

NameRequiredDescriptionDefault
boot_disk_size_gbNo
external_ipNo
instance_nameYes
machine_typeYes
networkNodefault
project_idYes
source_imageYes
subnetNo
zoneYes

Input Schema (JSON Schema)

{ "properties": { "boot_disk_size_gb": { "default": 10, "title": "Boot Disk Size Gb", "type": "integer" }, "external_ip": { "default": true, "title": "External Ip", "type": "boolean" }, "instance_name": { "title": "Instance Name", "type": "string" }, "machine_type": { "title": "Machine Type", "type": "string" }, "network": { "default": "default", "title": "Network", "type": "string" }, "project_id": { "title": "Project Id", "type": "string" }, "source_image": { "title": "Source Image", "type": "string" }, "subnet": { "default": "", "title": "Subnet", "type": "string" }, "zone": { "title": "Zone", "type": "string" } }, "required": [ "project_id", "zone", "instance_name", "machine_type", "source_image" ], "title": "create_instanceArguments", "type": "object" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/henihaddad/gcp-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server