Przejdź do treści
Biblioteka skilli
DevOps i chmura · Przegląd i audyt

resolving-mcp-region-configs

/resolving-mcp-region-configs

Sprawdza przed użyciem regionalne serwery MCP Google Cloud, np. Dataproc, i naprawia nierozwinięte symbole regionu w adresie.

Licencja
Apache-2.0
Ostatnia zmiana repozytorium
13.10.2026

Ocena i bezpieczeństwo

90/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść25 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
1
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
2
Przestarzałość

Brak sygnałów. Repozytorium zmienione 13.10.2026, bez odwołań do wycofanych modeli i API.

Licencja

Apache-2.0, otwarta: można używać i zmieniać, z zachowaniem licencji i informacji o zmianach.

Co robi i kiedy

Sprawdza przed użyciem regionalne serwery MCP Google Cloud, np. Dataproc, i naprawia nierozwinięte symbole regionu w adresie.

Oryginalny opis (EN)

Mandatory Step 0 pre-flight check for regional Google Cloud MCP servers (e.g. Dataproc) before using MCP tools or falling back to gcloud/bq CLI. Use whenever interacting with Dataproc clusters, Spark batches, jobs, sessions, or regional GCP resources. Fixes regional MCP servers whose endpoint URL still has an unreplaced $GCP_REGION / ${REGION} placeholder across Claude Code, Codex, and Antigravity. Trigger: an expected mcp__*_{service}_* tool is missing entirely (not just failing), or a call to one fails/hangs on a malformed host. Check via ToolSearch/deferred-tools listing before falling back

Jak działa

  1. Mandatory Step 0 Pre-Flight Check
  2. When to use
  3. Locating the live config
  4. Procedure
Sekcje z nagłówków SKILL.md, w oryginale · 68 linii, 448 słów
Podgląd SKILL.md
---
name: resolving-mcp-region-configs
description: >-
  Mandatory Step 0 pre-flight check for regional Google Cloud MCP servers (e.g. Dataproc) before using MCP tools or falling back to gcloud/bq CLI.
  Use whenever interacting with Dataproc clusters, Spark batches, jobs, sessions, or regional GCP resources.
  Fixes regional MCP servers whose endpoint URL still has an unreplaced $GCP_REGION / ${REGION} placeholder across Claude Code, Codex, and Antigravity.
  Trigger: an expected mcp__*_{service}_* tool is missing entirely (not just failing), or a call to one fails/hangs on a malformed host. Check via ToolSearch/deferred-tools listing before falling back to gcloud/bq CLI. Asks the user for a region, patches the live MCP config file(s), and tells the user how to restart without losing session context.
license: Apache-2.0
metadata:
  version: v4
  publisher: google
---

# Regional MCP Server Configuration

## Mandatory Step 0 Pre-Flight Check

> [!IMPORTANT] **Pre-Flight Check Before Using Dataproc / Regional Services or
> Falling Back to CLI**: Whenever a task involves a regional Google Cloud
> service (e.g. Dataproc clusters, Spark batches, jobs, or sessions): 1. **Check
> for MCP tools first**: Before executing any `gcloud dataproc` or CLI commands,
> check whether the expected `mcp__*__<service>__*` tools (e.g.
> `mcp__*__dataproc__*`) are registered in the current environment (`ToolSearch`
> or deferred tools). 2. **If tools are missing or calls fail/hang on a
> malformed host**: Do **NOT** immediately fall back to `gcloud`/`bq` CLI.
> Inspect the live MCP configuration files (below) for unreplaced `$GCP_REGION`
> or `${REGION}` placeholders. 3. **If the region
> placeholder is already replaced with a valid region (e.g. `us-central1`)**:
> This skill does not apply — proceed normally with the task.

