Skip to main content
Glama

Google Cloud MCP Server

by krzko

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
GOOGLE_PRIVATE_KEYNoYour Google Cloud service account private key (method 2)
GOOGLE_CLIENT_EMAILNoYour Google Cloud service account email (method 2)
GOOGLE_CLOUD_PROJECTNoYour Google Cloud project ID (optional, will attempt to determine from credentials if not set)
GOOGLE_APPLICATION_CREDENTIALSNoPath to your Google Cloud service account key file (method 1)

Schema

Prompts

Interactive templates invoked by user choice

NameDescription
analyse-errorsAnalyse errors in logs over a specified timeframe with optional severity and service filtering
trace-requestTrace a specific request through logs using trace ID
performance-overviewGet a performance overview for services over a specified timeframe
alert-investigationInvestigate a specific alert and analyse related metrics and logs
schema-explanationGet a comprehensive overview of a Cloud Spanner database schema
query-optimisationAnalyse and provide optimisation suggestions for a Cloud Spanner SQL query
data-explorationAnalyse a Cloud Spanner table schema, performance, and data patterns

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Tools

Functions exposed to the LLM to take actions

NameDescription
gcp-logging-query-logs

Query Google Cloud Logs with custom filters. Searches across all payload types (text, JSON, proto) and metadata fields.

gcp-logging-query-time-range

Query Google Cloud Logs within a specific time range. Supports relative times (1h, 2d) and ISO timestamps.

gcp-logging-search-comprehensive

Search across all log fields including textPayload, jsonPayload, protoPayload, labels, HTTP requests, and metadata. Provides maximum context.

gcp-spanner-execute-query-
gcp-spanner-list-tables-
gcp-spanner-list-instances-
gcp-spanner-list-databases-
gcp-spanner-query-natural-language-
gcp-spanner-query-count-
gcp-monitoring-query-metrics-
gcp-monitoring-list-metric-types-
gcp-monitoring-query-natural-language-
gcp-trace-get-trace-
gcp-trace-list-traces-
gcp-trace-find-from-logs-
gcp-trace-query-natural-language-
gcp-iam-get-project-policy

Retrieve the IAM policy for a Google Cloud project

gcp-iam-test-project-permissions

Test which permissions the current caller has on a Google Cloud project

gcp-iam-test-resource-permissions

Test which permissions the current caller has on specific Google Cloud resources

gcp-iam-validate-deployment-permissions

Check if current caller has required permissions for deploying to common GCP services

gcp-iam-list-deployment-services

List all GCP services with pre-defined deployment permission sets

gcp-iam-analyse-permission-gaps

Compare current permissions against required permissions for specific operations and identify gaps

gcp-error-reporting-list-groups-
gcp-error-reporting-get-group-details-
gcp-error-reporting-analyse-trends-
gcp-profiler-list-profiles-
gcp-profiler-analyse-performance-
gcp-profiler-compare-trends-
gcp-billing-list-accounts

List all Google Cloud billing accounts accessible to the user

gcp-billing-get-account-details

Retrieve detailed information about a specific Google Cloud billing account

gcp-billing-list-projects

List all projects associated with a specific Google Cloud billing account

gcp-billing-get-project-info

Retrieve billing configuration and status for a Google Cloud project

gcp-billing-list-services

List all available Google Cloud services for billing and cost analysis

gcp-billing-list-skus

List all SKUs (Stock Keeping Units) and pricing information for a Google Cloud service

gcp-billing-analyse-costs

Perform detailed cost analysis with trends and insights for Google Cloud billing data

gcp-billing-detect-anomalies

Detect unusual cost patterns and spending anomalies in Google Cloud billing data

gcp-billing-cost-recommendations

Generate cost optimisation recommendations with potential savings for Google Cloud billing

gcp-billing-service-breakdown

Get detailed cost breakdown by Google Cloud service with usage and SKU information

gcp-utils-set-project-id

Set the default Google Cloud project ID to use for all operations

gcp-utils-get-project-id

Get the current Google Cloud project ID and recent project history

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/krzko/google-cloud-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server