Gemini Cloud Assist

ทางการ

MCP Server

คุณทำอะไรได้บ้างด้วย Gemini Cloud Assist MCP?

  • Troubleshoot incidents — Ask the assistant to investigate incidents and find root causes using your live Google Cloud resources, logs, metrics, billing, and policies.
  • Review rollouts — Have the assistant check rollouts for readiness and monitor them.
  • Design and review infrastructure — Request Terraform, Kubernetes, and Helm design or review, with changes written as reviewable file edits.
  • Optimize costs — Ask for cost optimization guidance grounded in your project's billing data.
  • Continue a session — Follow-up calls to ask_cloud_operator return a contextId that continues the same session.
  • Browse past sessions — List your Cloud Operator sessions in a project with search_operator_sessions, or fetch one by contextId with fetch_operator_session.

เอกสาร

Gemini Cloud Assist MCP server

[!IMPORTANT] Private Preview Notice The Gemini Cloud Assist MCP server APIs are currently in Private Preview and are behind an allowlist. Please contact your Google Cloud account team to request access.

This repository connects AI coding agents to Cloud Operator, the operator agent of Gemini Cloud Assist. Cloud Operator sees your live Google Cloud resources, logs, metrics, billing and policies, and helps you:

  • Troubleshoot incidents and find root causes.
  • Review rollouts for readiness and monitor them.
  • Design and review infrastructure: Terraform, Kubernetes and Helm, with changes written as reviewable file edits.
  • Optimize costs.
  • Answer how-to questions, grounded in the Google Cloud documentation.

[!NOTE] The Google Cloud Platform Terms of Service (available at https://cloud.google.com/terms/) and the Data Processing and Security Terms (available at https://cloud.google.com/terms/data-processing-terms) do not apply to any component of the Gemini Cloud Assist MCP Server software.

How it works

The cloud-operator plugin adds Cloud Operator to your agent. It installs:

  • the cloud-operator skill, which tells your agent when to hand Google Cloud work to Cloud Operator and how to send it the context it needs;
  • the setup skill, which finds or creates your operator agent, checks that it answers and remembers its project;
  • the share-context skill, which shares the Google Cloud context you and your team already have with the operator's memory, after you review it;
  • the autocloud MCP server (https://geminicloudassist.googleapis.com/mcp/autocloud), signed in with your Google credentials (Application Default Credentials).

Install

Follow the installation guide: it takes you through the prerequisites, removing an earlier install, installing the plugin in your agent, and your first call.

The plugin works in:

  • Claude Code
  • Codex
  • Antigravity
  • Gemini CLI
  • OpenCode
  • Pi

MCP tools

The /mcp/autocloud endpoint serves these Cloud Operator tools:

ToolDescription
ask_cloud_operatorHands Google Cloud work to the Cloud Operator agent: incident and root-cause investigation, rollout review, cost optimization, Terraform review and generation, and how-to answers. Returns a contextId that continues the session on follow-up calls.
search_operator_sessionsLists your Cloud Operator sessions in a project.
fetch_operator_sessionFetches a Cloud Operator session by its contextId, including its turns.

Note: These tools should not be treated as stable APIs. Parameters might be renamed or modified as Gemini Cloud Assist evolves.

Contributing

License

This project is licensed under the Apache 2.0 License and provided as-is, without warranty or representation for any use or purpose. For details, see the LICENSE file.