Google Cloud MCP Server
Google 클라우드 MCP 서버
Google Cloud 리소스와 상호 작용하기 위한 컨텍스트와 도구를 제공하기 위해 Google Cloud 서비스에 연결하는 모델 컨텍스트 프로토콜 서버입니다.
서비스
지원되는 서비스:
[x] Google 클라우드 로깅
[x] Google 클라우드 모니터링
[x] 구글 클라우드 스패너
개발 중인 서버:
[ ] 구글 클라우드 추적
[ ] 구글 IAM
[ ] 구글 클라우드 컴퓨트
[ ] 구글 클라우드 런
[ ] 구글 클라우드 스토리지
Google 클라우드 로깅
Google Cloud Logging에서 로그 항목을 쿼리하고 필터링합니다.
사용자 정의 필터를 사용하여 로그 쿼리
특정 시간 범위 내의 로그 검색
읽을 수 있는 형식으로 로그 항목 형식 지정 및 표시
구글 클라우드 스패너
Google Cloud Spanner 데이터베이스와 상호 작용:
Spanner 데이터베이스에 대해 SQL 쿼리 실행
사용 가능한 데이터베이스 및 테이블 나열
데이터베이스 스키마 탐색
Google 클라우드 모니터링
Google Cloud Monitoring에서 메트릭을 검색하고 분석합니다.
사용자 정의 필터를 사용하여 메트릭 쿼리
시간 경과에 따른 메트릭 데이터 시각화
사용 가능한 메트릭 유형 나열
구글 클라우드 추적
Google Cloud Trace에서 분산된 추적을 분석합니다.
ID로 추적 검색
필터링 옵션을 사용하여 최근 추적 목록 나열
로그와 관련된 추적 찾기
실패한 추적 식별
자연어를 사용하여 추적을 쿼리합니다(예: "지난 1시간 동안 실패한 추적을 보여주세요").
Related MCP server: BigQuery MCP Server
입증
이 서버는 Google Cloud를 통한 두 가지 인증 방법을 지원합니다.
서비스 계정 키 파일 (권장):
GOOGLE_APPLICATION_CREDENTIALS환경 변수를 서비스 계정 키 파일 경로로 설정하세요. 이는 표준 Google Cloud 인증 방식입니다.환경 변수 :
GOOGLE_CLIENT_EMAIL및GOOGLE_PRIVATE_KEY환경 변수를 직접 설정합니다. 이는 키 파일을 저장하는 것이 어려운 환경에서 유용합니다.
GOOGLE_CLOUD_PROJECT 환경 변수가 설정된 경우 서버는 이 변수를 사용하고, 그렇지 않은 경우 인증 자격 증명에서 프로젝트 ID를 확인하려고 시도합니다.
설치
지엑스피1
Google Cloud에 인증:
gcloud auth application-default login클라이언트에서 mcpServers 구성하세요.
{
"mcpServers": {
"google-cloud-mcp": {
"command": "node",
"args": [
"/Users/foo/code/google-cloud-mcp/dist/index.js"
],
"env": {
"GOOGLE_APPLICATION_CREDENTIALS": "/Users/foo/.config/gcloud/application_default_credentials.json"
}
}
}
}개발
서버 시작
# Build the project
pnpm build
# Start the server
pnpm start개발 모드
# Build the project
pnpm build
# Start the server and inspector
npx -y @modelcontextprotocol/inspector node dist/index.jsSmithery와 함께 사용(곧)
이 서버는 Smithery와 함께 배포 및 사용할 수 있습니다. 이 서버는 인증 지연 로딩을 구현하여 즉시 시작되고 실제로 필요할 때까지 인증을 지연합니다. 작동에는 여전히 인증이 필요하지만, 이러한 접근 방식은 서버 초기화 중 시간 초과를 방지합니다.
참고: Smithery 로컬 서버 지원은 현재 개발 중이므로 아직 제공되지 않을 수 있습니다.
문제 해결
서버 시간 초과 문제
Smithery로 서버를 실행할 때 시간 초과 문제가 발생하면 다음을 시도해 보세요.
구성에서
debug: true설정하여 디버그 로깅을 활성화하세요.lazyAuth: true실제로 필요할 때까지 인증을 연기하도록 설정되어 있는지 확인하세요.자격 증명 파일이 접근 가능하고 유효한지 확인하세요.
오류 메시지가 있는지 로그를 확인하세요.
중요 : 작동에는 여전히 인증이 필요하지만, 지연 로딩이 활성화되어 있으면 서버가 즉시 시작되고 초기화 중이 아닌 필요할 때 인증됩니다.
인증 문제
서버는 두 가지 인증 방법을 지원합니다.
서비스 계정 키 파일 :
GOOGLE_APPLICATION_CREDENTIALS환경 변수를 서비스 계정 키 파일의 경로로 설정합니다.환경 변수 :
GOOGLE_CLIENT_EMAIL및GOOGLE_PRIVATE_KEY환경 변수 설정
인증 문제가 있는 경우 다음을 확인하세요.
귀하의 서비스 계정에는 필요한 권한이 있습니다.
키 파일이 올바르게 포맷되어 접근 가능합니다.
환경 변수가 올바르게 설정되었습니다
Available Tools
40 toolsgcp-billing-analyse-costsAnalyse Billing CostsC
Perform detailed cost analysis with trends and insights for Google Cloud billing data
Inputs: billingAccountName (required), startDate (required), endDate (required), projectId, +2 more.
gcp-billing-cost-recommendationsGenerate Cost RecommendationsB
Generate cost optimisation recommendations with potential savings for Google Cloud billing
Inputs: billingAccountName (required), projectId, minSavingsAmount, priority.
gcp-billing-detect-anomaliesDetect Cost AnomaliesC
Detect unusual cost patterns and spending anomalies in Google Cloud billing data
Inputs: billingAccountName (required), lookbackDays, thresholdPercentage, projectId.
gcp-billing-get-account-detailsGet Billing Account DetailsA
Retrieve detailed information about a specific Google Cloud billing account
Inputs: billingAccountName (required).
gcp-billing-get-project-infoGet Project Billing InformationA
Retrieve billing configuration and status for a Google Cloud project
Inputs: projectId.
gcp-billing-list-accountsList Billing AccountsA
List all Google Cloud billing accounts accessible to the user
Inputs: pageSize, pageToken, filter.
gcp-billing-list-projectsList Billing Account ProjectsA
List all projects associated with a specific Google Cloud billing account
Inputs: billingAccountName (required), pageSize, pageToken.
gcp-billing-list-servicesList Google Cloud ServicesB
List all available Google Cloud services for billing and cost analysis
Inputs: pageSize, pageToken.
gcp-billing-list-skusList Service SKUsB
List all SKUs (Stock Keeping Units) and pricing information for a Google Cloud service
Inputs: serviceId (required), pageSize, pageToken, currencyCode.
gcp-billing-service-breakdownGet Service Cost BreakdownC
Get detailed cost breakdown by Google Cloud service with usage and SKU information
Inputs: billingAccountName (required), projectId, timeRange.
gcp-error-reporting-analyse-trendsD
Inputs: no named parameters.
gcp-error-reporting-get-group-detailsD
Inputs: no named parameters.
gcp-error-reporting-list-groupsD
Inputs: no named parameters.
gcp-iam-analyse-permission-gapsAnalyse Permission GapsC
Compare current permissions against required permissions for specific operations and identify gaps
Inputs: requiredPermissions (required), project, operationDescription.
gcp-iam-get-project-policyGet Project IAM PolicyB
Retrieve the IAM policy for a Google Cloud project
Inputs: project, requestedPolicyVersion.
gcp-iam-list-deployment-servicesList Available Deployment ServicesB
List all GCP services with pre-defined deployment permission sets
Inputs: no named parameters.
gcp-iam-test-project-permissionsTest Project IAM PermissionsA
Test which permissions the current caller has on a Google Cloud project
Inputs: permissions (required), project.
gcp-iam-test-resource-permissionsTest Resource-Specific IAM PermissionsA
Test which permissions the current caller has on specific Google Cloud resources
Inputs: resource (required), permissions (required).
gcp-iam-validate-deployment-permissionsValidate Deployment PermissionsA
Check if current caller has required permissions for deploying to common GCP services
Inputs: service (required), project, includeOptional.
gcp-logging-query-logsQuery LogsB
Query Google Cloud Logs with custom filters. Searches across all payload types (text, JSON, proto) and metadata fields.
Inputs: filter (required), limit.
gcp-logging-query-time-rangeQuery Logs by Time RangeA
Query Google Cloud Logs within a specific time range. Supports relative times (1h, 2d) and ISO timestamps.
Inputs: startTime (required), endTime, filter, limit.
gcp-logging-search-comprehensiveComprehensive Log SearchC
Search across all log fields including textPayload, jsonPayload, protoPayload, labels, HTTP requests, and metadata. Provides maximum context.
Inputs: searchTerm (required), timeRange, severity, resource, +1 more.
gcp-monitoring-list-metric-typesD
Inputs: filter, pageSize, timeout.
gcp-monitoring-query-metricsD
Inputs: filter (required), startTime (required), endTime, alignmentPeriod.
gcp-monitoring-query-natural-languageD
Inputs: query (required), startTime, endTime, alignmentPeriod.
gcp-profiler-analyse-performanceD
Inputs: no named parameters.
gcp-profiler-compare-trendsD
Inputs: no named parameters.
gcp-profiler-list-profilesD
Inputs: no named parameters.
gcp-spanner-execute-queryD
Inputs: sql (required), instanceId, databaseId, params.
gcp-spanner-list-databasesD
Inputs: instanceId (required).
gcp-spanner-list-instancesD
Inputs: _dummy.
gcp-spanner-list-tablesD
Inputs: instanceId, databaseId.
gcp-spanner-query-countD
Inputs: instanceId, databaseId, queryType, status, +3 more.
gcp-spanner-query-natural-languageD
Inputs: query (required), instanceId, databaseId.
gcp-trace-find-from-logsD
Inputs: filter (required), projectId, limit.
gcp-trace-get-traceD
Inputs: traceId (required), projectId.
gcp-trace-list-tracesD
Inputs: projectId, filter, limit, startTime.
gcp-trace-query-natural-languageD
Inputs: query (required), projectId.
gcp-utils-get-project-idGet Project IDA
Get the current Google Cloud project ID and recent project history
Inputs: no named parameters.
gcp-utils-set-project-idSet Project IDB
Set the default Google Cloud project ID to use for all operations
Inputs: project_id (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 40 tools
Tools are separated by service prefix, but within services like logging and Spanner, multiple tools for querying logs or databases overlap in purpose. Additionally, many tools lack descriptions, increasing ambiguity.
All tools follow a consistent pattern: 'gcp-{service}-{action}-{noun}' in snake_case. For example, gcp-billing-list-accounts, gcp-iam-get-project-policy. No mixing of styles.
40 tools is high but not extreme for a multi-service server. However, several services have only 3 tools with missing descriptions, suggesting the count is inflated without full coverage.
Many services have significant gaps: error reporting, monitoring, profiler, and trace lack CRUD operations and detailed descriptions. Spanner is missing update/delete. Billing and logging are more complete, but overall surface is incomplete.
Maintenance
Related MCP Connectors
The BigQuery remote MCP server is a fully managed service that uses the Model Context Protocol to connect AI applications and LLMs to BigQuery data sources. It provides secure, standardized tools for AI agents to list datasets and tables, retrieve schemas, generate and execute SQL queries through natural language, and analyze data—enabling direct access to enterprise analytics data without requiring manual SQL coding.
The Google GKE MCP server is a managed Model Context Protocol server that provides AI applications with tools to manage Google Kubernetes Engine (GKE) clusters and Kubernetes resources. It exposes a structured, discoverable interface that allows AI agents to interact with GKE and Kubernetes APIs, enabling them to inspect cluster configurations, retrieve Kubernetes resource YAMLs, monitor operations like cluster upgrades, diagnose issues, and optimize costs—all without needing to parse text output or use complex kubectl commands.
The Google Compute Engine MCP server is a fully-managed Model Context Protocol server that provides tools to manage Google Compute Engine resources through AI agents. It enables capabilities including instance management (creating, starting, stopping, resetting, listing), disk management, handling instance templates and group managers, viewing machine and accelerator types, managing images, and accessing reservation and commitment information. The server operates as a zero-deployment, enterprise-grade endpoint at https://compute.googleapis.com/mcp with built-in IAM-based security.
A Model Context Protocol server for Wix AI tools
Related MCP Servers
- AlicenseBqualityDmaintenanceA Model Context Protocol server that enables AI assistants like Claude to interact with Google Cloud Platform environments through natural language, allowing users to query and manage GCP resources during conversations.9171 npm199MIT
- AlicenseNot gradedqualityDmaintenanceA Model Context Protocol server that enables LLMs to understand BigQuery dataset structures and execute SQL queries.5MIT
- AlicenseNot gradedqualityDmaintenanceA Model Context Protocol server that connects to Google Cloud services, allowing users to query logs, interact with Spanner databases, and analyze monitoring metrics through natural language.MIT
- AlicenseDqualityDmaintenanceAn MCP server that enables querying and interacting with Google Cloud services including Logging, Spanner, Monitoring, and Cloud Trace through natural language.171MIT