Firebase MCP Server
OFFICIAL SERVERFirebase's own MCP server, run from the Firebase CLI, for managing projects, data and deploys
Run a FireCMS Cloud project from a chat client: Firestore documents, collection schemas, users and settings
Official · FireCMS TypeScript Remote (hosted) · Streamable HTTPLocal · stdio DatabasesDeveloper toolsCloud platforms
44 popularity score ★ 1.3k ↓ 174/wk
Opens the app, which asks before it adds the server.
https://api.firecms.co/mcpclaude mcp add --transport http firecms https://api.firecms.co/mcp{ "mcpServers" : { "firecms" : { "url" : "https://api.firecms.co/mcp" } } }Opens the app, which asks before it adds the server.
claude mcp add firecms -- npx -y @firecms/mcp-server{
"mcpServers": {
"firecms": {
"command": "npx",
"args": [
"-y",
"@firecms/mcp-server"
]
}
}
}{
"mcpServers": {
"firecms": {
"command": "npx",
"args": [
"-y",
"@firecms/mcp-server"
]
}
}
}{
"servers": {
"firecms": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@firecms/mcp-server"
]
}
}
}[mcp_servers.firecms]
command = "npx"
args = ["-y", "@firecms/mcp-server"]gemini mcp add --scope user firecms npx -- -y @firecms/mcp-serverFIRECMS_API_URL |
Optional: Backend the local server talks to; defaults to https://api.firecms.co (FireCMS Cloud), set it for a staging or self-hosted backend. |
|---|
FireCMS is an admin panel built on Firebase. Its makers run an MCP server for FireCMS Cloud, so an assistant can browse and edit Firestore documents, build and change the collection schemas that drive the panel, rename or restyle a project, and invite or remove users. A useful piece for existing Firebase projects: it samples documents at each root collection (up to 200 for a preview) and infers property types, names, icons and groups, so an existing database becomes a working CMS without hand-written schemas.
It comes two ways. The hosted endpoint at https://api.firecms.co/mcp signs in through FireCMS Cloud with OAuth and needs nothing installed. The npm package @firecms/mcp-server runs the same server on your machine over stdio; it signs in with your Google account, which lets it do the Google Cloud setup the hosted one cannot: list your projects, enable APIs, create the Firestore database and connect a project end to end.
The code at v3.5.1 registers 45 tools, 7 of them local only. Some defaults are not in the docs: list_documents returns 20 documents unless given a limit, export_collection returns 100 by default and at most 500, and import_documents overwrites any document whose ID already exists unless called with merge: true (src/tools/documents.ts, export.ts, import.ts). The local server talks to FireCMS Cloud by default; the FIRECMS_API_URL setting points it at another backend, such as a self-hosted one (src/config.ts).
| To run it yourself | Node.js 18+ |
|---|
A FireCMS Cloud account and a project; reading works for any project member, while every change needs the admin role on that project. Firebase Authentication must be turned on in the Firebase console before a project is connected. Hosted: an MCP client that takes remote servers and can sign in with OAuth. Local: Node.js 18 or later for npx, a browser for Google sign-in (run the firecms_login tool once), and Google Cloud permissions on the projects you want it to set up.
The hosted server holds no Google Cloud credentials, so it cannot enable APIs, create Firestore databases or finish connecting a project: connect_project_to_firecms returns a link to do that step in FireCMS Cloud, and seven onboarding and sign-in tools are offered only by the local server. import_documents takes at most 500 documents per call, export_collection at most 500, and the bulk inference tools skip paths that are already mapped or hold no documents. The location chosen with enable_firestore cannot be changed later. It works only with FireCMS projects on Firestore.
Teams already on FireCMS Cloud, or with a Firebase project they want to turn into an admin panel, who want an assistant to shape schemas, seed or fix data and manage users. Pick the hosted endpoint for day-to-day data and schema work with no install; pick the local package when the assistant should also do the Google Cloud setup of a new project. Since document tools write straight to production Firestore and imports overwrite by default, a client that asks before each write is a sensible pairing. For Firestore without FireCMS, this server is not the fit.
firecms_get_current_userfirecms_loginfirecms_logoutconnect_project_to_firecmslist_firebase_projectsget_project_setup_statuslist_firestore_locationsenable_project_apisenable_firestoreapply_firestore_security_rulescreate_firecms_webapplist_projectsget_project_configupdate_project_nameupdate_project_colorsupdate_default_localetoggle_text_searchtoggle_entity_historylist_usersadd_userupdate_user_rolesremove_userget_root_collectionslist_subcollectionslist_databasespreview_inferred_schemainfer_collections_from_datasetup_all_collectionslist_collection_schemasget_collection_schemasave_collection_schemaupdate_collection_schemadelete_collection_schemasave_propertydelete_propertygenerate_collectionmodify_collectionlist_documentsget_documentcreate_documentupdate_documentdelete_documentcount_documentsexport_collectionimport_documents