Google Analytics MCP for Coolify
Coolify向けGoogle Analytics MCP
このパッケージは、Googleの公式実験版analytics-mcpパッケージの前に、セキュアなFastMCP HTTP/OAuthゲートウェイを配置します。これは別のCoolifyアプリケーションとしてデプロイすることを意図しており、既存のGoogle Ads MCPデプロイメントを変更するものではありません。
提供するもの
/mcpでのストリーミング可能なHTTP MCPエンドポイントリモートMCPエンドポイントのためのGoogle OAuth保護
MCP OAuth登録とトークンのための暗号化された永続ストレージ
公式
analytics-mcpパッケージからのGoogle Analytics管理APIおよびデータAPIツール認可ユーザーADC JSONまたはサービスアカウントJSONキーのサポート
Related MCP server: Google MCP Server
必要なCoolify設定
/data に永続ストレージマウントを作成し、ポート 8080 を公開します。
新しいAnalyticsアプリケーションに以下の環境変数を設定します:
変数 | 目的 |
| 既存のGoogle CloudプロジェクトID |
| 最終的なHTTPSオリジン( |
| Google OAuthウェブクライアントID |
| Google OAuthウェブクライアントシークレット |
| MCPトークンの署名に使用される長いランダムシークレット |
| 保存されたOAuthデータの暗号化に使用されるFernetキー |
| Analyticsで認可されたADC JSON(1つのシークレット値として入力) |
PORT はオプションで、デフォルトは 8080 です。
Google Cloudの設定
同じGoogle Cloudプロジェクトで両方のAPIを有効にします:
Google Analytics管理API
Google AnalyticsデータAPI
OAuthクライアントはウェブアプリケーションである必要があります。最終的なドメインが割り当てられた後、以下の認証済みリダイレクトURIを追加します:
https://YOUR-ANALYTICS-MCP-DOMAIN/auth/callbackChatGPTに追加されるMCP URLは次のとおりです:
https://YOUR-ANALYTICS-MCP-DOMAIN/mcp重要な認証情報の分離
既存のAdsアプリケーションを変更したり、その認証情報を置き換えたりしないでください。GOOGLE_ANALYTICS_CREDENTIALS_JSON の値は、この別のAnalyticsアプリケーションにのみ属し、https://www.googleapis.com/auth/analytics.readonly スコープを含める必要があります。
Google OAuth同意画面がテスト中のとき、Googleは認可ユーザーのリフレッシュトークンを7日後に期限切れにする場合があります。これはGoogle OAuthのテスト制限であり、Coolifyの障害ではありません。
バージョン
analytics-mcp==0.7.0fastmcp==3.4.7Python 3.11
バージョンの固定により、デプロイメントが再現可能になります。更新前に上流のリリースを確認してください。
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityCmaintenanceA FastMCP-powered server that connects Google Analytics 4 data to Claude Desktop with automatic OAuth 2.0 authentication, enabling users to access GA4 metrics, properties, and reports through natural language queries.18MIT
- Alicense-qualityDmaintenanceA 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
- Alicense-qualityCmaintenanceA GCP-hosted MCP server for Google Analytics GA4 where each user logs in with their own Google account and queries are scoped to that user's permissions.Apache 2.0
- Flicense-qualityCmaintenanceEnables MCP clients to read Google Analytics 4 data, deployed as a Cloudflare Worker with service account authentication.1
Related MCP Connectors
Self-hosted federated MCP gateway: one OAuth 2.1 MCP server in front of N apps, user-level scopes.
Google-OAuth-gated LLM gateway: verify a Google ID token, then run a Gemini (Vertex AI) completion f
Streamable HTTP MCP server for Google Calendar and Sheets with OAuth login.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/ccsDevs/google-analytics-mcp-coolify'
If you have feedback or need assistance with the MCP directory API, please join our Discord server