Firebase MCP
v26.11.14Firebase MCP server: query and edit Firestore documents, look up and manage Auth users.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
ping
Checks server connectivity and auth status
firestore_list_collections
Lists top-level Firestore collections, or the subcollections of a document.
| Parameter | Type | Description |
|---|---|---|
document_path | string | Document path, e.g. users/abc (omit for top-level collections) |
project_id | string | Firebase project ID (default: firebaseMcp.projectId) |
firestore_get_document
Reads one Firestore document by path.
| Parameter | Type | Description |
|---|---|---|
path * | string | Document path, e.g. orders/1234 |
project_id | string | Firebase project ID (default: firebaseMcp.projectId) |
firestore_query
Queries a Firestore collection with optional where filters, ordering and a limit.
| Parameter | Type | Description |
|---|---|---|
collection_path * | string | Collection path, e.g. orders or users/abc/orders |
direction | string | Order direction (default asc) |
limit | number | Max documents (default 20, max 200) |
order_by | string | Field to order by |
project_id | string | Firebase project ID (default: firebaseMcp.projectId) |
where | array | Filters, all combined with AND |
firestore_count
Counts the documents in a collection, optionally filtered, without reading them.
| Parameter | Type | Description |
|---|---|---|
collection_path * | string | Collection path |
project_id | string | Firebase project ID (default: firebaseMcp.projectId) |
where | array | Filters, combined with AND |
auth_get_user
Looks up a Firebase Authentication user by UID, email or phone number.
| Parameter | Type | Description |
|---|---|---|
email | string | Email address |
phone | string | Phone number in E.164 format |
project_id | string | Firebase project ID (default: firebaseMcp.projectId) |
uid | string | User UID |
auth_list_users
Lists Firebase Authentication users, 100 at a time by default.
| Parameter | Type | Description |
|---|---|---|
max_results | number | Max users (default 100, max 1000) |
page_token | string | Pagination token |
project_id | string | Firebase project ID (default: firebaseMcp.projectId) |
firebase_admin
Firebase administration (Firestore and Authentication). project_id defaults to firebaseMcp.projectId. Actions: create_document(path, data) fails if it exists, update_document(path, data) changes only the given fields, create_user(email?, password?, display_name?, phone?, email_verified?), update_user(uid, email?, password?, display_name?, phone?, email_verified?), disable_user(uid, disabled?). Destructive (confirm:true): set_document(path, data, merge?) replaces the whole document unless merge is true, delete_document(path), delete_user(uid).
| Parameter | Type | Description |
|---|---|---|
action * | string | Admin action |
params | object | Action parameters; destructive actions also need confirm: true |