gconnect-mcp-all-v1
gconnect-mcp-all-v1
True Model B Google Marketing MCP for Claude.ai Custom Connectors.
Dies ist kein reiner GA4-Connector und kein reiner Google-Ads-Connector. Es ist eine gemeinsame Plattform mit derzeitig zwei Produktadapter und einem reservierten Erweiterungspuntkt für DV360.
Operator
+-- Google Connection A
| +-- GA4 properties
| +-- Google Ads customers / MCC hierarchy
+-- Google Connection BDas sub des MCP-JWT ist immer die interne operatorId. Das sub von Google OpenID wird ausschließlich unter google_connectionsgoogle gespeichert.
Architekt
flowchart TB
Claude["Claude.ai"]
McpAuth["MCP OAuth 2.1"]
Operator["operators operatorId"]
Resolver["ConnectionResolver"]
Ga4["GA4 adapter"]
Ads["Google Ads adapter"]
Dv360["DV360 future"]
Ga4Api["GA4 APIs"]
AdsApi["Ads REST v25"]
Claude --> McpAuth
McpAuth --> Operator
Operator --> Resolver
Resolver --> Ga4
Resolver --> Ads
Resolver -.-> Dv360
Ga4 --> Ga4Api
Ads --> AdsApiSiehe docs/architecture.
Related MCP server: GA4 MCP Server
Identität
Die MCP-Authentifizierung beantwortet die Frage: Wer ist der Operator?
Google OAuth beantwortet die Frage: Welches Google-Konto ist verbunden?
Die Eindeutigkeit ist
(operatorId, googleSubjectId), nie E-Mail und nie ein globales Google-ubject.
Siehe docs/identity-model.md.
Persistenz
Nur die verantwortet benannte Firestore-Datenbank gconnect-mp-all-v1 verwenden.
Verenden Sie nicht (default)V1 oder ga4-mcp-v3 (V3). **Start` ablehnt diese I.
Siehe docs/Google-connections.md.
Lkal Entwicklung
Kopieren Sie
.env.examplenach.envund füllen Sie die Platzhalter aus. Kopieren Sie keine Secrets aus V3.npm installnpm testnpm run typechecknpm run dev
Die URL des Claude Custom Connectors lautet http://localhost:3000/mcp. Health ist GET /health.
GP v25
Verwendet die offizielle Google-Ad-REST-v25. Nur-Lese-Zugriff. Das App-Entwickler-Token ist ein Anwendungsgeheimnis (GOOGLE_GOOGLE_DEVELOPPER_TOKEN), niemals eine OAuth-Credential eines Benuzers.
Der Server is login-customer-id von der MCC abgeleitet. IDs with Bindestrich sind vor API-Nutzung normalisiert.
Siehe docs/google-ads.md und docs/ga4.md.
Deployment
Cloud Run, nicht authentierter Ingress, Main Database gconnect-mp-all-v1.
.\scripts\cloud-run-setup.ps1 -ProjectId YOUR_PROJECT
.\scripts\cloud-run-deploy.ps1 -ProjectId YOUR_PROJECT
.\scripts\cloud-run-set-env.ps1 -ProjectId YOUR_PROJECT -AppBaseUrl https://... -GoogleClientId ... -GoogleClientSecret ... -McpTokenSecret ... -OauthStateSecret ... -TokenEncryptionKey ... -GoogleAdsDeveloperToken ...Siehe docs/deployment.md und docs/security.md.
This server cannot be deployed
Maintenance
Related MCP Connectors
GA4, Google Ads and Search Console in Claude. Read-only OAuth, multi-account for agencies.
Multiple Google accounts (Gmail, Calendar, Drive, Contacts, Tasks) in one Claude connector.
Multiple Google accounts (Gmail, Calendar, Drive, Contacts, Tasks) in one Claude connector.
Read-only Google Analytics 4 MCP server for AI assistants.
1
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceUnified MCP server for managing Meta Ads, LinkedIn Ads, Google Ads, GA4, and Search Console with 89 read/write tools, multi-account support, OAuth setup, and safe dry-run mutations.MIT
- AlicenseAqualityBmaintenanceConnects MCP clients like Claude Desktop to Google Analytics 4 Data API, enabling natural language queries for reports, top pages, traffic sources, conversions, realtime users, and period comparisons.720 PyPIMIT
- AlicenseNot gradedqualityDmaintenanceA unified MCP server that gives AI assistants direct access to Google Analytics 4, Google Search Console, Google Ads and Google Merchant Center data using OAuth2 user credentials.MIT
- AlicenseBqualityCmaintenanceEnables Claude and other MCP-capable assistants to monitor and manage Google Ads accounts by pulling performance reports, running GAQL queries, adjusting budgets, pausing or enabling campaigns, adding keywords and negative keywords, and creating campaigns and ads, with preview and read-only safety controls.31Apache 2.0