Some Google Cloud MCP servers are region-scoped (e.g. Dataproc:
`https://dataproc-$GCP_REGION.googleapis.com/mcp`). If the region placeholder
was never filled in, the server fails to connect **silently** — it registers
zero tools, with no error and no placeholder string visible anywhere to notice.
Treat a missing `mcp__*__<service>__*` tool as the trigger, not just a failed
call — that's the most common way this skill gets skipped in favor of a
`gcloud`/`bq` fallback.

## When to use

-   User asks to use a regional service (e.g. "list dataproc clusters"), and the
    matching `mcp__*` tools aren't present — check `ToolSearch` or the
    deferred-tools listing first — or a call to one fails/hangs on a malformed
    host.
-   Then inspect the live config (below) for `$GCP_REGION` or
    `${REGION}`. If found, run the procedure. If the region is
    already set, this skill doesn't apply — investigate normally instead.

### Supported services

-   **Dataproc**: `https://dataproc-$GCP_REGION.googleapis.com/mcp`

## Locating the live config

The file actually loaded at runtime is under the plugin's install/cache path,
not just any workspace copy — edit that one (and the source copy, best-effort,
so the fix survives a reinstall):

-   **Claude Code**:
    `~/.claude/plugins/cache/<marketplace>/dak/<version>/.claude-plugin/mcp.json`
    (get `<marketplace>`/`<version>` from
    `~/.claude/plugins/installed_plugins.json`). Also check
    `./.claude-plugin/mcp.json` and `claude_desktop_config.json`.
-   **Codex**: `~/.codex/plugins/cache/<marketplace>/dak/<version>/mcp.json`.
-   **Antigravity**: `./mcp_config.json` or
    `~/.gemini/antigravity/mcp_config.json`.

## Procedure

1.  You MUST NOT call the regional tools yet — there likely aren't any to call.
2.  You MUST ask the user for their GCP region (e.g. `us-central1`). You MUST
    NOT guess.
3.  You MUST edit the placeholder to that region in the config file(s) above.
4.  You MUST tell the user to restart — MCP connections load once at startup and
    won't hot-reload mid-session. Restarting does **not** lose the conversation:

    -   **Claude Code**: `claude --resume` (or `--continue`)
    -   **Codex**: `codex resume --last` (or `codex resume` for a picker)
    -   **Antigravity**: use its resume/history picker if available

Wersje

W bazie nie ma innych skilli o nazwie resolving-mcp-region-configs.

Identyczna treść występuje jeszcze w 1 innych folderach na GitHubie. Tu pokazujemy jedną, najlepiej ocenioną kopię.

Migawka bazy z 28.10.2026 · wersja paczki 12abaae2b35e (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 0 · ranking

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 100google-cloud-auth-verification
    Wymusza krok zerowy przed pracą z Google Cloud: weryfikacja uwierzytelnienia ADC, gcloud, Spark, Dataproc, BigQuery, GCS i środowisk notebooków.
  • 90gcp-managed-spark-upgrades
    Przenosi zadania Spark w Dataproc na nowszą wersję obrazu: analizuje je, poprawia i testuje na docelowej wersji.
  • 100mcp-servers
    Konfiguruje, instaluje i utrzymuje zarządzane przez Google oraz własne serwery MCP dla GCP: uwierzytelnianie (ADC i klucz SA), mapa możliwości, diagnostyka, śledzenie wersji i zapasowe polecenia gcloud.
  • 100gcloud-cli-health-check
    Sprawdza kondycję Google Cloud CLI: instalację, uwierzytelnienie, aktywny projekt, region, włączone API, token dostępu, rozliczenia, wiązania IAM, konta usługowe i usługi Cloud Run w projektach głównym i dodatkowym.
  • 100gcloud
    Wspiera pracę z Google Cloud CLI: konfiguracje, konta usługowe, impersonacja IAM i skrypty Cloud SDK do automatyzacji zasobów GCP.
  • 85gcp-spark
    Pisze i uruchamia kod Spark na Dataproc i Dataproc Serverless, czyta i zapisuje dane w BigLake Iceberg, BigQuery i Spanner oraz debuguje błędy.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.