Query Firestore collections, manage Firebase Auth users, and send FCM push notifications from any AI workflow.
Use with AI AssistantsMCP
Connect Claude, Cursor, or any MCP-compatible client — then call tools directly
① Add This MCP Server
Paste into your AI client config — then all its tools are available instantly.
{
"mcpServers": {
"firebase": {
"url": "https://mcp.aerostack.dev/s/aerostack/mcp-firebase",
"headers": {
"Authorization": "Bearer YOUR_AEROSTACK_TOKEN"
}
}
}
}Replace YOUR_AEROSTACK_TOKEN with your API token from the dashboard.
② Call a Tool
Ask your AI assistant to call a specific tool, or send raw JSON-RPC:
Natural Language Prompt
“Use the get_document tool to get a firestore document by collection and document id. returns parsed fields as a plain js object”
Using a Workspace?
Add this MCP to your Workspace — your team shares one token, secrets are stored securely, and every AI agent in the workspace can call it without per-user setup.
Read and write Firestore documents, manage Auth users, and send push notifications.
Firebase is Google's app development platform powering millions of mobile and web apps. This MCP server covers three of its most-used services: Firestore (document database), Firebase Auth (user management), and FCM (push notifications) — letting your AI agents read live app data, manage user accounts, and push notifications directly without touching your app's backend code.
Live endpoint: https://mcp.aerostack.dev/s/aerostack/mcp-firebase
| Tool | Description |
|---|---|
get_document | Get a Firestore document by collection and document ID |
set_document | Create or overwrite a document completely |
update_document | Partially update specific fields without overwriting others |
delete_document | Delete a document by collection and document ID |
query_collection | Query documents with field filtering (EQUAL, LESS_THAN, GREATER_THAN, ARRAY_CONTAINS) |
list_documents | List documents in a collection with pagination support |
list_users | List Firebase Auth users (uid, email, displayName, disabled, createdAt) |
get_user | Get a user profile by UID or email address |
create_user | Create a new user with email and password |
disable_user | Disable or re-enable a user account by UID |
send_push_notification | Send a push notification to a single device token |
send_multicast_push | Send a push notification to multiple device tokens (up to 500) |
| Variable | Required | Description | How to Get |
|---|---|---|---|
FIREBASE_PROJECT_ID | Yes | Your Firebase project ID (e.g. my-app-12345) | console.firebase.google.com → Your Project → Project Settings → General → copy Project ID |
FIREBASE_SERVICE_ACCOUNT_KEY | Yes | Full JSON of your service account key file | console.firebase.google.com → Your Project → Project Settings → Service accounts → Generate new private key → paste the entire JSON file content |
FIREBASE_PROJECT_ID and FIREBASE_SERVICE_ACCOUNT_KEY under Project → SecretsOnce added, every AI agent in your workspace can call Firebase tools automatically — no per-user setup needed.
"Get the document at users/usr_abc123 from Firestore"
"Find all orders in the orders collection where status equals pending"
"Send a push notification to device token abc123 with title Order Shipped and body Your package is on the way"
curl -X POST https://mcp.aerostack.dev/s/aerostack/mcp-firebase \
-H 'Content-Type: application/json' \
-H 'X-Mcp-Secret-FIREBASE-PROJECT-ID: your-project-id' \
-H 'X-Mcp-Secret-FIREBASE-SERVICE-ACCOUNT-KEY: {"type":"service_account",...}' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"list_users","arguments":{}}}'
MIT
Live Endpoint
https://mcp.aerostack.dev/s/aerostack/mcp-firebase
Sub-50ms globally · Zero cold start
@aerostack
Pre-built functions for the most common MCP tool patterns. Clone, extend, and deploy.
by @aerostack
Discover and invoke any MCP, Function, or Skill published to the Aerostack marketplace — the universal AI capability hub.
by @aerostack
Search indexes, manage records, browse data, and configure ranking in Algolia — AI-native instant search access.
by @aerostack
Query documents, run AQL, traverse graphs, and manage collections in your ArangoDB database — AI-native multi-model database access.
by @aerostack
Post, schedule, and analyze social media across 13 platforms — Facebook, Instagram, X, LinkedIn, TikTok, Bluesky, Threads, Reddit, Pinterest, YouTube, Telegram, Snapchat, Google Business.
by @aerostack
Manage projects, to-dos, messages, schedules, and campfire chats in Basecamp — AI-native project management.
by @aerostack
Run SQL queries, list datasets and tables, inspect schemas, and export results from Google BigQuery — AI-native data warehouse access.
Yes. query_collection accepts field filters, ordering, and limit parameters. Claude translates natural-language requests into Firestore query constraints and returns matching documents as JSON.
Both. send_push_notification targets a single FCM registration token; send_multicast_push accepts an array of tokens for fan-out. Topic-based messaging requires a direct FCM API call not covered by this MCP.
Yes. disable_user takes a Firebase UID and sets the account to disabled via Admin SDK. Claude can combine get_user to verify identity before disabling, reducing the risk of acting on the wrong account.
It uses the Admin SDK with a service account, which bypasses Firestore Security Rules. Ensure the service account key is scoped to least-privilege IAM roles, since rule-based access controls do not apply.