Skip to main content
Glama
longngo192

Google Cloud Docs MCP Server

by longngo192

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Capabilities

Server capabilities have not been inspected yet.

Tools

Functions exposed to the LLM to take actions

NameDescription
fetch_google_cloud_doc

Fetch and extract content from a specific Google Cloud documentation page.

WHEN TO USE: Use this tool when you already know the exact documentation path you need, or when you want to get detailed content from a specific GCP documentation page.

INPUT: Documentation path after cloud.google.com/ (e.g., 'compute/docs/instances/create-start-instance', 'storage/docs/creating-buckets')

OUTPUT: Returns JSON with:

  • title: Page title

  • url: Full URL

  • content: Markdown-formatted documentation content (max 20,000 chars)

  • contentLength: Total content length

  • truncated: Whether content was truncated

COMMON PATHS:

  • Compute: compute/docs/instances/create-start-instance

  • Storage: storage/docs/creating-buckets, storage/docs/encryption

  • BigQuery: bigquery/docs/partitioned-tables, bigquery/docs/clustered-tables

  • Cloud SQL: sql/docs/high-availability, sql/docs/replication

  • GKE: kubernetes-engine/docs/how-to/cluster-autoscaler

  • IAM: iam/docs/understanding-roles, iam/docs/service-accounts

  • VPC: vpc/docs/vpc-peering, vpc/docs/shared-vpc

  • Cloud Run: run/docs/configuring/environment-variables

TIP: If you don't know the exact path, use 'search_google_cloud_docs' first to find relevant documentation.

search_google_cloud_docs

Search Google Cloud documentation with any free-form query. Returns relevant documentation with actual content.

WHEN TO USE: ALWAYS use this tool when the user asks about Google Cloud Platform (GCP) services, configurations, best practices, or how-to questions. This is the PRIMARY tool for GCP-related queries.

TRIGGERS - Use this tool when user asks about:

  • Any GCP service (Compute Engine, Cloud Storage, BigQuery, Cloud SQL, GKE, Cloud Run, IAM, VPC, etc.)

  • Configuration questions ("how to configure...", "how to setup...")

  • Best practices for GCP services

  • Troubleshooting GCP issues

  • Cross-project or cross-account scenarios

  • Security, encryption, permissions in GCP

  • Networking in GCP (VPC, peering, firewall, load balancer)

  • Database configurations (Cloud SQL HA, replicas, backups)

  • Container orchestration (GKE autoscaling, node pools)

  • Serverless (Cloud Run, Cloud Functions environment variables)

INPUT:

  • query (required): Free-form search query in natural language

  • product (optional): Filter by specific GCP product

EXAMPLE QUERIES:

  • "how to share encrypted bucket cross account"

  • "vpc peering between two projects"

  • "cloud sql high availability setup"

  • "gke autoscaling configuration"

  • "bigquery partition table"

  • "cloud run environment variables"

  • "iam service account impersonation"

  • "cloud storage cmek encryption"

  • "gke workload identity"

OUTPUT: Returns JSON with:

  • query: Original search query

  • totalResults: Number of results found

  • results: Array of top 3 docs with full content (title, url, content)

  • otherRelatedDocs: Additional related documentation URLs

SUPPORTED TOPICS (80+ mappings):

  • Storage & Encryption: encrypt, bucket, cmek, kms, customer managed, object storage

  • IAM & Security: iam, role, service account, impersonation, workload identity

  • Networking: vpc, peering, shared vpc, firewall, load balancer, dns, nat, private access

  • Database: cloud sql, high availability, mysql, postgres, replica, failover

  • BigQuery: partition, cluster, materialized view, schedule

  • GKE: gke, autoscaling, node pool, horizontal pod autoscaler, helm

  • Serverless: cloud run, environment variable, cloud function, deploy

  • Container: docker, artifact registry, cloud build

  • Pub/Sub: pubsub, topic, subscription

  • Data Processing: dataflow, dataproc, composer, airflow, spark

  • Monitoring: logging, monitoring, metric, alert, dashboard, trace

  • Infrastructure: terraform, deployment manager, gcloud

list_google_cloud_products

List all available Google Cloud products with their documentation paths.

WHEN TO USE: Use this tool when:

  • User wants to see what GCP services are available

  • User is exploring GCP products

  • You need to find the correct product ID for other tools

  • User asks "what GCP services are there?" or similar

OUTPUT: Returns JSON with:

  • totalProducts: Number of products listed

  • products: Array of products with id, name, docsPath, docsUrl, description

PRODUCTS INCLUDED (20+):

  • Compute: compute, kubernetes, functions, run, appengine

  • Storage: storage, firestore, spanner

  • Database: sql, bigquery

  • AI/ML: ai (Vertex AI), vision, speech, translate

  • Networking: vpc, loadbalancing, cdn, dns

  • Security: iam, kms

  • Messaging: pubsub

  • Monitoring: logging, monitoring

TIP: Use the returned 'docsPath' with 'fetch_google_cloud_doc' to get detailed documentation.

get_api_reference

Get REST API reference documentation for a specific Google Cloud service.

WHEN TO USE: Use this tool when:

  • User needs API endpoints, methods, or parameters

  • User is developing integrations with GCP APIs

  • User asks about REST API for a specific GCP service

  • User needs to know available API resources for a service

INPUT:

  • service (required): GCP service name (compute, storage, bigquery, pubsub, sql, kubernetes, functions, run, iam)

  • resource (optional): Specific API resource (instances, buckets, datasets, topics, etc.)

SUPPORTED SERVICES & RESOURCES:

  • compute: instances, disks, networks, firewalls, images, machineTypes

  • storage: buckets, objects, notifications

  • bigquery: datasets, tables, jobs, routines

  • pubsub: topics, subscriptions, snapshots

  • sql: instances, databases, users, backupRuns

  • kubernetes: clusters, nodePools, operations

  • functions: functions, operations, locations

  • run: services, configurations, routes, revisions

  • iam: roles, serviceAccounts, policies

OUTPUT: Returns JSON with:

  • service: Service name

  • description: Service description

  • apiReferenceUrl: Full URL to API reference

  • availableResources: List of available resources for this service

  • documentation: Actual API documentation content (if available)

EXAMPLE USAGE:

  • Get Compute Engine API overview: service="compute"

  • Get Storage buckets API: service="storage", resource="buckets"

  • Get BigQuery datasets API: service="bigquery", resource="datasets"

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

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/longngo192/gcpdoc-mcp'

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