Skip to main content
Glama

GCP MCP Server

MCP server for Google Cloud Platform services. Enables Claude to interact with Secret Manager, Cloud Build, Cloud Logging, and Compute Engine.

Prerequisites

  • Bun runtime

  • GCP Application Default Credentials configured:

    gcloud auth application-default login

Related MCP server: MCP GCP DevOps

Installation

Claude Code (Marketplace)

claude mcp add gcp-mcp

Manual

git clone https://github.com/ojowwalker77/gcp-mcp.git
cd gcp-mcp
bun install

Add to Claude Desktop config (~/.claude/claude_desktop_config.json):

{
  "mcpServers": {
    "gcp": {
      "command": "bun",
      "args": ["run", "/path/to/gcp-mcp/src/index.ts"]
    }
  }
}

Tools (20 total)

Authentication

Tool

Description

gcp_get_project

Get current project from ADC

Secret Manager

Tool

Description

secrets_list

List all secrets

secrets_get

Get secret metadata and versions

secrets_access

Access secret value

secrets_create

Create new secret

secrets_delete

Delete secret

Cloud Build

Tool

Description

builds_list

List builds

builds_get

Get build details

builds_cancel

Cancel running build

builds_retry

Retry failed build

Build Triggers

Tool

Description

triggers_list

List triggers

triggers_get

Get trigger details

triggers_run

Run trigger manually

Cloud Logging

Tool

Description

logs_query

Query log entries

logs_tail

Get recent logs

Compute Engine

Tool

Description

compute_list_instances

List instances in zone

compute_get_instance

Get instance details

compute_start_instance

Start instance

compute_stop_instance

Stop instance

compute_list_zones

List available zones

Usage Examples

# List secrets
secrets_list

# Access a secret value
secrets_access secretId="my-api-key"

# Query Cloud Build logs
logs_query filter="resource.type=\"cloud_run_revision\""

# List running builds
builds_list filter="status=WORKING"

# Stop a VM
compute_stop_instance zone="us-central1-a" instance="my-vm"

Required GCP Permissions

The ADC credentials need appropriate IAM roles:

  • Secret Manager: roles/secretmanager.admin or roles/secretmanager.viewer

  • Cloud Build: roles/cloudbuild.builds.editor

  • Cloud Logging: roles/logging.viewer

  • Compute Engine: roles/compute.instanceAdmin.v1

License

MIT

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      B
      quality
      D
      maintenance
      Enables managing Google Cloud Platform resources through natural language commands in Claude Desktop, supporting comprehensive operations across compute, storage, databases, networking, monitoring, and IAM without manual credential setup.
      56
      20
      -
    • F
      license
      Not graded
      quality
      D
      maintenance
      Enables managing Google Cloud Platform infrastructure through natural language, including VM deployment, SSH key management, remote command execution, and Terraform infrastructure-as-code operations.
      2
      -
    • A
      license
      Not graded
      quality
      Not graded
      maintenance
      Enables Claude to interact with Google Workspace services including Gmail, Drive, Sheets, Docs, and Calendar. Provides comprehensive tools for reading, creating, and managing emails, files, spreadsheets, documents, and calendar events with built-in safety controls and audit logging.
      -
    • A
      license
      B
      quality
      Not graded
      maintenance
      Enables AI assistants to interact with and manage Google Cloud Platform resources including Artifact Registry, BigQuery, Cloud Build, Compute Engine, Cloud Run, Cloud Storage, and monitoring services through a standardized MCP interface.
      1
      MIT