multi-cloud-mcp-server
Generic MCP server for GCP and AWS: bring your own project/account, query BigQuery/Athena, inspect Cloud Build/CodeBuild, Cloud Run/ECS/Lambda logs
Install / Use
claude mcp add anandapurva55 -- npx -y github:anandapurva55/multi-cloud-mcp-serverIf the server publishes to npm under a different name, use that package instead โ check the repo README.
MCP Server
Model Context Protocol server
Quality Score
Category
Development & EngineeringSupported Platforms
Our assessment of multi-cloud-mcp-server
multi-cloud-mcp-server scores 79/100 on our quality scale, 3672nd of 4,703 Development & Engineering skills we index.
Its MCP Server is 30 KB long, well organised into 27 sections with 17 code examples: a thorough specification that gives an agent plenty to work with.
It has 45 GitHub stars, so there is little community track record yet; judge it on its content.
Maintenance, license and trust
- The repository was last updated today, so multi-cloud-mcp-server is actively maintained.
- It is released under the MIT license, a permissive license that allows use, modification and commercial use with attribution.
- Its trust signals score 97/100, with no cautions. These come from repository metadata, not a code audit โ read the skill file before letting an agent act on it.
multi-cloud-mcp-server compared with similar skills
All 4 of these similar skills score higher than multi-cloud-mcp-server; compare them before choosing.
| Skill | Score | Stars | Updated | Format |
|---|---|---|---|---|
| multi-cloud-mcp-server (this skill)by anandapurva55 | 79 | 45 | today | MCP Server |
| taste-skillby Leonxlnx | 100 | 121.0k | today | CLAUDE.md |
| Agent-Reachby Panniantong | 100 | 114.5k | today | CLAUDE.md |
| hyperframesby heygen-com | 100 | 89.4k | today | CLAUDE.md |
| rufloby ruvnet | 100 | 82.4k | today | CLAUDE.md |
Frequently asked questions
- How do I install multi-cloud-mcp-server?
- Run
claude mcp add anandapurva55 -- npx -y github:anandapurva55/multi-cloud-mcp-server. The install tabs above show the steps for each supported agent. - Which AI agents does multi-cloud-mcp-server work with?
- It is written for Claude Code and Claude Desktop, as a MCP Server file. Other agents that read the same format can often use it too.
- Is multi-cloud-mcp-server safe to use?
- It is MIT-licensed and scores 97/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
- Is multi-cloud-mcp-server still maintained?
- The repository was last updated today, so multi-cloud-mcp-server is actively maintained.
Skill content
View source on GitHubMulti-Cloud MCP Server
A local Model Context Protocol server that gives an MCP client (such as Claude Code, Codex, GitHub Copilot, etc.) tools to inspect and query your own Google Cloud Platform (GCP) and Amazon Web Services (AWS) infrastructure: data warehouses, CI build systems, container/serverless runtimes, and their logs. You point it at your own project(s) and account(s) through a short interactive setup wizard.
Built with: Python, the Model Context Protocol (FastMCP, stdio), boto3 and the Google Cloud client libraries, covering Google BigQuery, Google Cloud Run, Google Cloud Build, Google Cloud Logging, Amazon Athena, Amazon Elastic Container Service (Amazon ECS), AWS Lambda, AWS CodeBuild, Amazon Simple Storage Service (Amazon S3) and Amazon CloudWatch Logs; tested with pytest and moto, and checked on every push by GitHub Actions.
Table of contents
- Quickstart
- How it works
- File by file
- Configuring environments
- GCP auth modes
- AWS auth modes
- Tool catalog with examples
- Safety and cost controls
- Least-privilege permissions
- Extending with a new service
- Testing
- Troubleshooting
- Security
- License
Quickstart
python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
python3 setup_wizard.py # interactive: configure your GCP and/or AWS environments
python3 server.py # runs the MCP server over stdio
Point your MCP client at server.py as the command to run (with the same .venv interpreter). For example, in Codex's config.toml or the mcp.json that GitHub Copilot reads, the command is the absolute path to .venv/bin/python3 and the argument is the absolute path to server.py.
Where the configuration is read from. The server reads the .env that sits next to server.py, not the .env of whatever directory the client happens to launch it from (MCP clients such as Codex and Cursor usually don't start servers in the repo directory). To use a different file, set MULTICLOUD_MCP_ENV_FILE=/absolute/path/to/file.env. Real environment variables take precedence over the file, so an "env": {...} block in your MCP client config can override individual settings. If the configuration is invalid (a typo'd AUTH_MODE, a missing project ID, two environment names that collide), the server exits at startup with a message saying what to fix instead of running half-configured.
How it works
The big picture. An AI client talks to server.py over stdio. The server reads your configured environments from .env, and only registers tools for the providers you actually set up. Each tool goes through the same wrapper and safety helpers before it reaches a cloud API.

