gcp
MCP server for Google Cloud Platform - Complete GCP services integration for GenAI
claude mcp add --transport stdio lokimcpuniverse-gcp-mcp-server python -m gcp_mcp.server \ --env GCP_REGION="us-central1" \ --env GCP_PROJECT_ID="your-project-id" \ --env GOOGLE_APPLICATION_CREDENTIALS="/path/to/service-account-key.json"
How to use
This MCP server provides a bridge between GenAI applications and Google Cloud Platform (GCP) services. It exposes a suite of tools that allow you to manage GCP resources from an MCP-enabled assistant, including Compute Engine (VMs), Cloud Storage, Cloud Functions, BigQuery, Cloud SQL, GKE, Cloud Run, Pub/Sub, IAM, Cloud Build, Vertex AI, and monitoring/logging capabilities. You can invoke these tools via MCP tool payloads (JSON objects) that specify the tool name and its arguments. The server handles authentication through various methods (service account keys, ADC, OAuth, and more), and supports multi-project contexts for orchestration across environments.
How to install
Prerequisites:
- Python 3.8+ installed on your machine
- pip (Python package installer) available
- Access to a GCP service account key if not using ADC
Installation steps:
- Install the MCP server package from PyPI:
pip install gcp-mcp-server - (Optional) Install from source if you prefer the development version:
git clone https://github.com/LokiMCPUniverse/gcp-mcp-server.git cd gcp-mcp-server pip install -e . - Verify installation by importing in Python (quick sanity check):
python -c "from gcp_mcp import GCPMCPServer; print(GCPMCPServer)" - Configure your environment variables as needed (see the mcp_config for defaults) and prepare credentials as described in the README (GOOGLE_APPLICATION_CREDENTIALS or ADC).
Additional notes
Notes and tips:
- Use a dedicated service account with the minimum required permissions for the GCP resources you intend to manage.
- When using multiple projects, configure the corresponding project IDs and credentials (GCP_PROD_, GCP_DEV_) as needed.
- If you encounter authentication issues, ensure GOOGLE_APPLICATION_CREDENTIALS points to a valid JSON key file or rely on Application Default Credentials in your environment.
- The MCP server supports a variety of tools; consult the README for specific tool names and required arguments. You can extend or customize tools as needed by your implementation.
- The environment can be adjusted per deployment; avoid exposing sensitive credentials in logs or config payloads.
Related MCP Servers
MCPJungle
Self-hosted MCP Gateway for AI agents
salesforce
MCP server for Salesforce API integration - Complete CRM integration for GenAI applications
rundeck
MCP server for Rundeck - Runbook automation and job scheduling
rancher
MCP server for Rancher - Kubernetes management and deployment platform
freshbooks
MCP server for FreshBooks - Small business accounting software
aws
MCP server for AWS API integration - Comprehensive cloud infrastructure management for GenAI