gcp-mcp

v1.0.2
gcp-mcp Checked 1 day ago Published 1 year ago

Model 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

ParameterTypeDescription
code *stringYour 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 *stringThe reasoning behind the code
projectIdstringGCP project ID to use
regionstringRegion 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

ParameterTypeDescription
projectId *stringID of the GCP project to select
regionstringRegion to use (if not provided, us-central1 is used)

get-billing-info

Get billing information for the current project

ParameterTypeDescription
projectIdstringProject ID to get billing info for (defaults to selected project)

get-cost-forecast

Get cost forecast for the current project

ParameterTypeDescription
monthsnumberNumber of months to forecast (default: 3)
projectIdstringProject ID to get forecast for (defaults to selected project)

get-billing-budget

Get billing budgets for the current project

ParameterTypeDescription
projectIdstringProject ID to get budgets for (defaults to selected project)

list-gke-clusters

List all GKE clusters in the current project

ParameterTypeDescription
locationstringLocation (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

ParameterTypeDescription
filterstringFilter for the log entries (see Cloud Logging query syntax)
pageSizenumberMaximum number of entries to return (default: 10)