ファイアーコンフィグMCP
設定
1. 依存関係をインストールする
2. serviceAccount.json
を作成して配置する
サーバーが Firebase Remote Config にアクセスできるようにするには、Google Cloud サービス アカウント キー ファイルが必要です。
A. Google Cloud Console(ポイントアンドクリック)
- Firebase アプリを所有している同じ GCP プロジェクト内で**、[IAM と管理] → [サービス アカウント]**を開きます。
- サービスアカウントの作成をクリック
- 名前:
mcp-remote-config
(任意の名前で構いません) - 説明: 「MCPサーバー - リモート設定アクセス」
- 名前:
- このサービス アカウントにアクセス権を付与します。
- ロール ピッカーで、リモート Config ビューアーまたはリモート Config 管理者(必要に応じて) を検索して選択します。
- テンプレートの条件で GA4 オーディエンスを参照する場合は、必要に応じてFirebase Analytics Viewerを追加します。
- 終了→完了。
- リストで、アカウント →キータブ→キーの追加→新しいキーの作成→ JSONをクリックします。
- JSON ファイルをダウンロードし、
serviceAccount.json
としてプロジェクト ルートに配置します。
注意:
serviceAccount.json
バージョン管理にコミットしないでください。既に.gitignore
に含まれています。
3. サーバーを実行する
デフォルトでは、サーバーはポート 3000 で起動します。
使用法
この MCP サーバーをクライアント (例: Cursor、Claude Desktop、または独自の MCP クライアント) に追加します。
カーソル内:
- カーソル設定 → 機能 → 新しい MCP サーバーの追加を開きます。
- コマンドには以下を使用します:
npx -y スーパーゲートウェイ --sse http://localhost:3000/mcp
"fire-config-mcp": { "command": "npx", "args": [ "-y", "supergateway", "--sse", " http://localhost:3000/mcp " ] } ``` (または、環境で設定されているパス/コマンドを使用します。) 3. 保存して接続します。
独自の MCP クライアント (TypeScript の例):
@modelcontextprotocol/sdkクライアントを使用してこのサーバーに接続できます。
詳細については、 MCP TypeScript SDK のドキュメントを参照してください。
このプロジェクトは、bun v1.2.7 のbun init
を使用して作成されました。Bunは高速なオールインワン JavaScript ランタイムです。
This server cannot be installed
local-only server
The server can only run on the client's local machine because it depends on local resources.
Firebase Remote Config へのアクセスを提供し、クライアントがモデル コンテキスト プロトコルを通じて Firebase のリモート構成設定を操作および管理できるようにする MCP サーバー。
Related MCP Servers
- AsecurityFlicenseAqualityA server providing a unified interface to interact with Firebase services, including Authentication, Firestore, and Storage.Last updated -97TypeScript
- AsecurityAlicenseAqualityThe Firebase MCP server provides a standardized interface to interact with Firebase services, including Firebase Authentication, Firestore, and Firebase Storage.Last updated -9346172TypeScriptMIT License
- -securityFlicense-qualityAuto-generated MCP server that enables interaction with the Firebase App Distribution API, allowing users to manage distribution of pre-release app builds to testers through natural language commands.Last updated -Python
- -securityFlicense-qualityAn MCP Server providing access to Google's Firebase API, allowing natural language interaction with Firebase services and resources.Last updated -Python