The picture is generated by docs/diagrams/architecture.py (needs pip install diagrams and Graphviz); edit the script and re-run it to change the diagram.
What happens on one tool call. The call is handed to a worker thread so a slow cloud request never freezes the server. Checks run before anything is sent to the cloud, and every failure comes back to the client as a real error (isError = true), not as text that looks like data.
%%{init: {'theme': 'neutral', 'sequence': {'mirrorActors': false, 'messageMargin': 28}}}%%
sequenceDiagram
autonumber
actor M as AI model / client
participant S as server.py
participant W as Worker thread
participant K as Safety checks
participant C as Cloud API
M->>S: call tool, e.g. bq_query(sql, env="prod")
S->>W: run off the event loop
W->>K: resolve env, then SQL guard, time window, identifiers
alt rejected
K-->>M: isError = true with a clear reason
else allowed
W->>C: dry run, then query / list (paginated)
C-->>W: rows or items
W-->>M: JSON, plus a note if results were cut off
end
Note over M,C: A slow call never blocks other requests. Any failure reaches the client as isError = true
How a query is kept read-only and cheap. bq_query and athena_query pass every statement through these checks. The checks are defence in depth; the real protection is a read-only role (see Least-privilege permissions).
%%{init: {'theme': 'neutral', 'flowchart': {'curve': 'basis', 'nodeSpacing': 26, 'rankSpacing': 34}}}%%
flowchart LR
sql["SQL from<br/>the model"] --> c1["<b>1</b> ยท One statement<br/>only"]
c1 --> c2["<b>2</b> ยท Read-only keywords<br/>no write, DDL or export"]
c2 --> bq3["<b>3</b> ยท BigQuery dry run<br/>must be a SELECT"]
bq3 --> bq4["<b>4</b> ยท Bytes to scan<br/>within the cap"]
bq4 --> bqrun["Run with byte cap<br/>60 s timeout, then cancel"]
c2 --> athrun["Athena: run in your workgroup<br/>scan cutoff set there<br/>60 s timeout, then stop"]
bqrun --> out["Rows back: long cells clipped,<br/>note if more rows exist"]
athrun --> out
c1 -.->|fails| rej
c2 -.->|fails| rej
bq3 -.->|fails| rej
bq4 -.->|fails| rej
rej(["Rejected before any cloud call<br/>isError = true"])
classDef ok fill:#E6F4EA,stroke:#2E7D32,color:#111827
classDef bad fill:#FDECEA,stroke:#C62828,color:#111827
classDef chk fill:#F3F4F6,stroke:#6B7280,color:#111827
class bqrun,athrun,out ok
class rej bad
class sql,c1,c2,bq3,bq4 chk
Every tool function takes an optional env= argument naming which configured environment to act against (for example env="prod"). If you omit it, the tool falls back to whichever environment the wizard set as the default for that provider. Call the always-available list_environments tool to see what is currently configured and which environment is the default for each provider.
File by file
-
server.py: the entry point. At import time it readsconfig.CONFIGand registers only the tool modules for providers that actually have a configured environment (a GCP-only setup never exposes AWS tools, and vice versa). It also defines one provider-agnostic tool,list_environments, directly. If neither provider is configured it prints a message to stderr and exits with status 1, rather than hanging waiting for input, because the stdio transport is reserved for MCP protocol traffic once an MCP client has launched it. -
config.py: the configuration model. DefinesGCPEnvironmentandAWSEnvironmentdataclasses, anAppConfigregistry keyed by environment name,load_config(path)to parse a.envfile into anAppConfig,render_env_file(cfg)andsave_config(cfg, path)to write one back out, and aslug(name)helper that turns an arbitrary environment name into the uppercase, underscore-separated form used in.envkey names (so"client-a-prod"becomes the key prefixCLIENT_A_PROD).AppConfig.resolve_gcp(env)/resolve_aws(env)are what every tool calls to turn anenv=argument (orNone) into a concrete environment object, raising aValueErrorthat lists what is actually configured if the name does not exist. -
setup_wizard.py: the interactive onboarding flow. Run it any time, it loads whatever.envalready exists, lets you add, remove, or change the default environment for either provider through a numbered menu, verifies each new environment's credentials as you add it (a live BigQuery/STS call, non-fatal for GCP, prompts to save-anyway for AWS on failure), and regenerates the keys it manages on save while preserving any other lines you added to.envby hand. It refuses environment names that would collide once converted to.envkey prefixes (client-avsclient_a). -
live_check.py: a standalone smoke test you can run any time against your real.envto confirm a configured environment's credentials still work, without needing the full pytest suite or any specific cloud resources to exist. See Testing below. -
providers/errors.pyandproviders/tools.py:cloud_tool(mcp)is the decorator every tool uses. It (1) runs the blocking cloud SDK call in a worker thread so one slow query can't freeze the stdio server, (2) turns any exception (an unknown environment, an expired credential, an API failure) into an MCPisError=trueresult carrying a readable message, so clients and models can tell a failure from real data, and (3) marks the toolreadOnlyHint=true/destructiveHint=false. -
providers/sql_guard.py,providers/output.py,providers/aws/paging.py,providers/timewindow.py,providers/gcp/filters.py: small shared helpers. The SQL guard that keeps the query tools read-only; output shaping (long cells are clipped, and any result that was cut off ends with an explicit note so a model can't mistake a partial list for the whole); boto3 pagination with a cap;since_minutes/until_minutesvalidation; and safe quoting of values placed into Cloud Logging / Cloud Build filter strings. -
providers/gcp/auth.py: resolves GCP credentials for aGCPEnvironment, either via Application Default Credentials (google.auth.default()) or a service-account JSON key file, and exposesget_access_token()for the one tool module that talks to a GCP REST API directly instead of through a client library. -
providers/gcp/bigquery_tools.py:bq_list_datasets,bq_list_tables,bq_describe_table,bq_query,bq_preview_table. Wrappers around thegoogle-cloud-bigqueryclient.bq_queryis read-only, dry-run first and byte-capped (see Safety and cost controls);bq_preview_tablereads rows directly withlist_rows, which is free and never scans the table the waySELECT *would. -
providers/gcp/cloudbuild_tools.py:cloudbuild_list_builds,cloudbuild_get_logs,cloudbuild_describe_build. There is no official Cloud Build Python client used here; it calls the REST API directly with a bearer token fromauth.py, and fetches build logs straight from the build's GCS logs bucket (the last ~200 KB of a large log). Cloud Build keeps global builds (projects/{p}/builds, which is where default triggers write and whatgcloud builds listshows) separately from builds in each region (projects/{p}/locations/{r}/builds), and each endpoint returns only its own. The tools therefore query both, merge, de-duplicate and sort by time, and say in the output which collections were searched. Aregionargument selects a different region (orglobalfor global only). -
providers/gcp/cloudrun_tools.py:cloudrun_list_services,cloudrun_describe_service,cloudrun_list_revisions,cloudrun_get_logs,cloudrun_get_error_logs. Usesgoogle-cloud-runfor service/revision metadata andgoogle-cloud-loggingfor log retrieval, filtered byseverity>=ERRORfor th
Truncated for display โ read the full file on GitHub.
Related Skills
taste-skill
121.0kAgent skills that give coding agents taste: art direction, reference images and a browser check instead of generic AI pages
Agent-Reach
114.5kGive your AI agent eyes to see the entire internet. Read & search Twitter, Reddit, YouTube, GitHub, Bilibili, XiaoHongShu โ one CLI, zero API fees.
hyperframes
89.4kOpen-source AI video editor: edit your own footage, or create and remake any video with Claude Code, Codex or the free Studio app. Write HTML, render MP4. By HeyGen.
ruflo
82.4k๐ The original agent harness. Deploy intelligent multi-player swarms, coordinate autonomous workflows, and build conversational AI systems. Features adaptive memory, self-learning intelligence, federation, vector RAG integration, and native Claude Code / Codex / Hermes and many more Integrated
Languages
Trust signals
From repository metadata: license, adoption, age and documentation. Not a code audit โ see the Safety scan above for what the skill file itself contains.
