Google Cloud VPC · Capability

Google Cloud VPC API — Networks

Google Cloud VPC API — Networks. 4 operations. Lead operation: Google Cloud VPC List VPC networks. Self-contained Naftiko capability covering one Google Cloud Vpc business surface.

Run with Naftiko Google Cloud VpcNetworks

What You Can Do

GET
Listnetworks — Google Cloud VPC List VPC networks
/v1/projects/{project}/global/networks
POST
Createnetwork — Google Cloud VPC Create a VPC network
/v1/projects/{project}/global/networks
GET
Getnetwork — Google Cloud VPC Get a VPC network
/v1/projects/{project}/global/networks/{network}
DELETE
Deletenetwork — Google Cloud VPC Delete a VPC network
/v1/projects/{project}/global/networks/{network}

MCP Tools

google-cloud-vpc-list-vpc

Google Cloud VPC List VPC networks

read-only idempotent
google-cloud-vpc-create-vpc

Google Cloud VPC Create a VPC network

google-cloud-vpc-get-vpc

Google Cloud VPC Get a VPC network

read-only idempotent
google-cloud-vpc-delete-vpc

Google Cloud VPC Delete a VPC network

idempotent

Capability Spec

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