gcp-mcp
v1.0.2Model Context Protocol (MCP) server for Google Cloud Platform - Talk to your GCP resources
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
run-gcp-code
Run GCP code
| Parameter | Type | Description |
|---|---|---|
code * | string | Your job is to answer questions about GCP environment by writing Javascript/TypeScript code using Google Cloud Client Libraries. The code must adhere to a few rules: - Must use promises and async/awai… |
reasoning * | string | The reasoning behind the code |
projectId | string | GCP project ID to use |
region | string | Region to use (if not provided, us-central1 is used) |
list-projects
List all GCP projects accessible with current credentials
select-project
Selects GCP project to use for subsequent interactions
| Parameter | Type | Description |
|---|---|---|
projectId * | string | ID of the GCP project to select |
region | string | Region to use (if not provided, us-central1 is used) |
get-billing-info
Get billing information for the current project
| Parameter | Type | Description |
|---|---|---|
projectId | string | Project ID to get billing info for (defaults to selected project) |
get-cost-forecast
Get cost forecast for the current project
| Parameter | Type | Description |
|---|---|---|
months | number | Number of months to forecast (default: 3) |
projectId | string | Project ID to get forecast for (defaults to selected project) |
get-billing-budget
Get billing budgets for the current project
| Parameter | Type | Description |
|---|---|---|
projectId | string | Project ID to get budgets for (defaults to selected project) |
list-gke-clusters
List all GKE clusters in the current project
| Parameter | Type | Description |
|---|---|---|
location | string | Location (region or zone) to list clusters from (defaults to all locations) |
list-sql-instances
List all Cloud SQL instances in the current project
get-logs
Get Cloud Logging entries for the current project
| Parameter | Type | Description |
|---|---|---|
filter | string | Filter for the log entries (see Cloud Logging query syntax) |
pageSize | number | Maximum number of entries to return (default: 10) |