Skip to content
Development
MCP

gcloud-observability

Accesses Google Cloud's monitoring, logging and tracing services to inspect resource health and performance.

From plugin
claude-codex-settings
1.2k108 skills4 agents5 commands4 MCP

Claude Code

$ claude mcp add gcloud-observability -- npx -y @google-cloud/observability-mcp

Security report

Found

Low risk

  • Known flaws

    None known

  • Signed build

    No

    No build provenance published

  • Maintained

    Nov 9, 2026

    Last push

  • Licence

    Apache-2.0

  • Runs as

    npx

    On your machine

  • Deprecated

    No

Signals from public registries, not an audit. Checked Nov 11, 2026.

gcloud-observability README

Google Cloud Observability MCP Server โ˜๏ธ

This server connects Model Context Protocol (MCP) clients (like the Gemini CLI) to Cloud Observability APIs to search for logs, view metrics, return traces and view error reports. It acts as a local bridge, translating natural language commands from your CLI into the appropriate API calls to help you understand, manage, and troubleshoot your Google Cloud environment.

To learn more about the underlying services, see the official documentation:

๐Ÿš€ Getting Started

For prerequisites and setup instructions, please see the root README.

Authentication

You need to authenticate twice: once for your user account and once for the application itself.

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

# Set up Application Default Credentials for the server.
# This allows the MCP server to securely make Google Cloud API calls on your behalf.
gcloud auth application-default login
Setting the Quota Project

All API requests made by this server require a Google Cloud project for billing and API quota management. This is known as the "quota project". This project will likely already be set in the gcloud CLI. The project selected as the quota project will need to have the APIs you wish to use in Observability enabled or you will see errors when attempting to use their related tools (e.g. you need the Cloud Logging API enabled in the quota project to use the list_log_entries tool).

If you need to control which project is used for quotas, run the following command (https://cloud.google.com/sdk/gcloud/reference/auth/application-default/set-quota-project):

# Set the project to be used for API quotas and billing by ADC
gcloud auth application-default set-quota-project YOUR_QUOTA_PROJECT_ID

This ensures that all API usage from this server is attributed to the correct project.

Usage

Once the server is configured, you can ask your MCP client natural language questions about your Google Cloud environment. Here are a few examples:

  • "Show me all logs with a severity of ERROR."
  • "What is the average CPU utilization for my GCE instances over the last hour?"
  • "List all traces from the past 30 minutes."
  • "Are there any new stack traces in my logs in the last day?"

Your MCP client will translate these questions into the appropriate tool calls to fetch the data from Google Cloud.

Tools Reference

The server exposes the following tools:

ServiceToolDescription
Logginglist_log_entriesLists log entries from a project.
list_log_namesLists log names from a project.
list_bucketsLists log buckets from a project.
list_viewsLists log views from a project.
list_sinksLists log sinks from a project.
list_log_scopesLists log scopes from a project.
Monitoringlist_metric_descriptorsLists metric descriptors for a project.
list_time_seriesLists time series data for a given metric.
list_alert_policiesLists the alert policies in a project.
Tracelist_tracesSearches for traces in a project.
get_traceGets a specific trace in a project.
Error Reportinglist_group_statsLists the error groups for a project.

๐Ÿ“„ Important Notes

This repository is currently in preview and may see breaking changes. This repository provides a solution, not an officially supported Google product. It is not covered under Google Cloud Terms of Service. It may break when the MCP specification, other SDKs, or when other solutions and products change. See also our Security Policy.

๐Ÿ‘ฅ Contributing

Please read our Contributing Guide to get started.

๐Ÿ“ License

This project is licensed under the Apache 2.0 License - see the LICENSE file for details.

@fcakyon
Ships withclaude-codex-settings

Battle-tested Claude Code, OpenAI Codex, Cursor configs, plugins, hooks and agents with Kimi, MiniMax and GLM API support.

1.2k108 skills4 agents4 MCP
Get the whole plugin

Stars on GitHub

Momentum

stars in total
1.2k
Star history of fcakyon/claude-codex-settings on GitHub, a chart by star-history.com

More MCP servers from other plugins.

chrome-devtools
Auto-invoked

chrome-devtools

MCP

Connects to Chrome over the DevTools Protocol to inspect the DOM, network requests and console output.

ecc12d293k
@affaan-m@affaan-mInstall MCP
supabase

supabase

MCP

Queries a Supabase project: Postgres tables, auth users, storage and edge functions.

supabase10d114k
@supabase@supabaseInstall MCP

Questions about gcloud-observability.

Which coding agents can use gcloud-observability?
gcloud-observability works in any agent that reads an MCP config file: Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf. Each agent reads it from its own file; this page names the file for each one.
How do I add gcloud-observability to Claude Code?
Run this in your terminal: claude mcp add gcloud-observability -- npx -y @google-cloud/observability-mcp
Is gcloud-observability safe to install?
Low risk. Signals from public registries, not an audit.