インストール不要。2分以内に動きます。
cloud.anythingmcp.com で無料トライアルを開始し、Firebase をワンクリックで追加して、AI クライアント(Claude、ChatGPT、Copilot、Cursor)を生成された MCP エンドポイントに向けるだけ。Docker も git clone も、開発経験も不要です。
AnythingMCP は Claude のコネクタディレクトリに掲載されています。ワンクリックで Claude に追加 (新しいタブで開きます)し、サインインして Claude が使える MCP サーバーを選んでください。
概要
AI が Firebase を扱えるようにします。プロジェクトとアプリの一覧、Cloud Firestore の閲覧とクエリ、ドキュメントの作成と更新、Authentication ユーザーの検索と無効化、Remote Config の読み取りに加えて、(デフォルトでは無効の)Remote Config の公開やプッシュ通知の送信もできます。Google アカウントでサインインします。
こう聞いてみよう
Firebase のサンプルプロンプト
プロンプトをクリックでコピー。Claude / ChatGPT / Cursor / Gemini / Copilot / OpenClaw に貼り付けて、このコネクターで実行できます。
Claude は AI のため誤ることがあります。回答をご確認ください。
💡 インストール不要? cloud.anythingmcp.com を直接利用してください。 サインインし、Connectors → Firebase をクリック、認証情報を貼り付け、MCP API キーを発行すれば完了です。Docker も
git cloneもローカルサーバーも不要。
Firebase + Claude
AI が Firebase を扱えるようにします。プロジェクトとアプリの一覧、Cloud Firestore の閲覧とクエリ、ドキュメントの作成と更新、Authentication ユーザーの検索と無効化、Remote Config の読み取りに加えて、(デフォルトでは無効の)Remote Config の公開やプッシュ通知の送信もできます。Google アカウントでサインインします。
前提条件
完全なセットアップ手順はコネクタ自体に組み込まれています (ストアでコネクタを選択すると表示)。必要な環境変数:
GOOGLE_CLIENT_ID, GOOGLE_CLIENT_SECRET
ステップ 1 — 認証情報を取得
- console.cloud.google.com を開き、Firebase プロジェクトの Google Cloud プロジェクト(プロジェクト ID は同じです)を選択します。OAuth クライアントはそこで作成するのが最も簡単です。API 呼び出しはクライアントのプロジェクトに対してカウントされ、そのプロジェクトで API を有効にしておく必要があるためです。
- APIs & Services → Library で、使う API を有効にします: Firebase Management API、Cloud Firestore API、Identity Toolkit API、Firebase Remote Config API、Firebase Cloud Messaging API。
- APIs & Services → OAuth consent screen を開きます。Google Workspace を使っている場合は Internal(最も簡単です)、それ以外は External を選びます。External の場合は公開ステータスを In production にしてください。アプリが Testing のままだと、Google は 7 日後にリフレッシュトークンを取り消し、コネクタは毎週動かなくなります。
- APIs & Services → Credentials → Create credentials → OAuth client ID を開き、アプリケーションの種類に Web application を選んで、承認済みのリダイレクト URI に
https://cloud.anythingmcp.com/api/mcp-oauth/callbackを追加します。AnythingMCP をセルフホストしている場合は、代わりにhttps://your-anythingmcp-host/api/mcp-oauth/callbackを入力します。 - クライアント ID を
GOOGLE_CLIENT_IDに、クライアントシークレットをGOOGLE_CLIENT_SECRETに貼り付けてコネクタをインストールし、Authorize with Provider をクリックして、Firebase プロジェクトのメンバーであるアカウントでサインインします。
すべての Google コネクタに 1 つの Google クライアント: 同じ Cloud プロジェクトと OAuth クライアントで、Gmail や Google Sheets から Search Console、BigQuery まで、すべての Google コネクタを使えます。そのプロジェクトで各 API を有効にし、同じクライアント ID とシークレットを使い回して、コネクタごとに一度ずつ承認してください。
スコープとロール: コネクタは https://www.googleapis.com/auth/cloud-platform を求めます。より狭い Firebase のスコープでは、ユーザー管理と Remote Config をカバーできないためです。AI ができることは、プロジェクト内でのアカウントのロールによって制限されます。読み取り専用で使うなら Firebase Viewer と Cloud Datastore Viewer を付与してください。変更には Cloud Datastore User、Firebase Authentication Admin、Firebase Remote Config Admin、Firebase Cloud Messaging Admin などのロールが必要です。
できること: プロジェクトと、その Android、iOS、Web アプリの一覧。Firestore のコレクションとドキュメントの閲覧と、フィルタ、並べ替え、件数制限を使ったクエリ。ドキュメントの作成と更新。Authentication ユーザーの検索と一覧、サインインの無効化と再有効化。Remote Config テンプレートとそのバージョン履歴の読み取り。
変更はあなたの承認を待ちます: firebase_create_document、firebase_update_document、firebase_set_user_disabled の前に、AI は何が変わるかを正確に伝え、はっきりとした承認を待ちます。変更は本番のアプリにすぐ反映されます。ここでは Firestore セキュリティルールは適用されません。コネクタは Admin SDK と同じように、サインインしたアカウントの権限で動作します。
インストール時に無効: firebase_delete_document(完全に削除します)、firebase_publish_remote_config(すべてのアプリの本番設定を置き換えます)、firebase_send_message(実際のデバイスに実際のプッシュ通知を送ります)。必要に応じて、管理者が 1 つずつ有効にします。有効にした後も、AI はまず検証実行で変更を確認し、あなたの承認後にだけ公開または送信します。
Firestore の読み取りは課金されます: 返されたドキュメントはすべて Firebase の請求で読み取りとしてカウントされるため、AI はページを小さく保ち(デフォルトで 20 ドキュメント)、必要なフィールドだけを要求します。あるフィールドでのフィルタと別のフィールドでの並べ替えを組み合わせるには複合インデックスが必要で、エラーメッセージにはそれを作成するページへのリンクが含まれます。ユーザーのパスワードハッシュとソルトは決して返されません。
対象外: Crashlytics には文書化された公開 REST API がないため、クラッシュデータは利用できません。Cloud Storage のファイル、Realtime Database、Data Connect、App Check、Analytics も対象外です。
よくあるエラー: 401 は承認の期限切れまたは取り消しを示します。もう一度 Authorize with Provider をクリックしてください。403 PERMISSION_DENIED で「API has not been used in project」と表示される場合や SERVICE_DISABLED の場合: OAuth クライアントの Cloud プロジェクトでその API を有効にしてください。それ以外の 403 は、アカウントに必要なロールがないことを示します。404: プロジェクト ID、データベース ID、パスが間違っています(コレクションのパスが必要なところにドキュメントのパスを指定した、またはその逆)。400 FAILED_PRECONDITION「The query requires an index」: メッセージ内のリンクを開いてインデックスを作成してください。Remote Config の公開時の 409: その間にテンプレートが変更されたため、AI がもう一度読み込みます。429: クォータに達しました。少し待ってから再試行してください。
ステップ 2 — アダプターをインストール
curl -fsSL https://raw.githubusercontent.com/HelpCode-ai/anythingmcp/main/docker-compose.quickstart.yml -o docker-compose.yml
printf 'JWT_SECRET=%s\nENCRYPTION_KEY=%s\n' "$(openssl rand -hex 32)" "$(openssl rand -hex 32)" > .env
docker compose up -d
ステップ 3 — Claude にコネクタを追加
サーバーURL: AnythingMCP で MCP Servers を開き、このコネクタがあるサーバーを選んで URL(
https://cloud.anythingmcp.com/mcp/…)をコピーします。このガイドでYOUR_SERVER_IDと表示されている箇所に使ってください。
推奨ルート:設定ファイルを触らずに claude.ai web で動作します。
- Claude で Customize → Connectors を開きます。
- + をクリックし、Add custom connector を選びます。
- 名前(例:
Firebase)とリモート MCP サーバー URLhttps://cloud.anythingmcp.com/mcp/YOUR_SERVER_IDを入力し、Add をクリックします。 - Connect をクリックし、AnythingMCP にサインイン(OAuth)してアクセスを許可します。
下記のすべてのツールがチャットに表示されます。プロンプトを入力し始めてください。
利用可能なツール
| Tool | What it does |
|---|---|
firebase_list_projects | List the Firebase projects the signed-in account can access, with projectId, display name, project number and state |
firebase_get_project | Get one Firebase project: display name, project number, state and its default resources (Hosting site, Realtime Database instance, Storage… |
firebase_list_apps | List the apps registered in a Firebase project (Android, iOS and web) with appId, display name, platform, bundle or package namespace and… |
firebase_list_collections | List Firestore collection ids: the top-level collections of the database, or the subcollections of one document |
firebase_list_documents | List the documents of a Firestore collection with their typed fields, a page at a time (default 20) |
firebase_get_document | Get one Firestore document with its typed fields and create and update times |
firebase_query_documents | Query a Firestore collection with filters, ordering and a limit (structured query, read-only) |
firebase_create_document | Create a Firestore document in a collection with typed fields |
firebase_update_document | Update fields of an existing Firestore document |
firebase_delete_document | Permanently delete a Firestore document (its subcollections stay) |
firebase_lookup_users | Find Firebase Authentication users by email address, uid or phone number: sign-in providers, verified email, disabled flag, creation and… |
firebase_list_users | List the Firebase Authentication users of a project, a page at a time (default 100), with email, providers, disabled flag and sign-in times |
firebase_set_user_disabled | Disable or re-enable a Firebase Authentication user's sign-in |
firebase_get_remote_config | Get the current Remote Config template of a project: conditions, parameters with default and conditional values, parameter groups and… |
firebase_list_remote_config_versions | List the published Remote Config versions of a project, newest first: version number, update time, who published it, how (console, REST… |
firebase_publish_remote_config | Publish a new Remote Config template |
firebase_send_message | Send one Firebase Cloud Messaging notification or data message to a device token, a topic or a condition |
プロンプトの例
- 「Firebase プロジェクトと、それぞれの Android、iOS、Web アプリを一覧してください。」
- 「Firestore の orders で、ステータスが open の最新ドキュメントを 10 件見せてください。」
- 「Firebase Authentication に [email protected] というメールアドレスのユーザーはいますか?最後にサインインしたのはいつですか?」
- 「[email protected] のアカウントのサインインを無効にしてください。実行する前に、どのアカウントか教えてください。」
- 「Remote Config テンプレートには何が含まれていますか?直近 3 つのバージョンは誰が公開しましたか?」
FAQ
Claude Code は Claude Desktop と同じように動作しますか? はい。両方を https://cloud.anythingmcp.com/mcp/YOUR_SERVER_ID に向けてください。
次のステップ
このガイドは役に立ちましたか?