- Home
- MCP servers
- GCP Billing
GCP Billing
- typescript
1
GitHub Stars
typescript
Language
6 months ago
First Indexed
2 months ago
Catalog Refreshed
Documentation & install
Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.
This MCP server connects to Google Cloud to provide context and tools for interacting with your Google Cloud resources. It enables you to query billing, logs, and monitoring data using natural language or prompts, making it easier to manage and optimise your Google Cloud usage from a single interface.
How to use
You interact with Google Cloud services through your MCP client by asking natural language questions or giving prompts. You can explore billing accounts and project costs, query logs, and retrieve metrics from Monitoring. Use clear prompts like: “Show my current billing costs for project my-webapp-prod-123,” “List logs for project my-app-prod-123 from the last hour,” or “Display CPU utilisation for Compute Engine in project infrastructure-456.” The MCP server translates your prompts into the appropriate Google Cloud API calls and returns interpreted results.
How to install
Prerequisites: you need Node.js and pnpm installed on your system. Ensure you have access to Google Cloud with a service account key or appropriate credentials.
Step 1: Clone the MCP server repository.
Step 2: Install dependencies.
Step 3: Build the project.
Step 4: Authenticate to Google Cloud.
Step 5: Configure your MCP client with the server connection details.
Additional content
Configuration, authentication, and troubleshooting details are provided below to help you set up and run the server smoothly.
Available tools
gcp-billing-list-accounts
List all billing accounts available to your credentials.
gcp-billing-get-account-details
Retrieve details for a specific billing account.
gcp-billing-list-projects
List Google Cloud projects under billing management.
gcp-billing-get-project-info
Fetch detailed information about a project.
gcp-billing-list-services
List billing services available to your account.
gcp-billing-list-skus
List SKUs for billing services.
gcp-billing-analyse-costs
Analyze costs for a given project or period.
gcp-billing-detect-anomalies
Detect unusual billing patterns or anomalies.
gcp-billing-cost-recommendations
Provide cost optimisation recommendations.
gcp-billing-service-breakdown
Break down costs by service for a project.
gcp-logging-query-logs
Query log entries from Google Cloud Logging.
gcp-logging-query-time-range
Query logs within a specific time range.
gcp-logging-search-comprehensive
Search logs with comprehensive filters.
gcp-monitoring-query-metrics
Retrieve metrics from Google Cloud Monitoring.
gcp-monitoring-list-metric-types
List available metric types for a project.
gcp-monitoring-query-natural-language
Query metrics using natural language prompts.