Firebase MCP

v26.11.14
com.renzojohnson/firebase-mcp Checked 3 days ago Published 22 days ago

Firebase 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.

ParameterTypeDescription
document_pathstringDocument path, e.g. users/abc (omit for top-level collections)
project_idstringFirebase project ID (default: firebaseMcp.projectId)

firestore_get_document

Reads one Firestore document by path.

ParameterTypeDescription
path *stringDocument path, e.g. orders/1234
project_idstringFirebase project ID (default: firebaseMcp.projectId)

firestore_query

Queries a Firestore collection with optional where filters, ordering and a limit.

ParameterTypeDescription
collection_path *stringCollection path, e.g. orders or users/abc/orders
directionstringOrder direction (default asc)
limitnumberMax documents (default 20, max 200)
order_bystringField to order by
project_idstringFirebase project ID (default: firebaseMcp.projectId)
wherearrayFilters, all combined with AND

firestore_count

Counts the documents in a collection, optionally filtered, without reading them.

ParameterTypeDescription
collection_path *stringCollection path
project_idstringFirebase project ID (default: firebaseMcp.projectId)
wherearrayFilters, combined with AND

auth_get_user

Looks up a Firebase Authentication user by UID, email or phone number.

ParameterTypeDescription
emailstringEmail address
phonestringPhone number in E.164 format
project_idstringFirebase project ID (default: firebaseMcp.projectId)
uidstringUser UID

auth_list_users

Lists Firebase Authentication users, 100 at a time by default.

ParameterTypeDescription
max_resultsnumberMax users (default 100, max 1000)
page_tokenstringPagination token
project_idstringFirebase 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).

ParameterTypeDescription
action *stringAdmin action
paramsobjectAction parameters; destructive actions also need confirm: true