google-cloud-support-mcp
An MCP server for Google Cloud Support. Read and act on support cases across every project and organization you have access to, without leaving the conversation.
This is not an official Google product. It is an independent project, not affiliated with, endorsed by, or supported by Google. It talks to the public Cloud Support API using your own credentials. Google Cloud and Google are trademarks of Google LLC.
What it covers
Fifteen tools over the Cloud Support API v2 — cases, comments, attachments, and problem classifications, plus scope discovery:
| Group | Tools |
|---|---|
| Scopes | list_scopes |
| Cases (read) | search_cases, get_case |
| Cases (write) | create_case, update_case, close_case, escalate_case |
| Classifications | search_case_classifications |
| Comments | list_comments, get_comment, add_comment |
| Attachments | list_attachments, get_attachment, download_attachment, upload_attachment |
Plus a case://{parent_type}/{parent_id}/{case_id} resource template and two
prompts (triage_open_cases, draft_case_from_incident).
Scopes are named in the conversation, not configured in advance. "List the open
cases in my-billing-project" works with nothing set up; list_scopes turns a name
you know into the identifier the API wants, which matters most for organizations —
they are addressed by a number nobody remembers.
Not covered, deliberately:
SupportEventSubscriptionService(7 RPCs) — push delivery and subscription CRUD alike.v2beta, includingFeedService.ShowFeed. The one thing v2beta looked like it offered — cross-organization search — turned out not to exist: its query grammar'sORcombines values within a field, never scope identifiers.
Prerequisites
-
Python 3.14+ and uv
-
A paid support plan (Standard, Enhanced, or Premium) on the target project or organization. The Cloud Support API is unavailable without one, and that failure is reported separately from a permissions failure.
-
IAM:
roles/cloudsupport.techSupportViewerto read,roles/cloudsupport.techSupportEditorto write. Organization-level scopes also needresourcemanager.organizations.get. -
For
list_scopesonly — the Cloud Resource Manager API enabled, plusresourcemanager.projects.getand, to see organizations,resourcemanager.organizations.get. Nothing else needs it, and holding one permission and not the other is fine: the class you cannot read is reported and the other still answers.gcloud services enable cloudresourcemanager.googleapis.com --project=PROJECT_ID
-
API enabled and credentials resolved:
gcloud services enable cloudsupport.googleapis.com --project=PROJECT_ID gcloud auth application-default login gcloud auth application-default set-quota-project PROJECT_ID
Install and run
Nothing to clone or install — uvx fetches the published package and runs it:
uvx google-cloud-support-mcp
Register it with an MCP client:
{
"mcpServers": {
"google-cloud-support": {
"command": "uvx",
"args": ["google-cloud-support-mcp"],
"env": {
"GOOGLE_CLOUD_SUPPORT_MCP_PARENTS": "[\"projects/my-project\",\"organizations/123456789\"]",
"GOOGLE_CLOUD_SUPPORT_MCP_QUOTA_PROJECT": "my-project"
}
}
}
}
Pin a release with uvx google-cloud-support-mcp@0.1.0 if you would rather not
track the latest.
From a clone
uv sync
uv run google-cloud-support-mcp # stdio
uv run fastmcp inspect # tool surface, without starting a session
fastmcp.json points the FastMCP CLI at server.py:create_server, so inspect,
run and dev all work with no arguments.
{
"mcpServers": {
"google-cloud-support": {
"command": "uv",
"args": ["run", "--directory", "/path/to/google-cloud-support-mcp", "google-cloud-support-mcp"],
"env": {
"GOOGLE_CLOUD_SUPPORT_MCP_PARENTS": "[\"projects/my-project\",\"organizations/123456789\"]",
"GOOGLE_CLOUD_SUPPORT_MCP_QUOTA_PROJECT": "my-project"
}
}
}
}
Configuration
All variables take the GOOGLE_CLOUD_SUPPORT_MCP_ prefix.
| Variable | Default | What it does |
|---|---|---|
PARENTS |
[] |
Optional default. Used only when a request names no scope. You can name a project or organization in the conversation instead — list_scopes finds the identifier. Validated at start-up. |
QUOTA_PROJECT |
— | Billing/quota project. Organization-level calls with user credentials generally need this. |
ENABLE_WRITES |
true |
false leaves only the eight read tools. |
ENABLE_ESCALATION |
false |
Escalation is hidden unless you turn it on. See below. |
DOWNLOAD_DIR |
system temp | Where download_attachment writes files. |
MAX_UPLOAD_BYTES |
10000000 |
Client-side check before an upload is offered. |
DEFAULT_PAGE_SIZE |
20 |
Kept small so list results do not swamp the conversation. |
FANOUT_CONCURRENCY |
5 |
Parallel scopes per query; lower it if you hit rate limits. |
Two things worth knowing
Nothing reaches Google without your confirmation. Every outward-facing action
shows you the exact payload and waits. Declining sends nothing. The approved
payload is sealed by the framework between rounds, so what executes is
byte-for-byte what you were shown — a confirm: true parameter could not do
this, because the model would be the one filling it in.
Escalation is off by default. It is delivered to Google's support
organisation and a person acts on it. Set GOOGLE_CLOUD_SUPPORT_MCP_ENABLE_ESCALATION=true
to expose the tool; it still requires a written justification and your
confirmation.
Cross-organization queries
search_cases queries every configured scope in parallel and merges the results.
A scope that fails does not fail the call — it appears in scopes_failed with
what to do about it, so one organization's permission error never hides another
organization's cases. Pagination uses a composite cursor that carries a token per
scope; changing parents mid-pagination is rejected rather than silently skewing
the results.
Known limitations
Attachment upload limits are unverified. MAX_UPLOAD_BYTES defaults to 10 MB, which is a
placeholder rather than a measured ceiling — the API does not document one, and no live upload
has been run against a project with a paid support plan. The limit may be higher or lower than
the real one, and the transfer form is an informed reading of the media reference rather than
a confirmed protocol.
A mistyped scope reports the wrong thing. Name a project that does not exist and the answer
says the service is temporarily unreachable and suggests retrying. Retrying will not help: the
upstream API returns a bare HTTP 500 for a nonexistent project, and a 500 carries nothing that
separates a typo from a real outage — so reclassifying it would mislabel genuine outages
instead. The scope still appears in scopes_failed rather than silently returning "no cases".
TODO.md has the full list and what would unblock each item.
Development
uv run pytest # unit + contract; integration is deselected
uv run ruff check . && uv run ruff format --check .
uv run fastmcp inspect # the server must load through the FastMCP CLI
Metadata
Release files for google-cloud-support-mcp 0.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| google_cloud_support_mcp-0.2.1.tar.gz | 135.0 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| google_cloud_support_mcp-0.2.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 181.5 kB
Release files / google_cloud_support_mcp-0.2.1.tar.gz
| Download URL | google_cloud_support_mcp-0.2.1.tar.gz |
|---|---|
| Size | 135.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ead07a243bc79415c9e67e0148654b8d49b69ad39f3bce9e7c7c9cc47daa8c1e
|
|
BLAKE2b-256 checksum How to use checksums |
8efd2291c44c108a7ff1364f89ecbd313fa693223c46c3d589ccb73a047716a5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.8 {"installer":{"name":"uv","version":"0.12.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / google_cloud_support_mcp-0.2.1-py3-none-any.whl
| Download URL | google_cloud_support_mcp-0.2.1-py3-none-any.whl |
|---|---|
| Size | 46.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8c43b037ece071d01adde77678c28c5d3423779e4c57731996088ed7e3d59911
|
|
BLAKE2b-256 checksum How to use checksums |
3c5b7561847de5bfc83877e7c2d3d26336001c3679b4161240e628ad7a755dc8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.8 {"installer":{"name":"uv","version":"0.12.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Security for google-cloud-support-mcp 0.2.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.