Logo von Gemini Cloud Assist

Gemini Cloud Assist

Organisation
GoogleCloudPlatform

An MCP Server for Gemini Cloud Assist; provides tools to assist with your tasks on GCP

HerausgeberGoogleCloudPlatform
Repositorygemini-cloud-assist-mcp
Forks
20
Sterne
67
Verfügbare Tools
4
Transporttypstdio
Kategorien
LizenzApache-2.0
Links
  • Tools mit KI-Workflows verbinden

    Gemini Cloud Assist stellt MCP-Funktionen bereit, die kompatible KI-Clients und Agenten nutzen können.

  • 4 verfügbare Tools

    Sehen Sie sich unten die aufrufbaren Aktionen an, einschließlich Namen und Beschreibungen, sofern der Server diese bereitstellt.

  • Konfiguration zum Kopieren

    Nutzen Sie die Installationsbeispiele, um diesen Server in Ihrem bevorzugten MCP-Client zu konfigurieren.

  • Open-Source-Kennzahlen

    67 Sterne und 20 Forks im verlinkten Repository.

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.

[!WARNING] Deprecation Notice & Migration to Remote MCP Server

The Gemini Cloud Assist MCP server has migrated from a local Node.js architecture to a Remote MCP Server architecture. The older local Node.js server will lose support in the coming months.

To use the new Remote MCP Servers, please use version v0.8.0 or later. If you wish to continue using the legacy local server during the transition, please pin your configuration to older versions.

npm @google-cloud/gemini-cloud-assist-mcp package

This server connects Model Context Protocol (MCP) clients to the Gemini Cloud Assist APIs. It allows you to use natural language to understand, manage, and troubleshoot your Google Cloud environment directly from the local command line.

