Basic information
About Google Cloud MCP Server
Integrate Google Cloud with direct access to resources. Securely sign in to Google Drive and more for seamless cloud management.
Google Cloud is a MCP server in the Cloud Infrastructure category listed in the AddMCP.net directory, published by krzko. Supported transport: stdio. Runtime: TypeScript. License: Apache-2.0. The repository has 77 GitHub stars. Source code is hosted on github.com. Related topics: cloud-infrastructure, community, developer-tools, gcp, google.
Setup
{
"mcpServers": {
"google-cloud-mcp": {
"command": "npx",
"args": [
"-y",
"@krzko/google-cloud-mcp"
],
"env": {
"GOOGLE_APPLICATION_CREDENTIALS": "your/service/account/key/or/leave/empty/if/injected",
"GOOGLE_CLIENT_EMAIL": "[email protected]",
"GOOGLE_PRIVATE_KEY": "-----BEGIN PRIVATE KEY-----....-----END PRIVATE KEY-----",
"GOOGLE_CLOUD_PROJECT": "your-gcp-project-id"
}
}
}
}
{
"mcpServers": {
"google-cloud-mcp": {
"command": "npx",
"args": [
"-y",
"@krzko/google-cloud-mcp"
],
"env": {
"GOOGLE_APPLICATION_CREDENTIALS": "your/service/account/key/or/leave/empty/if/injected",
"GOOGLE_CLIENT_EMAIL": "[email protected]",
"GOOGLE_PRIVATE_KEY": "-----BEGIN PRIVATE KEY-----....-----END PRIVATE KEY-----",
"GOOGLE_CLOUD_PROJECT": "your-gcp-project-id"
}
}
}
}
{
"servers": {
"google-cloud-mcp": {
"command": "npx",
"args": [
"-y",
"@krzko/google-cloud-mcp"
],
"env": {
"GOOGLE_APPLICATION_CREDENTIALS": "your/service/account/key/or/leave/empty/if/injected",
"GOOGLE_CLIENT_EMAIL": "[email protected]",
"GOOGLE_PRIVATE_KEY": "-----BEGIN PRIVATE KEY-----....-----END PRIVATE KEY-----",
"GOOGLE_CLOUD_PROJECT": "your-gcp-project-id"
}
}
}
}
Google Cloud MCP Server — by krzko config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"google-cloud-mcp": {
"command": "npx",
"args": [
"-y",
"@krzko/google-cloud-mcp"
],
"env": {
"GOOGLE_APPLICATION_CREDENTIALS": "your/service/account/key/or/leave/empty/if/injected",
"GOOGLE_CLIENT_EMAIL": "[email protected]",
"GOOGLE_PRIVATE_KEY": "-----BEGIN PRIVATE KEY-----....-----END PRIVATE KEY-----",
"GOOGLE_CLOUD_PROJECT": "your-gcp-project-id"
}
}
}
}
Google Cloud MCP Server — by krzko tools
Tool list not available yet
This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is Google Cloud?
A Model Context Protocol server that connects to Google Cloud services to provide context and tools for interacting with your Google Cloud resources. It currently supports Google Cloud Logging, Google Cloud Monitoring, and Google Cloud Spanner.
How to use Google Cloud?
Clone the repository, install dependencies with pnpm install, and build with pnpm build. Authenticate via gcloud auth application-default login, then configure the mcpServers entry in your client with the path to the built index.js and set GOOGLE_APPLICATION_CREDENTIALS or GOOGLE_CLIENT_EMAIL/GOOGLE_PRIVATE_KEY for authentication. Start the server with pnpm start.
Key features of Google Cloud
- Query and filter log entries from Google Cloud Logging
- Execute SQL queries against Spanner databases
- List available databases and tables in Spanner
- Query metrics with custom filters from Google Cloud Monitoring
- Visualise metric data over time from Monitoring
- List available metric types from Monitoring
Use cases of Google Cloud
- Retrieve and analyze logs within specific time ranges from Google Cloud Logging
- Explore database schema and run SQL queries on Cloud Spanner
- Monitor cloud infrastructure by querying metrics and viewing trends
- Diagnose issues by correlating logs and monitoring data
- Automate Google Cloud resource inspection via natural language agent tools
Frequently asked questions
1 How do I authenticate with Google Cloud?
The server supports two methods: set the GOOGLE_APPLICATION_CREDENTIALS environment variable to a service account key file path, or set GOOGLE_CLIENT_EMAIL and GOOGLE_PRIVATE_KEY directly. It can also use GOOGLE_CLOUD_PROJECT if set.
2 What Google Cloud services are supported?
Currently supported: Google Cloud Logging, Google Cloud Monitoring, and Google Cloud Spanner. Services in development include Trace, IAM, Compute, Run, and Storage.
3 Why does the server timeout during initialization with Smithery?
Timeouts may occur due to authentication delays. Enable lazyAuth: true and set debug: true in your configuration to defer authentication until needed. Authentication is still required for operation.
4 What runtime dependencies are needed?
Node.js and pnpm are required to build and run the server. The server uses the Model Context Protocol and Google Cloud client libraries.
5 Can I use environment variables for authentication?
Yes, set GOOGLE_CLIENT_EMAIL and GOOGLE_PRIVATE_KEY environment variables instead of a key file. This is useful in environments where storing a key file is impractical.
Comments
No comments yet
Be the first to share feedback about this listing. Sign in to leave a comment.
Sign In