Googleapis

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

Provides read access to your GKE and Kubernetes resources.

已驗證Streamable HTTP可網頁執行雲端與基礎設施開發者工具

概覽

AI 產生的概覽

一個遠端 MCP 伺服器,讓助理像使用 kubectl 一樣檢視和管理 Google Kubernetes Engine 叢集及其 Kubernetes 資源。

可以做什麼
檢視叢集與節點集區:列出、取得、建立和更新 GKE 叢集與節點集區,讀取叢集資訊和版本。查詢 Kubernetes 資源:列出 API 資源、以 YAML 取得資源、查看詳細資料並列出事件。讀取工作負載的日誌和滾動發布狀態。用類似 auth can-i 的工具檢查權限。套用、修補和刪除 Kubernetes 資源。追蹤並取消 GKE 操作。
適用情境
適合在使用 GKE 或 Kubernetes 時,讓助理查詢叢集狀態、資源、事件或日誌,或執行套用清單、修補、刪除等變更,而不必切換到 kubectl。
執行需求
透過 streamable HTTP 連線至 container.googleapis.com 的遠端端點;未宣告任何套件、環境變數或標頭。需要可存取含 GKE 叢集的 Google Cloud 專案,以及該端點要求的驗證。
安裝前請注意
多個工具會改變狀態:建立和更新叢集與節點集區、套用清單、修補和刪除資源、取消操作。建立叢集和節點集區可能產生 Google Cloud 費用。刪除資源或取消操作可能無法復原。登錄描述稱提供唯讀存取,但工具清單包含寫入操作。

安裝

在 SourceWeft 中

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

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

交給代理程式安裝

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

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

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

其他 MCP 客戶端

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

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

工具

23

list_k8s_api_resources

Retrieves the available API groups and resources from a Kubernetes cluster. This is similar to running `kubectl api-resources`.

輸入參數parent必填

check_k8s_auth

Checks whether an action is allowed on a Kubernetes resource. This is similar to running `kubectl auth can-i`.

輸入參數verb必填parent必填resourcenamespaceresourceType必填

describe_k8s_resource

Shows the details of a specific Kubernetes resource. This is similar to running `kubectl describe`.

輸入參數nameparent必填namespaceresourceType必填labelSelector

list_k8s_events

Retrieves events from a Kubernetes cluster. This is similar to running `kubectl events`.

輸入參數namelimitparent必填namespaceresourceTypeallNamespaces

get_k8s_resource

Gets one or more Kubernetes resources from a cluster. Resources can be filtered by type, name, namespace, and label selectors. Returns the resources in YAML format. This is similar to running `kubectl get`.

輸入參數nameparent必填pageSizenamespacepageTokenoutputFormatresourceType必填customColumnsfieldSelectorlabelSelector

get_k8s_cluster_info

Gets cluster endpoint information. This is similar to running `kubectl cluster-info`.

輸入參數parent必填

get_k8s_version

Retrieves Kubernetes client and server versions for a given cluster. This is similar to running `kubectl version`.

輸入參數parent必填

get_k8s_rollout_status

Checks the current rollout status of a Kubernetes resource. This is similar to running `kubectl rollout status`.

輸入參數name必填parent必填namespaceresourceType必填

list_clusters

Lists GKE clusters in a given project and location. Location can be a region, zone, or '-' for all locations.

輸入參數parent必填readMask

create_cluster

Creates a new GKE cluster in a given project and location. It's recommended to read the [GKE documentation](https://docs.cloud.google.com/kubernetes-engine/docs/concepts/configuration-overview) to understand cluster configuration options. Cluster creation will default to Autopilot mode, as recommended by GKE best practices. If the user explicitly wants to create a Standard cluster, you need to set autopilot.enabled=false in the cluster configuration. This is similar to running `gcloud container clusters create-auto` or `gcloud container clusters create`.

輸入參數parent必填cluster必填

update_cluster

Updates a specific GKE cluster.

輸入參數name必填update必填

get_cluster

Gets the details of a specific GKE cluster.

輸入參數name必填readMask

list_operations

Lists GKE operations in a given project and location. Location can be a region, zone, or '-' for all locations.

輸入參數parent必填

get_operation

Gets the details of a specific GKE operation.

輸入參數name必填

cancel_operation

Cancels a specific GKE operation.

輸入參數name必填parent必填

create_node_pool

Creates a node pool for a specific GKE cluster.

輸入參數parent必填nodePool必填

list_node_pools

Lists the node pools for a specific GKE cluster.

輸入參數parent必填

get_node_pool

Gets the details of a specific node pool within a GKE cluster.

輸入參數name必填

update_node_pool

Updates a specific node pool within a GKE cluster.

輸入參數name必填update必填

get_k8s_logs

Gets logs from a Kubernetes container in a pod. This is similar to running `kubectl logs`.

輸入參數name必填tailsinceparent必填previouscontainernamespacesinceTimetimestampsallContainers

apply_k8s_manifest

Applies a Kubernetes manifest to a cluster using server-side apply. This is similar to running `kubectl apply --server-side`.

輸入參數dryRunparent必填yamlManifest必填forceConflicts

delete_k8s_resource

Deletes a Kubernetes resource from a cluster. This is similar to running `kubectl delete`.

輸入參數name必填dryRunparent必填cascadenamespaceresourceType必填

patch_k8s_resource

Patches a Kubernetes resource. This is similar to running `kubectl patch`.

輸入參數name必填patch必填parent必填namespacepatchTyperesourceType必填

版本歷史

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

評分

已滿足適用檢查項的 72%

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

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

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

  • 文件15 分

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

  • 授權條款不適用

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