Google Cloud MCP Server logo

Google Cloud MCP Server

by krzko

A Model Context Protocol server that connects to Google Cloud services to provide context and tools for interacting with your Google Cloud resources. It supports services like Logging, Monitoring, and Spanner, with more in development.

View on GitHub

Last updated: N/A

What is Google Cloud MCP Server?

The Google Cloud MCP Server is a Model Context Protocol server designed to facilitate interaction with Google Cloud services. It provides a unified interface for querying, analyzing, and managing various Google Cloud resources.

How to use Google Cloud MCP Server?

To use the server, clone the repository, install dependencies, and build the project. Configure authentication using either a service account key file or environment variables. Then, configure the mcpServers in your client to point to the server's executable.

Key features of Google Cloud MCP Server

  • Query and filter logs from Google Cloud Logging

  • Interact with Google Cloud Spanner databases

  • Retrieve and analyze metrics from Google Cloud Monitoring

  • Analyze distributed traces from Google Cloud Trace (in development)

Use cases of Google Cloud MCP Server

  • Troubleshooting application issues by querying logs

  • Monitoring application performance using metrics

  • Managing and querying data in Spanner databases

  • Analyzing distributed traces to identify performance bottlenecks (in development)

FAQ from Google Cloud MCP Server

What authentication methods are supported?

The server supports authentication using a service account key file (recommended) or environment variables.

How do I resolve server timeout issues?

Enable debug logging, ensure lazy authentication is enabled, and verify the accessibility and validity of your credentials file.

What services are currently supported?

Currently supported services include Google Cloud Logging, Google Cloud Monitoring, and Google Cloud Spanner. More services are in development.

How do I start the server in development mode?

Use the command npx -y @modelcontextprotocol/inspector node dist/index.js to start the server with the inspector.

Can I use this server with Smithery?

Yes, this server is designed to be used with Smithery. However, Smithery local server support is currently in development and may not yet be available.