The Cloud Monitoring managed MCP extension allows users to interact with the Cloud Monitoring API via natural language commands.
Google and Google Cloud managed MCP servers can be used in your AI applications with enterprise-ready governance, security, and access control.
-
In the Google Cloud console, on the project selector page, select or create a Google Cloud project.
Note: If you don't plan to keep the resources that you create in this procedure, create a project instead of selecting an existing project. After you finish these steps, you can delete the project, removing all resources associated with the project.
-
Get your administrator to grant you the MCP Tool User role (
roles/mcp.toolUser) on the Google Cloud project. If you created a new project, then you already have the required permissions. -
Ensure your administrator has enabled the Cloud Monitoring API on the Google Cloud project.
This extension uses Google Application Default Credentials (ADC) to perform authentication. To login with ADC, run the following command in your terminal:
gcloud auth application-default loginFor additional details, see the ADC documentation.
To install the extension, run the following command in your terminal:
gemini extensions install https://github.com/gemini-cli-extensions/cloud-monitoringTo see a complete list of available tools and their schemas, see the Cloud Monitoring MCP reference.
MCP introduces new security risks and considerations due to the wide variety of actions that you can take with MCP tools. To minimize and manage these risks, Google Cloud offers defaults and customizable policies to control the use of MCP tools in your Google Cloud organization or project.
For more information about MCP security and governance, see AI security and safety.
The Cloud Monitoring MCP server doesn't have its own quotas. There is no limit on the number of call that can be made to the MCP server. You are still subject to the quotas enforced by the APIs called by the MCP server tools.
- Explore the Cloud Monitoring remote MCP server reference documentation, which includes a list of all available tools, and the full input and output schema for each tool.
- See the Cloud Monitoring overview.
- Learn about MCP security and governance.