Googleapis

com.googleapis.compute由 compute.googleapis.com 發布官方發布者v1.0.0更新於 Oct 26, 2026

Provides capabilities that let LLM agents perform a range of infrastructure management tasks.

已驗證Streamable HTTP可網頁執行雲端與基礎設施安全與監控

概覽

AI 產生的概覽

面向 Google Compute Engine 的遠端 MCP 伺服器,讓助理列出、檢視、建立、啟動、停止、重設和刪除虛擬機,以及磁碟、範本、代管執行個體群組和承諾資源。

可以做什麼
  • 建立、刪除、啟動、停止和重設 VM 執行個體,並可為已停止的執行個體變更機器類型
  • 列出並檢視執行個體、掛接磁碟、機器類型、加速器類型和映像
  • 列出並檢視執行個體範本及其屬性
  • 列出並檢視代管執行個體群組及其中的受管執行個體
  • 列出並檢視磁碟、磁碟效能設定和快照
  • 列出並檢視預留與承諾資源,並查詢區域作業狀態
適用情境
適合讓助理回答 Compute Engine 資源清單與設定問題,或執行啟動、停止、建立執行個體等日常 VM 生命週期操作,而不必開啟雲端控制台。
執行需求
需要連線至 compute.googleapis.com 的遠端 streamable HTTP 端點,不需安裝套件或本機執行環境。需要可存取含 Compute Engine 資源的 Google Cloud 專案,並在每次呼叫時提供專案、區域或地區名稱。清單未宣告任何驗證方式、環境變數或標頭,呼叫端如何取得授權並未說明。
安裝前請注意
多個工具會變更基礎設施:create_instance、delete_instance、start_instance、stop_instance、reset_instance 和 set_instance_machine_type。刪除執行個體和建立 VM 可能造成資料遺失或產生費用,變更機器類型會影響成本。清單未宣告驗證方式,連線前應確認憑證與專案存取權如何處理。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Googleapis,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

交給代理程式安裝

把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。

閱讀 https://sourceweft.com/mcp/com.googleapis.compute%2Fmcp/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。

檢視代理程式所依據的安裝指南

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。

{
  "mcpServers": {
    "googleapis": {
      "type": "http",
      "url": "https://compute.googleapis.com/mcp"
    }
  }
}

工具

29

create_instance

Create Google Compute Engine virtual machine (VM) Instance

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…

輸入參數name必填zone必填project必填imageFamilymachineTypeimageProjectguestAcceleratorsmaintenancePolicy

delete_instance

Delete Google Compute Engine virtual machine (VM) Instance

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必填zone必填project必填

start_instance

Start Google Compute Engine virtual machine (VM) Instance

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必填zone必填project必填

stop_instance

Stop Google Compute Engine virtual machine (VM) instance

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必填zone必填project必填

reset_instance

Reset Google Compute Engine virtual machine (VM) Instance

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必填zone必填project必填

get_instance_basic_info

Get VM Instance Basic Info

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必填zone必填project必填

set_instance_machine_type

Set Machine Type

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必填zone必填project必填machineType必填

list_instance_attached_disks

List Instance Attached Disks

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,…

輸入參數name必填zone必填project必填

list_instances

List VM Instances Basic Info

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.

輸入參數zone必填project必填pageSizepageToken

get_instance_group_manager_basic_info

Get Instance Group Manager Basic Info

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必填zone必填project必填

list_instance_group_managers

List Instance Group Managers Basic Info

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.

輸入參數zone必填project必填pageSizepageToken

list_managed_instances

List Managed Instances

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必填zone必填project必填pageSizepageToken

list_instance_templates

List Instance Templates Basic Info

Lists Compute Engine instance templates. Details for each instance template include name, ID, description, machine type, region, and creation timestamp. Requires project as input.

輸入參數project必填pageSizepageToken

get_instance_template_basic_info

Get Instance Template Basic Info

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必填project必填

get_instance_template_properties

Get Instance Template Properties

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必填project必填

get_disk_basic_info

Get Disk Basic Info

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必填zone必填project必填

get_disk_performance_config

Get Disk Performance Config

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必填zone必填project必填

list_disks

List Disks Basic Info

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.

輸入參數zone必填project必填pageSizepageToken

list_accelerator_types

List Accelerator Types

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.

輸入參數zone必填project必填

list_machine_types

List Machine Types

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.

輸入參數zone必填project必填

list_images

List Images Basic Info

Lists Compute Engine Images. Details for each image include name, ID, status, family, and creation timestamp. Requires project as input.

輸入參數project必填pageSizepageToken

get_zone_operation

Get Zone Operation

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必填zone必填project必填

get_reservation_basic_info

Get Reservation Basic Info

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必填zone必填project必填

get_reservation_details

Get Reservation Details

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…

輸入參數name必填zone必填project必填

list_reservations

List Reservations Basic Info

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.

輸入參數zone必填project必填pageSizepageToken

list_commitments

List Region Commitments Basic Info

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.

輸入參數region必填project必填pageSizepageToken

get_commitment_basic_info

Get Region Commitment Basic Info

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必填region必填project必填

list_commitment_reservations

List Commitment Reservations

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…

輸入參數name必填region必填project必填

list_snapshots

List Snapshots Basic Info

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.

輸入參數project必填pageSizepageToken

版本歷史

1
  1. v1.0.0最新Sep 16, 2026

評分

已滿足適用檢查項的 72%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通必需25 分
  • 已宣告認證方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 圖示10 分

    請在註冊中心條目中發布圖示。

  • 文件15 分

    請宣告包含 README 的 GitHub 儲存庫,或在 OAuth 受保護資源後設資料中提供 resource_documentation。

  • 授權條款不適用

    託管服務按其提供方的條款使用,因此這裡不要求授權條款。此檢查項不計入百分比。