About Google Cloud MCP
Google Cloud MCP is an MCP server published by krzko in the Cloud category: 🤖 A Model Context Protocol (MCP) server for Google Cloud (GCP). Conduid read 39 tools from its source: gcp-billing-analyse-costs, gcp-billing-cost-recommendations, gcp-billing-detect-anomalies, gcp-billing-get-account-details, gcp-billing-get-project-info, gcp-billing-list-accounts and 33 more. No package is published for it, so it installs from a source checkout.
The repository has 79 stars and 21 forks, is licensed Apache-2.0, and its last commit was on 15 Dec 2025. The latest release is v0.5.0 (31 Jul 2025). It follows v0.4.0 (30 Jul 2025), and the 4 most recent releases go back to v0.2.0 (30 Jul 2025). It passes 5 of the 6 static checks Conduid ran on the repository; it does not pass Scoped permissions. Its topics include cloud.
Install
git clone https://github.com/krzko/google-cloud-mcpTools (39)
gcp-billing-analyse-costsPerform detailed cost analysis with trends and insights for Google Cloud billing data| Parameter | Type | Description |
|---|---|---|
| billingAccountName * | string | Billing account name (e.g., 'billingAccounts/123456-789ABC-DEF012') |
| endDate * | string | End date for cost analysis (ISO format: YYYY-MM-DD) |
| groupBy | string | Group costs by project, service, SKU, or time |
| projectId | string | Optional project ID to filter costs |
| serviceId | string | Optional service ID to filter costs |
| startDate * | string | Start date for cost analysis (ISO format: YYYY-MM-DD) |
gcp-billing-cost-recommendationsGenerate cost optimisation recommendations with potential savings for Google Cloud billing| Parameter | Type | Description |
|---|---|---|
| billingAccountName * | string | Billing account name (e.g., 'billingAccounts/123456-789ABC-DEF012') |
| minSavingsAmount | number | Minimum savings amount to include in recommendations |
| priority | string | Filter recommendations by priority level |
| projectId | string | Optional project ID to filter recommendations |
gcp-billing-detect-anomaliesDetect unusual cost patterns and spending anomalies in Google Cloud billing data| Parameter | Type | Description |
|---|---|---|
| billingAccountName * | string | Billing account name (e.g., 'billingAccounts/123456-789ABC-DEF012') |
| lookbackDays | number | Number of days to look back for comparison (7-90) |
| projectId | string | Optional project ID to filter anomalies |
| thresholdPercentage | number | Percentage threshold for anomaly detection (10-500%) |
gcp-billing-get-account-detailsRetrieve detailed information about a specific Google Cloud billing account| Parameter | Type | Description |
|---|---|---|
| billingAccountName * | string | Billing account name (e.g., 'billingAccounts/123456-789ABC-DEF012') |
gcp-billing-get-project-infoRetrieve billing configuration and status for a Google Cloud project| Parameter | Type | Description |
|---|---|---|
| projectId | string | Project ID (defaults to current project from state manager) |
gcp-billing-list-accountsList all Google Cloud billing accounts accessible to the user| Parameter | Type | Description |
|---|---|---|
| filter | string | Optional filter for billing accounts (e.g., 'open=true') |
| pageSize | number | Maximum number of billing accounts to return (1-50) |
| pageToken | string | Token for pagination to get next page of results |
gcp-billing-list-projectsList all projects associated with a specific Google Cloud billing account| Parameter | Type | Description |
|---|---|---|
| billingAccountName * | string | Billing account name (e.g., 'billingAccounts/123456-789ABC-DEF012') |
| pageSize | number | Maximum number of projects to return (1-200) |
| pageToken | string | Token for pagination to get next page of results |
gcp-billing-list-servicesList all available Google Cloud services for billing and cost analysis| Parameter | Type | Description |
|---|---|---|
| pageSize | number | Maximum number of services to return (1-200) |
| pageToken | string | Token for pagination to get next page of results |
gcp-billing-list-skusList all SKUs (Stock Keeping Units) and pricing information for a Google Cloud service| Parameter | Type | Description |
|---|---|---|
| currencyCode | string | Currency code for pricing information (default: USD) |
| pageSize | number | Maximum number of SKUs to return (1-100) |
| pageToken | string | Token for pagination to get next page of results |
| serviceId * | string | Google Cloud service ID (e.g., 'services/6F81-5844-456A') |
gcp-billing-service-breakdownGet detailed cost breakdown by Google Cloud service with usage and SKU information| Parameter | Type | Description |
|---|---|---|
| billingAccountName * | string | Billing account name (e.g., 'billingAccounts/123456-789ABC-DEF012') |
| projectId | string | Optional project ID to filter costs |
| timeRange | string | Time range for analysis (7d, 30d, 90d, 1y) |
gcp-error-reporting-analyse-trendsAnalyse error trends over time to identify patterns and spikes| Parameter | Type | Description |
|---|---|---|
| resolution | string | Time resolution for trend analysis |
| serviceFilter | string | Filter by service name |
| timeRange | string | Time range to analyse (e.g., "1h", "24h", "7d") |
gcp-error-reporting-get-group-detailsGet detailed information about a specific error group including recent events| Parameter | Type | Description |
|---|---|---|
| groupId * | string | Error group ID to get details for |
| pageSize | number | Maximum number of error events to return |
| timeRange | string | Time range to query events (e.g., "1h", "24h", "7d") |
gcp-error-reporting-list-groupsList error groups from Google Cloud Error Reporting with optional filtering and time range| Parameter | Type | Description |
|---|---|---|
| order | string | Sort order for error groups |
| pageSize | number | Maximum number of error groups to return |
| serviceFilter | string | Filter by service name |
| timeRange | string | Time range to query: "1h", "6h", "24h"/"1d", "7d", "30d" |
gcp-iam-analyse-permission-gapsCompare current permissions against required permissions for specific operations and identify gaps| Parameter | Type | Description |
|---|---|---|
| operationDescription | string | Description of the operation being attempted (for context) |
| project | string | Project ID (defaults to current project) |
| requiredPermissions * | array | List of permissions required for the intended operation |
gcp-iam-get-project-policyRetrieve the IAM policy for a Google Cloud project| Parameter | Type | Description |
|---|---|---|
| project | string | Project ID (defaults to current project) |
| requestedPolicyVersion | number | The policy format version (1, 2, or 3) |
gcp-iam-list-deployment-servicesList all GCP services with pre-defined deployment permission setsgcp-iam-test-project-permissionsTest which permissions the current caller has on a Google Cloud project| Parameter | Type | Description |
|---|---|---|
| permissions * | array | List of permissions to test (e.g., ["resourcemanager.projects.get", "compute.instances.list"]) |
| project | string | Project ID (defaults to current project) |
gcp-iam-test-resource-permissionsTest which permissions the current caller has on specific Google Cloud resources| Parameter | Type | Description |
|---|---|---|
| permissions * | array | List of permissions to test on the resource |
| resource * | string | The full resource name (e.g., "projects/my-project/buckets/my-bucket", "projects/my-project/zones/us-central1-a/instances/my-instance") |
gcp-iam-validate-deployment-permissionsCheck if current caller has required permissions for deploying to common GCP services| Parameter | Type | Description |
|---|---|---|
| includeOptional | boolean | Include optional permissions in the validation |
| project | string | Project ID (defaults to current project) |
| service * | string | GCP service to validate (cloud-run, gke, compute-engine, cloud-functions, app-engine, cloud-storage, cloud-sql) |
gcp-logging-query-logsQuery Google Cloud Logs with custom filters. Searches across all payload types (text, JSON, proto) and metadata fields.| Parameter | Type | Description |
|---|---|---|
| filter * | string | The filter to apply to logs (Cloud Logging query language) |
| limit | number | Maximum number of log entries to return |
gcp-logging-query-time-rangeQuery Google Cloud Logs within a specific time range. Supports relative times (1h, 2d) and ISO timestamps.| Parameter | Type | Description |
|---|---|---|
| endTime | string | End time in ISO format (defaults to now) |
| filter | string | Additional filter criteria |
| limit | number | Maximum number of log entries to return |
| startTime * | string | Start time in ISO format or relative time (e.g., "1h", "2d") |
gcp-logging-search-comprehensiveSearch across all log fields including textPayload, jsonPayload, protoPayload, labels, HTTP requests, and metadata. Provides maximum context.| Parameter | Type | Description |
|---|---|---|
| limit | number | Maximum number of log entries to return |
| resource | string | Resource type to filter by (e.g., "cloud_function", "gke_container") |
| searchTerm * | string | Term to search for across all payload types and fields |
| severity | string | Minimum severity level to filter by |
| timeRange | string | Time range to search (e.g., "1h", "24h", "7d") |
gcp-monitoring-list-metric-types| Parameter | Type | Description |
|---|---|---|
| filter | string | Simple search term (e.g., "spanner") or full filter expression (e.g., "metric.type = starts_with(\"spanner\")") |
| pageSize | number | Maximum number of metric types to return |
| timeout | number | Timeout in seconds for the request |
gcp-monitoring-query-metrics| Parameter | Type | Description |
|---|---|---|
| alignmentPeriod | string | Alignment period (e.g., "60s", "300s") |
| endTime | string | End time in ISO format (defaults to now) |
| filter * | string | The filter to apply to metrics |
| startTime * | string | Start time in ISO format or relative time (e.g., "1h", "2d") |
gcp-monitoring-query-natural-language| Parameter | Type | Description |
|---|---|---|
| alignmentPeriod | string | Alignment period (e.g., "60s", "300s") |
| endTime | string | End time in ISO format (defaults to now) |
| query * | string | Natural language description of the query you want to execute |
| startTime | string | Start time in ISO format or relative time (e.g., "1h", "2d") |
gcp-profiler-analyse-performanceAnalyse profiles to identify performance patterns, bottlenecks, and optimisation opportunities| Parameter | Type | Description |
|---|---|---|
| pageSize | number | Number of profiles to analyse (more profiles = better insights) |
| profileType | string | Focus analysis on specific profile type |
| target | string | Focus analysis on specific deployment target |
gcp-profiler-compare-trendsCompare profiles over time to identify performance trends, regressions, and improvements| Parameter | Type | Description |
|---|---|---|
| pageSize | number | Number of profiles to analyse for trends |
| profileType | string | Focus comparison on specific profile type |
| target | string | Focus comparison on specific deployment target |
gcp-profiler-list-profilesList profiles from Google Cloud Profiler with optional filtering and pagination| Parameter | Type | Description |
|---|---|---|
| pageSize | number | Maximum number of profiles to return (1-1000) |
| pageToken | string | Token for pagination to get next page of results |
| profileType | string | Filter by specific profile type |
| target | string | Filter by deployment target (service name) |
gcp-spanner-execute-query| Parameter | Type | Description |
|---|---|---|
| databaseId | string | Spanner database ID (defaults to SPANNER_DATABASE env var) |
| instanceId | string | Spanner instance ID (defaults to SPANNER_INSTANCE env var) |
| params | object | Query parameters |
| sql * | string | The SQL query to execute |
gcp-spanner-list-databases| Parameter | Type | Description |
|---|---|---|
| instanceId * | string | Spanner instance ID |
gcp-spanner-list-instancesgcp-spanner-list-tables| Parameter | Type | Description |
|---|---|---|
| databaseId | string | Spanner database ID (defaults to SPANNER_DATABASE env var) |
| instanceId | string | Spanner instance ID (defaults to SPANNER_INSTANCE env var) |
gcp-spanner-query-natural-language| Parameter | Type | Description |
|---|---|---|
| databaseId | string | Spanner database ID (defaults to SPANNER_DATABASE env var) |
| instanceId | string | Spanner instance ID (defaults to SPANNER_INSTANCE env var) |
| query * | string | Natural language description of the query you want to execute |
gcp-trace-find-from-logsgcp-trace-get-trace| Parameter | Type | Description |
|---|---|---|
| projectId | string | Optional Google Cloud project ID |
| traceId * | string | The trace ID to retrieve |
gcp-trace-list-traces| Parameter | Type | Description |
|---|---|---|
| filter | string | Optional filter for traces (e.g., "status.code != 0" for errors) |
| limit | number | Maximum number of traces to return |
| projectId | string | Optional Google Cloud project ID |
| startTime | string | Start time in RFC3339 format (e.g., "2023-01-01T00:00:00Z") or relative time (e.g., "1h", "2d") |
gcp-trace-query-natural-language| Parameter | Type | Description |
|---|---|---|
| projectId | string | Optional Google Cloud project ID |
| query * | string | Natural language query about traces (e.g., "Show me failed traces from the last hour") |
gcp-utils-get-project-idGet the current Google Cloud project ID and recent project historygcp-utils-set-project-idSet the default Google Cloud project ID to use for all operations| Parameter | Type | Description |
|---|---|---|
| project_id * | string | The Google Cloud project ID to set as default |
Security checks
Static checks derived from the repository 11 days ago. Heuristics on the source, not an audit.
- ✓README presentThe repository's README runs to about 923 words.
- ✓License declaredThe repository declares the Apache-2.0 license.
- ✓Tests presentA test suite exists in the repository.
- ✓Dependencies pinnedDependency versions are pinned by pnpm-lock.yaml.
- ✓No dynamic code executionScanned 51 source files and found no eval, dynamic Function or shell execution.
- !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.
What the source scan found
- Transport
- stdiosrc/index.ts:42
- Starts other programs
- No calls that start other programs
- Outbound network calls
- 20 callssrc/services/error-reporting/resources.ts:52, src/services/error-reporting/resources.ts:170, src/services/error-reporting/resources.ts:264
- Writes or deletes files
- 4 callssrc/utils/config.ts:63, src/utils/config.ts:89, src/utils/state-manager.ts:70
- Lockfile
- pnpm-lock.yaml
Pattern matches on the source text of 51 files: places to read, not proof of what the code does at run time.
Releases
README
The repository's README runs to about 923 words, fetched a month ago. The original in the repository is authoritative.
Read full README