BBB
AEO Score: 0.60 / 1.00

Firebase

Database
Adequate โ€” Basic agent connectivity available
Agent Ready
Connectable
MCP Type
Third-party
Success Rate
๐ŸŸข High
Agent Activity
โ— New
Recipes
โ€”

Get Full Integration Guide

Current auth setup, endpoints, rate limits, known pitfalls, and step-by-step recipes โ€” kept fresh from registry checks, curated official-doc guides, and agent reports.

npx @kansei-link/mcp-server

Then use: search_services โ†’ get_service_detail

How to Connect Firebase to an AI Agent

Auth setup

1. Create a service account in Google Cloud Console > IAM & Admin > Service Accounts. 2. Download the JSON key and set GOOGLE_APPLICATION_CREDENTIALS. 3. Run `firebase login` for interactive use. 4. For MCP: `npx firebase-tools experimental:mcp` uses the current gcloud auth context.

Key facts

Base URLhttps://firebase.googleapis.com/v1beta1/
API versionv1beta1 (management) + product APIs (Firestore, Auth, etc.)
AuthGoogle OAuth 2.0 with service account or user credentials. Service accounts use JWT-based access tokens (ADC). Admin SDK is preferred for server-side agent use. For MCP, the `firebase-tools experimental:mcp` command uses existing gcloud credentials.
Token URLhttps://oauth2.googleapis.com/token
Scopeshttps://www.googleapis.com/auth/cloud-platform (all Firebase features), or scoped per-product.
Request bodyapplication/json
PaginationStandard Google API pagination: `pageSize` and `pageToken` query params; response has `nextPageToken`.
Rate limitFirestore: 500 writes/sec per database baseline; reads are effectively unmetered. Auth: 3,000 requests/min. Management API: 600 req/min per project. 429 or 403 quotaExceeded errors on overload.
Error formatGoogle RPC error format: {"error":{"code":403,"message":"...","status":"PERMISSION_DENIED","details":[...]}}

Key endpoints

MethodPathDescription
GET/projects/{projectId}Get project metadata
GET/projects/{projectId}/databasesList Firestore databases
POST/projects/{projectId}/databases/{dbId}/documents:runQueryRun a structured Firestore query
GET/projects/{projectId}/webAppsList web apps registered under the project
POST/projects/{projectId}/rules:deployDeploy new security rules

Quickstart

GET https://firebase.googleapis.com/v1beta1/projects/my-project
Authorization: Bearer {access_token}

Response: {"projectId":"my-project","displayName":"My App","resources":{"realtimeDatabaseInstance":"..."}}

Agent pitfalls & tips

Source: curated by KanseiLink from official documentation (docs) and registry checks. Last reviewed: 2026-04-10. Specs change โ€” verify against the official docs before production use.

Frequently Asked Questions

What is Firebase's AEO score? โ–ผ
Firebase has an AEO score of 0.60 and is rated BBB (Basic agent connectivity available). AEO (Agent Engine Optimization) measures how well a SaaS service works with AI agents. Scores range from 0.00 to 1.00, with grades from AAA (best) to D (not agent-ready).
Is Firebase AI-agent-ready? โ–ผ
Firebase is currently connectable for AI agent use. Third-party MCP integrations are available for this service. For detailed connection guides, auth setup, and known pitfalls, use the KanseiLink MCP tool.
How does Firebase compare to other Database services? โ–ผ
In the Database category, Firebase is rated BBB. KanseiLink evaluates services based on MCP availability, API quality, documentation, auth-guide clarity, and integration recipe availability (methodology published). Visit the full rankings at kansei-link.com to see how Firebase compares.
How can I integrate Firebase with an AI agent? โ–ผ
The fastest way to integrate Firebase with an AI agent is through KanseiLink MCP. Install it with: npx @kansei-link/mcp-server โ€” then use the search_services and get_service_detail tools to get the current auth setup, endpoints, rate limits, and agent-specific tips. This data is kept fresh from registry checks, curated official-doc guides, and agent reports.
How do I authenticate with Firebase? โ–ผ
Google OAuth 2.0 with service account or user credentials. Service accounts use JWT-based access tokens (ADC). Admin SDK is preferred for server-side agent use. For MCP, the `firebase-tools experimental:mcp` command uses existing gcloud credentials. Setup: 1. Create a service account in Google Cloud Console > IAM & Admin > Service Accounts. 2. Download the JSON key and set GOOGLE_APPLICATION_CREDENTIALS. 3. Run `firebase login` for interactive use. 4. For MCP: `npx firebase-tools experimental:mcp` uses the current gcloud auth context.
What are Firebase's API rate limits? โ–ผ
Firestore: 500 writes/sec per database baseline; reads are effectively unmetered. Auth: 3,000 requests/min. Management API: 600 req/min per project. 429 or 403 quotaExceeded errors on overload.