Aerostack
electrical_services

Firebase MCP Server — Hosted Api Connectors Integration

MCP Server language Hosted language Public

Query Firestore collections, manage Firebase Auth users, and send FCM push notifications from any AI workflow.

aerostack @aerostack verified
v0.1.0 MIT Updated May 13, 2026
robot_2

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.

.claude/mcp.json
{
  "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:

+6 more

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.

add_circleAdd to Workspace

description Overview

mcp-firebase — Firebase MCP Server

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


What You Can Do

  • Query and update Firestore documents and collections — great for agents that need to read or modify your app's live data
  • List, create, or disable Firebase Auth users to handle account management requests from support workflows
  • Send targeted push notifications to individual devices or multicast to up to 500 tokens at once from automation pipelines
  • Run complex Firestore queries with field filters to find documents matching specific criteria

Available Tools

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)

Configuration

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 SettingsGeneral → copy Project ID
FIREBASE_SERVICE_ACCOUNT_KEY Yes Full JSON of your service account key file console.firebase.google.com → Your Project → Project SettingsService accountsGenerate new private key → paste the entire JSON file content

Quick Start

Add to Aerostack Workspace
  1. Go to aerostack.dev → Your Project → MCPs
  2. Search for "Firebase" and click Add to Workspace
  3. Add FIREBASE_PROJECT_ID and FIREBASE_SERVICE_ACCOUNT_KEY under Project → Secrets

Once added, every AI agent in your workspace can call Firebase tools automatically — no per-user setup needed.

Example Prompts
"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"
Direct API Call
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":{}}}'

License

MIT

terminal Tools (12)

Available tools on this MCP server. Each tool can be called directly from any AI agent.

terminal
get_document #1

Get a Firestore document by collection and document ID. Returns parsed fields as a plain JS object.

terminal
set_document #2

Create or overwrite a Firestore document. Completely replaces the document if it already exists.

terminal
update_document #3

Partially update specific fields of a Firestore document without overwriting other fields.

terminal
delete_document #4

Delete a Firestore document by collection and document ID.

terminal
query_collection #5

Query documents in a Firestore collection with optional field filtering. Returns array of matching documents.

terminal
list_documents #6

List documents in a Firestore collection with pagination support.

terminal
list_users #7

List Firebase Auth users in the project. Returns uid, email, displayName, disabled, and createdAt.

terminal
get_user #8

Get a Firebase Auth user profile by UID or email address.

terminal
create_user #9

Create a new Firebase Auth user with email and password.

terminal
disable_user #10

Disable or re-enable a Firebase Auth user account by UID.

terminal
send_push_notification #11

Send a push notification to a single device via Firebase Cloud Messaging (FCM v1).

terminal
send_multicast_push #12

Send a push notification to multiple devices (up to 500 tokens). Returns per-token success/failure results.

Details

upgrade Version 0.1.0
gavel License MIT
wifi Transport streamable-http
lock Access Public
category Category API Connectors
terminal Tools 12

language Live Endpoint

https://mcp.aerostack.dev/s/aerostack/mcp-firebase

Sub-50ms globally · Zero cold start

Publisher

aerostack
@aerostack verified

Pre-built functions for the most common MCP tool patterns. Clone, extend, and deploy.

Tags

Browse more servers

More in API Connectors

Browse API Connectors MCPs →

Frequently asked questions

What is the Firebase MCP server and what can it do? +

The Firebase MCP server is hosted on Aerostack and exposes these tools to your AI agent: `get_document`, `set_document`, `update_document`, `delete_document`, `query_collection`. You get one hosted URL — no self-hosting — that works from Claude, Cursor, ChatGPT, Gemini, VS Code, or any MCP-compatible client, and you can share it with your team or combine it with other MCP servers in a workspace.

Is the Firebase MCP server hosted, or do I have to run it myself? +

It's hosted on Aerostack's edge infrastructure — you don't deploy or maintain anything. Add it to a workspace and you get one authenticated URL, with secrets encrypted, that any AI agent or editor can connect to. Use it solo or share the same URL across your whole team.

Which AI agents and editors can use the Firebase MCP server? +

Any MCP client: Claude and Claude Code, Cursor, ChatGPT, Gemini, Windsurf, Cline, VS Code, and custom agents. Because it's one hosted URL, the same Firebase MCP server works everywhere — and you can compose it with other MCP servers, skills, and functions behind a single workspace URL.

How do I install the Firebase MCP server in Claude Desktop? +

Add the following to your Claude Desktop config (`claude_desktop_config.json`): ```json { "mcpServers": { "@aerostack/mcp-firebase": { "command": "npx", "args": ["-y", "@aerostack/@aerostack/mcp-firebase"] } } } ``` Then restart Claude Desktop and the tools will appear automatically.

How do I use the Firebase MCP server in Cursor? +

In Cursor, open **Settings → MCP** and add: ```json { "name": "@aerostack/mcp-firebase", "command": "npx", "args": ["-y", "@aerostack/@aerostack/mcp-firebase"] } ``` Save and reload Cursor. The MCP tools will be available in Agent mode.

Does Firebase MCP require authentication? +

Yes. Firebase requires authentication. Check the MCP's documentation for the required credentials.