MCP server enabling AI agents to interact with Firebase Auth, Firestore, and Storage services.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent โ or use 1-click editor setup below.
We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag โ we're steadily working through the catalog.
๐ก Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Inspect callable tools, capabilities, and parameters exposed to AI agents by Firebase MCP.

Firebase MCP enables AI assistants to work directly with Firebase services, including:
The server works with MCP client applicatios such as Claude Desktop, Augment Code, VS Code, and Cursor.
โ ๏ธ Known Issue: The
firestore_list_collectionstool may return a Zod validation error in the client logs. This is an erroneous validation error in the MCP SDK, as our investigation confirmed no boolean values are present in the response. Despite the error message, the query still works correctly and returns the proper collection data. This is a log-level error that doesn't affect functionality.
Add the server configuration to your MCP settings file:
~/Library/Application Support/Claude/claude_desktop_config.json~/Library/Application Support/Code/User/settings.json[project root]/.cursor/mcp.jsonMCP Servers can be installed manually or at runtime via npx (recommended). How you install determines your configuration:
Ask your AI client: "Please test all Firebase MCP tools."
SERVICE_ACCOUNT_KEY_PATH: Path to your Firebase service account key JSON (required)FIREBASE_STORAGE_BUCKET: Bucket name for Firebase Storage (defaults to [projectId].appspot.com)MCP_TRANSPORT: Transport type to use (stdio or http) (defaults to stdio)MCP_HTTP_PORT: Port for HTTP transport (defaults to 3000)MCP_HTTP_HOST: Host for HTTP transport (defaults to localhost)MCP_HTTP_PATH: Path for HTTP transport (defaults to /mcp)DEBUG_LOG_FILE: Enable file logging:
true to log to ~/.firebase-mcp/debug.logEdit: ~/Library/Application Support/Claude/claude_desktop_config.json
Edit: ~/Library/Application Support/Code/User/settings.json
Edit: [project root]/.cursor/mcp.json
| Tool | Description | Required Parameters |
|---|---|---|
firestore_add_document | Add a document to a collection | collection, data |
firestore_list_documents | List documents with filtering | collection |
firestore_get_document | Get a specific document | collection, id |
firestore_update_document | Update an existing document | collection, id, data |
firestore_delete_document | Delete a document | collection, id |
firestore_list_collections | List root collections | None |
firestore_query_collection_group | Query across subcollections | collectionId |
| Tool | Description | Required Parameters |
|---|---|---|
storage_list_files | List files in a directory | None (optional: directoryPath) |
storage_get_file_info | Get file metadata and URL | filePath |
storage_upload | Upload file from content | filePath, content |
storage_upload_from_url | Upload file from URL | filePath, url |
| Tool | Description | Required Parameters |
|---|---|---|
auth_get_user | Get user by ID or email | identifier |
First, install and start Firebase emulators:
Then run tests:
Firebase MCP now supports HTTP transport in addition to the default stdio transport. This allows you to run the server as a standalone HTTP service that can be accessed by multiple clients.
To run the server with HTTP transport:
When using HTTP transport, configure your MCP client to connect to the HTTP endpoint:
The HTTP transport supports session management, allowing multiple clients to connect to the same server instance. Each client receives a unique session ID that is used to maintain state between requests.
If you see "The specified bucket does not exist" error:
FIREBASE_STORAGE_BUCKET environment variableIf you see "Firebase is not initialized" error:
If you receive "This query requires a composite index" error:
firestore_list_collectionsIf you see a Zod validation error with message "Expected object, received boolean" when using the firestore_list_collections tool:
โ ๏ธ Known Issue: The
firestore_list_collectionstool may return a Zod validation error in the client logs. This is an erroneous validation error in the MCP SDK, as our investigation confirmed no boolean values are present in the response. Despite the error message, the query still works correctly and returns the proper collection data. This is a log-level error that doesn't affect functionality.
To help diagnose issues, you can enable file logging:
You can also enable logging in your MCP client configuration:
To view logs in real-time:
The MCP Inspector provides interactive debugging:
Factual signals from GitHub, npm, and our automated checks โ not a rating.
No reviews yet โ be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/gannonh-firebase-mcp)<a href="https://allmcps.com/mcp/gannonh-firebase-mcp"><img src="https://allmcps.com/api/badge/gannonh-firebase-mcp?style=directory" alt="Firebase MCP on AllMCPs" /></a>