Google Cloud Compute Engine Google Compute Engine API — Instances

Google Cloud Compute Engine Google Compute Engine API — Instances. 4 operations. Lead operation: Google Cloud Compute Engine List Instances. Self-contained Naftiko capability covering one Google Cloud Compute Engine business surface.

Run with Naftiko Google Cloud Compute EngineInstances

What You Can Do

GET
Listinstances — Google Cloud Compute Engine List Instances
/v1/projects/{project}/zones/{zone}/instances
POST
Insertinstance — Google Cloud Compute Engine Create Instance
/v1/projects/{project}/zones/{zone}/instances
GET
Getinstance — Google Cloud Compute Engine Get Instance
/v1/projects/{project}/zones/{zone}/instances/{instance}
DELETE
Deleteinstance — Google Cloud Compute Engine Delete Instance
/v1/projects/{project}/zones/{zone}/instances/{instance}

MCP Tools

google-cloud-compute-engine-list

Google Cloud Compute Engine List Instances

read-only idempotent
google-cloud-compute-engine-create

Google Cloud Compute Engine Create Instance

google-cloud-compute-engine-get

Google Cloud Compute Engine Get Instance

read-only idempotent
google-cloud-compute-engine-delete

Google Cloud Compute Engine Delete Instance

idempotent

Capability Spec

compute-instances.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Google Cloud Compute Engine Google Compute Engine API — Instances
  description: 'Google Cloud Compute Engine Google Compute Engine API — Instances. 4 operations. Lead operation: Google Cloud
    Compute Engine List Instances. Self-contained Naftiko capability covering one Google Cloud Compute Engine business surface.'
  tags:
  - Google Cloud Compute Engine
  - Instances
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    GOOGLE_CLOUD_COMPUTE_ENGINE_API_KEY: GOOGLE_CLOUD_COMPUTE_ENGINE_API_KEY
capability:
  consumes:
  - type: http
    namespace: compute-instances
    baseUri: https://compute.googleapis.com/compute/v1
    description: Google Cloud Compute Engine Google Compute Engine API — Instances business capability. Self-contained, no
      shared references.
    resources:
    - name: projects-project-zones-zone-instances
      path: /projects/{project}/zones/{zone}/instances
      operations:
      - name: listinstances
        method: GET
        description: Google Cloud Compute Engine List Instances
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: project
          in: path
          type: string
          required: true
        - name: zone
          in: path
          type: string
          required: true
        - name: maxResults
          in: query
          type: integer
        - name: pageToken
          in: query
          type: string
      - name: insertinstance
        method: POST
        description: Google Cloud Compute Engine Create Instance
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: project
          in: path
          type: string
          required: true
        - name: zone
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: projects-project-zones-zone-instances-instance
      path: /projects/{project}/zones/{zone}/instances/{instance}
      operations:
      - name: getinstance
        method: GET
        description: Google Cloud Compute Engine Get Instance
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: project
          in: path
          type: string
          required: true
        - name: zone
          in: path
          type: string
          required: true
        - name: instance
          in: path
          type: string
          required: true
      - name: deleteinstance
        method: DELETE
        description: Google Cloud Compute Engine Delete Instance
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: project
          in: path
          type: string
          required: true
        - name: zone
          in: path
          type: string
          required: true
        - name: instance
          in: path
          type: string
          required: true
    authentication:
      type: bearer
      token: '{{env.GOOGLE_CLOUD_COMPUTE_ENGINE_API_KEY}}'
  exposes:
  - type: rest
    namespace: compute-instances-rest
    port: 8080
    description: REST adapter for Google Cloud Compute Engine Google Compute Engine API — Instances. One Spectral-compliant
      resource per consumed operation, prefixed with /v1.
    resources:
    - path: /v1/projects/{project}/zones/{zone}/instances
      name: projects-project-zones-zone-instances
      description: REST surface for projects-project-zones-zone-instances.
      operations:
      - method: GET
        name: listinstances
        description: Google Cloud Compute Engine List Instances
        call: compute-instances.listinstances
        with:
          project: rest.project
          zone: rest.zone
          maxResults: rest.maxResults
          pageToken: rest.pageToken
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: insertinstance
        description: Google Cloud Compute Engine Create Instance
        call: compute-instances.insertinstance
        with:
          project: rest.project
          zone: rest.zone
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/projects/{project}/zones/{zone}/instances/{instance}
      name: projects-project-zones-zone-instances-instance
      description: REST surface for projects-project-zones-zone-instances-instance.
      operations:
      - method: GET
        name: getinstance
        description: Google Cloud Compute Engine Get Instance
        call: compute-instances.getinstance
        with:
          project: rest.project
          zone: rest.zone
          instance: rest.instance
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deleteinstance
        description: Google Cloud Compute Engine Delete Instance
        call: compute-instances.deleteinstance
        with:
          project: rest.project
          zone: rest.zone
          instance: rest.instance
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: compute-instances-mcp
    port: 9090
    transport: http
    description: MCP adapter for Google Cloud Compute Engine Google Compute Engine API — Instances. One tool per consumed
      operation, routed inline through this capability's consumes block.
    tools:
    - name: google-cloud-compute-engine-list
      description: Google Cloud Compute Engine List Instances
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: compute-instances.listinstances
      with:
        project: tools.project
        zone: tools.zone
        maxResults: tools.maxResults
        pageToken: tools.pageToken
      outputParameters:
      - type: object
        mapping: $.
    - name: google-cloud-compute-engine-create
      description: Google Cloud Compute Engine Create Instance
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: compute-instances.insertinstance
      with:
        project: tools.project
        zone: tools.zone
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: google-cloud-compute-engine-get
      description: Google Cloud Compute Engine Get Instance
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: compute-instances.getinstance
      with:
        project: tools.project
        zone: tools.zone
        instance: tools.instance
      outputParameters:
      - type: object
        mapping: $.
    - name: google-cloud-compute-engine-delete
      description: Google Cloud Compute Engine Delete Instance
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: compute-instances.deleteinstance
      with:
        project: tools.project
        zone: tools.zone
        instance: tools.instance
      outputParameters:
      - type: object
        mapping: $.