GCP Billing

io.github.mcp-dir由 GitHub 帳號 mcp-dir 發布v0.1.0更新於 Oct 24, 2026

Google Cloud Billing BigQuery export reporting through a user-connected service account.

已驗證Streamable HTTP可網頁執行雲端與基礎設施資料與分析

概覽

AI 產生的概覽

讓助理透過已連接的服務帳戶,依日期、服務、專案與 SKU 查詢 Google Cloud Billing 的 BigQuery 匯出費用。

可以做什麼
這是一個託管、唯讀的 MCP 伺服器,用於 Google Cloud Billing 的 BigQuery 匯出報表。它提供三個工具:一個列出與此安裝相關的 GCP Billing BigQuery 匯出憑證記錄,一個依日期、服務、專案與 SKU 查詢正規化費用,一個回傳依費用排序的 GCP 主要服務。常見請求包括查看最近 30 天依服務劃分的 GCP 費用,或依專案與 SKU 拆分帳單。
適用情境
當你希望助理根據 BigQuery 帳單匯出回答 Google Cloud 支出問題時使用,例如依服務查看費用、查看支出最高的服務,或依專案與 SKU 拆分。它適合唯讀報表,而不是修改 GCP 中的任何內容。
執行需求
遠端 MCP over HTTP 端點,不需要本機套件或執行環境。需要連接一個有權存取你的 BigQuery 帳單匯出的 Google Cloud 服務帳戶,並透過 magic-link 而非密碼登入該服務。用戶端必須支援 MCP over HTTP,助理需要能存取該託管端點。
安裝前請注意
此伺服器為託管且專有,並非開源;它是唯讀的,沒有任何工具會修改來源資料。工具回傳的資料會傳送給你選擇的 LLM 主機,供應商將其列為不受其控制的子處理者,建議使用可選擇退出訓練的方案。連接服務帳戶會授予該服務存取你的 BigQuery 帳單匯出的權限,應盡量縮小該帳戶的權限範圍。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 GCP Billing,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

交給代理程式安裝

把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。

閱讀 https://sourceweft.com/mcp/io.github.mcp-dir%2Fgcp_billing-mcp/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。

檢視代理程式所依據的安裝指南

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。

{
  "mcpServers": {
    "gcp-billing": {
      "type": "http",
      "url": "https://api.mcp.ai/p_gcp_billing"
    }
  }
}

README

該儲存庫沒有 README。

工具

9

gcp_billing_list_accounts

List GCP Billing BigQuery export credential records linked to this install.

輸入參數account

gcp_billing_cost

Query normalized GCP Billing BigQuery export costs by day, service, project, and SKU. Returns compact totals only.

輸入參數accountend_datedays_backstart_date

gcp_billing_top_services

Query top GCP services by cost from the user's BigQuery billing export. Returns normalized service totals.

輸入參數limitaccountend_datedays_backstart_date

show_version

Show Version

Show the current MCP platform and adapter versions.

無需輸入參數。

report_bug

Report Bug

Report a bug, missing feature, or send feedback. Include the conversation array with recent messages for reproduction.

輸入參數contextmessage必填conversation

connect

Connection Status

Returns connection status and URLs. When all providers are connected, returns authenticated:true and empty pending[]. When credentials are missing, returns connect_url for the toolkit and per-install URLs.

無需輸入參數。

toolkit_info

Toolkit Info

Returns the current toolkit state: installed MCPs, their connection status, the accounts connected to each one, and how many catalog tools each exposes.

無需輸入參數。

marketplace

Marketplace

The official mcp.ai marketplace — the in-platform catalog of every MCP/tool, AND the way to run them. Covers capability requests like "find an MCP that does X", "consulta um CPF", "is there a tool for Y". Core flow: action=search discovers MCPs by intent → describe returns one MCP's full profile (every tool with its id + params, pricing, auth) so you pick the right tool_id → invoke RUNS that tool. KEY: invoke works even when the MCP is NOT installed — it runs the tool pontualmente (one-off), without adding the MCP to the toolkit and without bloating the tool list. If the MCP needs a credential/login, invoke returns a connect link; if it is paid and the wallet is empty, invoke returns a checkout/top-up link (the user opens it, then you retry). Use install only to make an MCP PERMANENT in the active toolkit (its tools then show up natively in future sessions); prefer invoke for a single/occasional use. list_tools lists what is callable right now. subscribe/cancel handle per-MCP billing; report_bug sends feedback; request_mcp asks us to build a NEW MCP when nothing fits. Search/describe flag installed_in_toolkit vs installed_in_workspace. Writes (install/uninstall/subscribe/cancel and the one-off install behind invoke) require workspace owner/admin. It also carries the mcp.ai PROMPT LIBRARY, which is about ready-made prompt TEXT rather than MCPs: search_prompts finds one, get_prompt returns its full text with {{variables}} filled, and publish_prompt saves a prompt and returns a shareable mcp.ai/p/<slug> link that opens without login.

輸入參數limitqueryactionmcp_idmessagetool_idargumentsimmediatetier_slugprompt_bodyprompt_slugprompt_tool另有 11 個

authenticate

Authenticate

MCP.AI for IDE agents (Cursor, etc.): log in in the browser, copy the access token. Best: add it to this server's config as a header `Authorization: Bearer <token>` for a permanent, non-expiring connection. Or paste it here for a session-only login: call with { token: "<jwt>" } after the user pastes, or with no args to get the link.

輸入參數token

版本歷史

1
  1. v0.1.0最新Sep 16, 2026

評分

已滿足適用檢查項的 75%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通必需25 分
  • 已宣告認證方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 圖示10 分
  • 文件15 分

    請宣告包含 README 的 GitHub 儲存庫,或在 OAuth 受保護資源後設資料中提供 resource_documentation。

  • 授權條款10 分

    請在儲存庫或註冊中心條目中宣告授權條款。