[!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.

To learn more about Gemini Cloud Assist, see the Gemini Cloud Assist overview in the Google Cloud documentation.

✨ Key features

  • Design infrastructure: Create and architect infrastructure configurations for Google Cloud.
  • Troubleshoot issues: Run deep investigations to find the root cause of complex issues in your Google Cloud environment.
  • Manage resources: Create, update, and delete Google Cloud resources directly from your chat workflow (requires Agent Actions).
  • Optimize costs: Analyze your spend, track costs, and identify opportunities for efficiency such as idle resources.
  • Get general assistance: Ask questions and get guidance on Google Cloud best practices, architectures, and operations.

Quick start

Before you begin, ensure you have the following set up:

  • Google Cloud SDK installed and configured.
  • A Google Cloud project.
  • The following IAM roles on your user account:
    • roles/serviceusage.serviceUsageAdmin: Required to enable the Cloud Assist APIs.
    • roles/geminicloudassist.user: Required to make requests to the Cloud Assist APIs.

Step 1: Authenticate to Google Cloud

The Gemini Cloud Assist MCP server uses local Application Default Credentials (ADC) to securely authenticate to Google Cloud. To set up ADC, run the following gcloud commands:

shell
# Authenticate your user account to the gcloud CLI
gcloud auth login

# Set up Application Default Credentials for the server.
gcloud auth application-default login

Configure your MCP client

The client-agent configuration depends on which agent you are using.

Antigravity

Add the following to your mcp_config.json:

json
"mcpServers": {
  "gemini_cloud_assist": {
    "serverUrl": "https://geminicloudassist.googleapis.com/mcp",
    "headers": {},
    "authProviderType": "google_credentials"
  },
  "application_design_center": {
    "serverUrl": "https://designcenter.googleapis.com/mcp",
    "headers": {},
    "authProviderType": "google_credentials"
  }
}

Cursor

  1. In your Google Cloud project, create an OAuth 2.0 client ID for a desktop app.
  2. Configure URI://anysphere.cursor-mcp/oauth/callback as the redirect URL.
  3. Add or merge the following configuration block:
json
{
  "mcpServers": {
    "gemini_cloud_assist": {
      "url": "https://geminicloudassist.googleapis.com/mcp",
      "auth": {
        "CLIENT_ID": "${env:OAUTH_CLIENT_ID}",
        "CLIENT_SECRET": "${env:OAUTH_CLIENT_SECRET}",
        "scopes": ["https://www.googleapis.com/auth/cloud-platform"]
      }
    },
    "application_design_center": {
      "url": "https://designcenter.googleapis.com/mcp",
      "auth": {
        "CLIENT_ID": "${env:OAUTH_CLIENT_ID}",
        "CLIENT_SECRET": "${env:OAUTH_CLIENT_SECRET}",
        "scopes": ["https://www.googleapis.com/auth/cloud-platform"]
      }
    }
  }
}

Claude

Follow the configuration instructions for your specific application:

MCP Tools

Gemini Cloud Assist MCP tools

Gemini Cloud Assist is an agent accessible through a set of MCP tools. The agent invoked by MCP tool calls makes its own tool calls internally to Google Cloud. The following MCP tools are published for agents to consume:

ToolDescription
ask_cloud_assistThe primary interface for Google Cloud assistance and for the Gemini Cloud Assist agent. All functionality is accessible through this tool.
design_infraSupports workflows for designing and architecting infrastructure on Google Cloud.
investigate_issueSupports workflows for troubleshooting in Google Cloud. Can do quick troubleshooting or deeper troubleshooting through an Investigation resource.
invoke_operationSupports workflows for creating, updating, and deleting resources in Google Cloud. Only functional when Agent Actions are enabled.
optimize_costsSupports workflows for analyzing, tracking, and optimizing Google Cloud costs. Provides breakdowns of spend and identifies opportunities for cost efficiency.

Application Design Center MCP tools

Application Design Center MCP tools, often orchestrated by GCA’s design_infra tool, manages the infrastructure application lifecycle using Application Design Center, including template management, security compliance and remediation and deployment.

ToolDescription
setup_adcInitializes the Application Design Center environment. This is a one-time setup step that must be performed before other ADC tools can be used.
manage_applicationManages the deployment lifecycle of an application. Use this tool to deploy a verified design using the Application Design Center or retrieve the status and details of an existing deployment. This is the final step that turns your design into a deployed infrastructure on Google Cloud.
manage_application_templateManages the Infrastructure as Code (IaC) content of your infrastructure design. Use this to save the design as an Application Design Center template, export the design as Terraform files, or update the design (e.g. component, parameters configurations etc).
assess_best_practicesPerforms a comprehensive security and configuration audit on your application design before deployment. It validates the design against Security Command Center frameworks and relevant controls, returning a report with actionable findings for remediation.
list_application_templatesLists all available application designs.

Note: These tools should not be treated as stable APIs. Parameters might be renamed or modified to account for the evolving capabilities of Gemini Cloud Assist.

Agent Skills

The Gemini Cloud Assist MCP tools leverage SKILL.md files to instruct your agent on how to properly use the tools. The skills help to guide your agent on chaining together multiple tools into a workstream, passing relevant local information to Gemini Cloud Assist, and enabling explicit invocation.

SkillDescription
designing-and-deploying-infrastructureGuides the agent on how to design, assess, deploy, and troubleshoot cloud infrastructure using the Application Design Center (ADC) and Gemini Cloud Assist tools.
operating-google-cloudProvides instructions for managing Google Cloud Platform (GCP) resources and Kubernetes using specialized MCP tools.

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.

Installation

TypingMind
Voraussetzungen:

Node.js 18+

{
  "mcpServers": {
    "gemini-cloud-assist": {
      "command": "npx",
      "args": [
        "-y",
        "@google-cloud/gemini-cloud-assist-mcp"
      ]
    }
  }
}

Verfügbare Tools

  • fetch_investigation

    /**

    • Fetches Gemini Cloud Assist Investigations.
    • This function serves as a versatile entry point for retrieving investigation data.
    • It can operate in two modes:
      1. List Mode: If only a projectId is provided, it will list all
    • troubleshooting investigations associated with that project. It can be
      
    • optionally filtered by title using the filter_expression parameter. If the user indicates to fetch more pages, use the next_page_token parameter.
      
      1. Get Mode: If an investigationId is also provided, it will fetch the
    • detailed report for that specific investigation. If a revisionId is
      
    • also provided, it fetches that particular revision; otherwise, it
      
    • retrieves the latest version.
      

    */

  • create_investigation

    /**

    • Creates a new Gemini Cloud Assist Investigation. This tool is the primary entry point for initiating any new troubleshooting analysis.
    • Prerequisites:
    • Argument Resolution: Before invoking this tool, you MUST resolve all user-provided information into the specific formats required by the arguments.
    • Resource URI Mandate: The 'relevant_resources' parameter requires a list of full Google Cloud Platform (GCP) resource URIs.
      • Format: Each URI MUST strictly adhere to the format: //.googleapis.com/.
      • Validation: The tool will fail if the provided strings are not well-formed URIs in this exact format.
      • Resolution: You are responsible for converting any partial, ambiguous, or incomplete resource names (e.g., "my GKE cluster", "the default nodepool", or "project/zone/resource_type/resource_name") into their full URI representation. Utilize available tools like 'gcloud', 'kubectl', or your internal knowledge base to disco
  • run_investigation

    /**

    • Triggers the Gemini analysis, waits for completion, and returns the final report.
    • This is a synchronous, blocking call that runs the full analysis.
    • The tool will not return a response until the investigation is complete.
    • Workflow: This tool MUST be called immediately after
    • 'create_investigation' or 'add_observation'. The string returned by this function is the final,
    • detailed report. There is no need to call any other tool after this to get the
    • results.
    • Interpreting the Output: The output of this tool represents a set of observations & hypotheses based on the data,
    • not a definitive conclusion. NEVER treat the output as a confirmed root cause without further validation.
    • Your job is to analyze the returned hypotheses and use other tools at your disposal to gather evidence that proves or disproves them.
    • @returns {string} A detailed troubleshooting report in a structured string format. The
    •       report is organized wit
      
  • add_observation

    /**

    • Adds a new user observation to an existing investigation.
    • Prerequisites:
    • Argument Resolution: Before invoking this tool, you MUST resolve any new resource names mentioned in the user's observation into the specific formats required by the arguments.
    • Resource URI Mandate: If the user's 'observation' mentions new resources, the 'relevant_resources' parameter requires a list of full Google Cloud Platform (GCP) resource URIs. If no new resources are mentioned, provide an empty list '[]'.
      • Format: Each URI MUST strictly adhere to the format: //.googleapis.com/.
      • Validation: The tool will fail if any provided strings are not well-formed URIs in this exact format.
      • Resolution: You are responsible for converting any partial, ambiguous, or incomplete resource names into their full URI representation. Utilize available tools like 'gcloud', 'kubectl', or your internal knowledge base to discover the complete and accurate

Gemini Cloud Assist MCP mit mehreren KI-Modellen nutzen

TypingMind bindet MCP-Tools auf Arbeitsbereichsebene ein. Sobald Gemini Cloud Assist verbunden ist, können Sie die Integration mit verschiedenen KI-Modellen in TypingMind verwenden, statt sie für jedes Modell separat einzurichten. Diese MCP-Integration läuft lokal über den TypingMind-MCP-Konnektor auf Ihrem Gerät.

Einrichtungsanleitung für den lokalen Konnektor

Nutzen Sie diese Option, wenn der MCP-Server Zugriff auf lokale Dateien, Apps oder private Ressourcen auf Ihrem Computer benötigt.

1

MCP-Einstellungen öffnen

Gehen Sie in TypingMind zu „Einstellungen“, „Erweiterte Einstellungen“ und dann „Model Context Protocol“ und wählen Sie „Konnektor-Setup“.

  1. Öffnen Sie TypingMind in Ihrem Browser.
  2. Klicken Sie auf das Symbol „Optionen“.
  3. Gehen Sie zu „Erweiterte Einstellungen“.
  4. Öffnen Sie den Abschnitt „Model Context Protocol“.
  5. Klicken Sie auf „Konnektor-Setup“ und wählen Sie „Dieses Gerät“.
Einrichtungsbildschirm des TypingMind-MCP-Konnektors mit ausgewählter Option „Dieses Gerät“
2

Konnektor-Befehl ausführen

Wählen Sie „Dieses Gerät“, kopieren Sie den Befehl aus TypingMind und führen Sie ihn im Terminal aus. Lassen Sie den Prozess laufen, solange Sie MCP verwenden.

  1. Kopieren Sie den in TypingMind angezeigten Einrichtungsbefehl.
  2. Öffnen Sie unter macOS Terminal bzw. unter Windows Windows Terminal.
  3. Fügen Sie den Befehl ein und führen Sie ihn aus.
  4. Bestätigen Sie die Paketinstallation, wenn Sie im Terminal zum Fortfahren aufgefordert werden.
  5. Lassen Sie das Terminalfenster geöffnet und den Prozess darin laufen, solange Sie MCP-Tools verwenden.
3

Gemini Cloud Assist als Server hinzufügen

Wenn der Konnektorstatus „Bereit“ anzeigt, klicken Sie auf „Server ändern“ und fügen Sie die MCP-Server-Konfiguration ein.

  1. Warten Sie, bis der Konnektorstatus „Bereit“ anzeigt.
  2. Klicken Sie auf „Server ändern“.
  3. Fügen Sie die MCP-Server-Konfiguration für Gemini Cloud Assist ein.
  4. Speichern Sie die Serverliste.
  5. Aktualisieren Sie die Ansicht, um bei Bedarf zu prüfen, ob der Konnektor weiterhin bereit ist.
MCP-Einstellungen in TypingMind mit aktivem Server und der Schaltfläche „Server ändern“
{
  "mcpServers": {
    "gemini-cloud-assist": {
      "command": "npx",
      "args": [
        "-y",
        "@google-cloud/gemini-cloud-assist-mcp"
      ]
    }
  }
}
4

Verbindung modellübergreifend nutzen

Speichern Sie die Serverliste, öffnen Sie „Plugins“ und aktivieren Sie die MCP-Tools von Gemini Cloud Assist. Wählen Sie dann ein beliebiges unterstütztes KI-Modell in TypingMind und verwenden Sie die Tools im Chat oder weisen Sie sie einem KI-Agenten zu.

  1. Öffnen Sie die Seite „Plugins“ in TypingMind.
  2. Aktivieren Sie die MCP-Tools von Gemini Cloud Assist.
  3. Starten Sie einen Chat und wählen Sie das KI-Modell, das Sie verwenden möchten.
  4. Nutzen Sie die MCP-Tools im Chat oder weisen Sie sie einem KI-Agenten zu.
  5. Wechseln Sie bei Bedarf zu einem anderen KI-Modell, ohne die MCP-Verbindung erneut herzustellen.
TypingMind-Chat mit aktivierten MCP-Tools und einem ausgewählten KI-Modell
Können Sie mir mit Gemini Cloud Assist bei dieser Aufgabe helfen?
Gemini Cloud Assist
Gerne. Ich habe es gelesen.
Das habe ich mit Gemini Cloud Assist gefunden.

Häufig gestellte Fragen

Wofür wird der MCP-Server Gemini Cloud Assist verwendet?

Gemini Cloud Assist ist ein MCP-Server, über den kompatible KI-Clients auf externe Tools und Kontext zugreifen können. In TypingMind können Sie diesen MCP-Server einmal hinzufügen und seine Tools in Ihrem KI-Arbeitsbereich verfügbar machen.

Kann ich Gemini Cloud Assist MCP mit mehreren KI-Modellen in TypingMind verwenden?

Ja. TypingMind bindet MCP-Tools auf Arbeitsbereichsebene ein. So können Sie Gemini Cloud Assist mit verschiedenen KI-Modellen wie Claude, ChatGPT, Gemini oder anderen in TypingMind konfigurierten Modellen verwenden, ohne den MCP-Server für jedes Modell separat einzurichten.

Warum Gemini Cloud Assist MCP mit TypingMind nutzen?

TypingMind ist eine der besten Oberflächen für LLM-Chats, da es mehrere KI-Modelle, Prompts, Plugins, KI-Agenten, API-Schlüssel und MCP-Tools in einem Arbeitsbereich vereint. Sobald Gemini Cloud Assist verbunden ist, können Sie die zugehörigen MCP-Tools mit Ihren bevorzugten Modellen nutzen und Ihre Chat-Abläufe in TypingMind übersichtlich organisieren.

Wie verbinde ich Gemini Cloud Assist MCP mit TypingMind?

Gemini Cloud Assist wird über den lokalen MCP-Konnektor von TypingMind angebunden. Das ist die beste Wahl, wenn der MCP-Server auf lokale Dateien, Desktop-Apps, Befehlszeilentools oder private Ressourcen auf Ihrem Computer zugreifen muss.

Welche Tools stellt Gemini Cloud Assist MCP in TypingMind bereit?

Gemini Cloud Assist stellt 4 MCP-Tools bereit, die Sie auf der Plugins-Seite in TypingMind aktivieren und im Chat verwenden oder KI-Agenten zuweisen können.

Muss ich meine API-Schlüssel mit TypingMind teilen, um Gemini Cloud Assist MCP zu verwenden?

Nein. TypingMind arbeitet vorrangig lokal, sodass Sie die Kontrolle über Ihre Modellanbieter, API-Schlüssel, Prompts und MCP-Konfiguration behalten. Falls Gemini Cloud Assist eine Authentifizierung erfordert, fügen Sie beim Erstellen der Verbindung die erforderlichen Header, OAuth-Einstellungen oder die lokale Konfiguration für diesen MCP-Server hinzu.

Ähnliche MCP-Server

Alle

Jetzt eigenen KI-Arbeitsbereich einrichten

Abonnieren Sie unseren Newsletter und erfahren Sie mehr über neue Funktionen und kommende Gewinnspiele 👇