SkillAgentSearch skills...

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-server

If the server publishes to npm under a different name, use that package instead โ€” check the repo README.

About this skill
๐Ÿ”Œ

MCP Server

Model Context Protocol server

Quality Score

79/100

Supported Platforms

Claude Code
Claude Desktop

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.

Substance
30/30
Structure
20/20
Description
15/15
Adoption
7/20
Freshness
15/15

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.

SkillScoreStarsUpdatedFormat
multi-cloud-mcp-server (this skill)by anandapurva557945todayMCP Server
taste-skillby Leonxlnx100121.0ktodayCLAUDE.md
Agent-Reachby Panniantong100114.5ktodayCLAUDE.md
hyperframesby heygen-com10089.4ktodayCLAUDE.md
rufloby ruvnet10082.4ktodayCLAUDE.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.

Multi-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.

Tests Python MCP GCP AWS Read-only Tests License: MIT

Table of contents

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.

Architecture: an MCP client talks to server.py over stdio; its wrapper and safety helpers sit in front of the GCP services (BigQuery, Cloud Build, Cloud Run, Cloud Logging) and the AWS services (Athena, Glue Data Catalog, S3, CloudWatch Logs, ECS/Fargate, Lambda, CodeBuild, STS)

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 reads config.CONFIG and 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. Defines GCPEnvironment and AWSEnvironment dataclasses, an AppConfig registry keyed by environment name, load_config(path) to parse a .env file into an AppConfig, render_env_file(cfg) and save_config(cfg, path) to write one back out, and a slug(name) helper that turns an arbitrary environment name into the uppercase, underscore-separated form used in .env key names (so "client-a-prod" becomes the key prefix CLIENT_A_PROD). AppConfig.resolve_gcp(env) / resolve_aws(env) are what every tool calls to turn an env= argument (or None) into a concrete environment object, raising a ValueError that 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 .env already 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 .env by hand. It refuses environment names that would collide once converted to .env key prefixes (client-a vs client_a).

  • live_check.py: a standalone smoke test you can run any time against your real .env to 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.py and providers/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 MCP isError=true result carrying a readable message, so clients and models can tell a failure from real data, and (3) marks the tool readOnlyHint=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_minutes validation; and safe quoting of values placed into Cloud Logging / Cloud Build filter strings.

  • providers/gcp/auth.py: resolves GCP credentials for a GCPEnvironment, either via Application Default Credentials (google.auth.default()) or a service-account JSON key file, and exposes get_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 the google-cloud-bigquery client. bq_query is read-only, dry-run first and byte-capped (see Safety and cost controls); bq_preview_table reads rows directly with list_rows, which is free and never scans the table the way SELECT * 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 from auth.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 what gcloud builds list shows) 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. A region argument selects a different region (or global for global only).

  • providers/gcp/cloudrun_tools.py: cloudrun_list_services, cloudrun_describe_service, cloudrun_list_revisions, cloudrun_get_logs, cloudrun_get_error_logs. Uses google-cloud-run for service/revision metadata and google-cloud-logging for log retrieval, filtered by severity>=ERROR for th

Truncated for display โ€” read the full file on GitHub.

Related Skills

View on GitHub
GitHub Stars45
CategoryDevelopment
Updated17h ago
Forks1

Languages

Python

Trust signals

97/100

From repository metadata: license, adoption, age and documentation. Not a code audit โ€” see the Safety scan above for what the skill file itself contains.

1 info
multi-cloud-mcp-server โ€” MCP Server: Install & Safety Check | SkillAgent