Skip to main content
AllMCPs
BrowseBestCategoriesStackCompareToolsGuidesBlog
Log in Submit MCP

Stay in the loop

Get new MCP servers and top picks in your inbox.

AllMCPs

The open directory for discovering and installing Model Context Protocol servers.

AllMCPs on GitHub (opens in a new tab)
Launched onTiny Startupstinystartups.com
Explore
  • Browse servers
  • Best MCP servers
  • Categories
  • MCP clients
  • Agent prompts
  • Stack Builder
  • Compare servers
  • Random discovery New
  • Submit a server
  • Pricing & Boost Boost
Learn
  • Guides hub
  • What is MCP?
  • Install guide
  • Build an MCP server
  • Deploy an MCP server
  • Security guide
  • Troubleshooting
  • MCP for SEO & AEO
  • Protocol versioning
  • Blog & updates
Tools
  • All developer tools
  • Config generator
  • Config validator
  • Config auditor
  • MCP playground
  • Token calculator
  • OpenAPI โ†’ MCP
  • Badge generator
For agents
  • REST API docs
  • Trust & traffic Live
  • Remote MCP server SSE โ†— (opens in a new tab)
  • llms.txt โ†— (opens in a new tab)
  • Catalog JSON โ†— (opens in a new tab)
Company
  • About
  • Advertise Sponsor
  • Contact
  • GitHub โ†— (opens in a new tab)
  • Terms
  • Privacy
AllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on BuildlistLaunched on Tiny StartupsFeatured on ShowMeBestAIFeatured on ShowMeBestAIFind us on LaunchZoneFind us on LaunchZoneAllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on BuildlistLaunched on Tiny StartupsFeatured on ShowMeBestAIFeatured on ShowMeBestAIFind us on LaunchZoneFind us on LaunchZone
ยฉ 2026 Jackalope Digital LLC. All rights reserved.
  1. Home
  2. ๐Ÿ—„๏ธ Databases
  3. Firebase MCP
Firebase MCP logo
Health: ActiveRecent health check succeeded.Last checked 9/9/2026, 6:01:58 PM

Firebase MCP

User RatingsBe the first to rate and review this MCP server!
View Repository248 GitHub StarsTotal stargazers on GitHub for the source repository (248 stars).Visit Website
firebasedatabasestorageauthenticationmcp

MCP server enabling AI agents to interact with Firebase Auth, Firestore, and Storage services.

Quick Install

Automated & IDE Setup

Copy the AI prompt to install this server into Claude Code, Cursor, or another agent โ€” or use 1-click editor setup below.

Add to CursorAdd to VS Code
Not yet automatically verified

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.

Manual Client & Custom JSON ConfigExpand JSON โ–พ

Client Config & Setup

Choose your client or environment
Target File:~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "gannonh-firebase-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "MCP_TRANSPORT"
      ]
    }
  }
}

๐Ÿ’ก Paste the JSON block into your client's configuration file under mcpServers, then restart the application.

Install Directory Badge Claim listing Alternatives๐Ÿ—„๏ธ More in Databases

Overview

This MCP server exposes Firebase services including Firestore for document database operations, Storage for file management, and Authentication for user management. It allows AI assistants to perform CRUD operations on Firestore documents, manage files in Firebase Storage, and retrieve user info via Firebase Auth. Use this server when you want to integrate AI agents with Firebase backend services for data and user management.

Use cases

โ€ขAdd, update, delete, and query Firestore documents
โ€ขUpload, list, and retrieve files in Firebase Storage
โ€ขFetch user details by ID or email from Firebase Authentication
โ€ขList Firestore collections and query collection groups
โ€ขIntegrate Firebase backend operations into AI assistant workflows

Key features

โ€ขFirestore document CRUD and querying
โ€ขStorage file upload, listing, and metadata retrieval
โ€ขAuthentication user lookup by identifier
โ€ขSupports stdio and HTTP transport modes
โ€ขConfigurable via environment variables for credentials and storage bucket

Capabilities & Tool Schemas

Inspect callable tools, capabilities, and parameters exposed to AI agents by Firebase MCP.

Extracted Tool Capabilities
Firestore document CRUD and querying
Storage file upload, listing, and metadata retrieval
Authentication user lookup by identifier
Supports stdio and HTTP transport modes
Configurable via environment variables for credentials and storage bucket

Documentation Overview

Firebase MCP

Project Logo

Firebase MCP server

Firebase Tests CI

Overview

Firebase MCP enables AI assistants to work directly with Firebase services, including:

  • Firestore: Document database operations
  • Storage: File management with robust upload capabilities
  • Authentication: User management and verification

The server works with MCP client applicatios such as Claude Desktop, Augment Code, VS Code, and Cursor.

โš ๏ธ Known Issue: The firestore_list_collections tool 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.

โšก Quick Start

Prerequisites

  • Firebase project with service account credentials
  • Node.js environment

1. Install MCP Server

Add the server configuration to your MCP settings file:

  • Claude Desktop: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Augment: ~/Library/Application Support/Code/User/settings.json
  • Cursor: [project root]/.cursor/mcp.json

MCP Servers can be installed manually or at runtime via npx (recommended). How you install determines your configuration:

Configure for npx (recommended)

config.json
{
  "firebase-mcp": {
    "command": "npx",
    "args": [
      "-y",
      "@gannonh/firebase-mcp"
    ],
    "env": {
      "SERVICE_ACCOUNT_KEY_PATH": "/absolute/path/to/serviceAccountKey.json",
      "FIREBASE_STORAGE_BUCKET": "your-project-id.firebasestorage.app"
    }
  }
}

Configure for local installation

config.json
{
  "firebase-mcp": {
    "command": "node",
    "args": [
      "/absolute/path/to/firebase-mcp/dist/index.js"
    ],
    "env": {
      "SERVICE_ACCOUNT_KEY_PATH": "/absolute/path/to/serviceAccountKey.json",
      "FIREBASE_STORAGE_BUCKET": "your-project-id.firebasestorage.app"
    }
  }
}

2. Test the Installation

Ask your AI client: "Please test all Firebase MCP tools."

๐Ÿ› ๏ธ Setup & Configuration

1. Firebase Configuration

  1. Go to Firebase Console โ†’ Project Settings โ†’ Service Accounts
  2. Click "Generate new private key"
  3. Save the JSON file securely

2. Environment Variables

Required

  • SERVICE_ACCOUNT_KEY_PATH: Path to your Firebase service account key JSON (required)

Optional

  • 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:
    • Set to true to log to ~/.firebase-mcp/debug.log
    • Set to a file path to log to a custom location

3. Client Integration

Claude Desktop

Edit: ~/Library/Application Support/Claude/claude_desktop_config.json

VS Code / Augment

Edit: ~/Library/Application Support/Code/User/settings.json

Cursor

Edit: [project root]/.cursor/mcp.json

๐Ÿ“š API Reference

Firestore Tools

ToolDescriptionRequired Parameters
firestore_add_documentAdd a document to a collectioncollection, data
firestore_list_documentsList documents with filteringcollection
firestore_get_documentGet a specific documentcollection, id
firestore_update_documentUpdate an existing documentcollection, id, data
firestore_delete_documentDelete a documentcollection, id
firestore_list_collectionsList root collectionsNone
firestore_query_collection_groupQuery across subcollectionscollectionId

Storage Tools

ToolDescriptionRequired Parameters
storage_list_filesList files in a directoryNone (optional: directoryPath)
storage_get_file_infoGet file metadata and URLfilePath
storage_uploadUpload file from contentfilePath, content
storage_upload_from_urlUpload file from URLfilePath, url

Authentication Tools

ToolDescriptionRequired Parameters
auth_get_userGet user by ID or emailidentifier

๐Ÿ’ป Developer Guide

Installation & Building

bash
git clone https://github.com/gannonh/firebase-mcp
cd firebase-mcp
npm install
npm run build

Running Tests

First, install and start Firebase emulators:

Terminal
npm install -g firebase-tools
firebase init emulators
firebase emulators:start

Then run tests:

bash
# Run tests with emulator
npm run test:emulator

# Run tests with coverage
npm run test:coverage:emulator

Project Structure

bash
src/
โ”œโ”€โ”€ index.ts                  # Server entry point
โ”œโ”€โ”€ utils/                    # Utility functions
โ””โ”€โ”€ lib/
    โ””โ”€โ”€ firebase/              # Firebase service clients
        โ”œโ”€โ”€ authClient.ts     # Authentication operations
        โ”œโ”€โ”€ firebaseConfig.ts   # Firebase configuration
        โ”œโ”€โ”€ firestoreClient.ts # Firestore operations
        โ””โ”€โ”€ storageClient.ts  # Storage operations

๐ŸŒ HTTP Transport

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.

Running with HTTP Transport

To run the server with HTTP transport:

bash
# Using environment variables
MCP_TRANSPORT=http MCP_HTTP_PORT=3000 node dist/index.js

# Or with npx
MCP_TRANSPORT=http MCP_HTTP_PORT=3000 npx @gannonh/firebase-mcp

Client Configuration for HTTP

When using HTTP transport, configure your MCP client to connect to the HTTP endpoint:

config.json
{
  "firebase-mcp": {
    "url": "http://localhost:3000/mcp"
  }
}

Session Management

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.

๐Ÿ” Troubleshooting

Common Issues

Storage Bucket Not Found

If you see "The specified bucket does not exist" error:

  1. Verify your bucket name in Firebase Console โ†’ Storage
  2. Set the correct bucket name in FIREBASE_STORAGE_BUCKET environment variable

Firebase Initialization Failed

If you see "Firebase is not initialized" error:

  1. Check that your service account key path is correct and absolute
  2. Ensure the service account has proper permissions for Firebase services

Composite Index Required

If you receive "This query requires a composite index" error:

  1. Look for the provided URL in the error message
  2. Follow the link to create the required index in Firebase Console
  3. Retry your query after the index is created (may take a few minutes)

Zod Validation Error with firestore_list_collections

If you see a Zod validation error with message "Expected object, received boolean" when using the firestore_list_collections tool:

โš ๏ธ Known Issue: The firestore_list_collections tool 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.

Debugging

Enable File Logging

To help diagnose issues, you can enable file logging:

bash
# Log to default location (~/.firebase-mcp/debug.log)
DEBUG_LOG_FILE=true npx @gannonh/firebase-mcp

# Log to a custom location
DEBUG_LOG_FILE=/path/to/custom/debug.log npx @gannonh/firebase-mcp

You can also enable logging in your MCP client configuration:

config.json
{
  "firebase-mcp": {
    "command": "npx",
    "args": ["-y", "@gannonh/firebase-mcp"],
    "env": {
      "SERVICE_ACCOUNT_KEY_PATH": "/path/to/serviceAccountKey.json",
      "FIREBASE_STORAGE_BUCKET": "your-project-id.firebasestorage.app",
      "DEBUG_LOG_FILE": "true"
    }
  }
}

Real-time Log Viewing

To view logs in real-time:

bash
# Using tail to follow the log file
tail -f ~/.firebase-mcp/debug.log

# Using a split terminal to capture stderr
npm start 2>&1 | tee logs.txt

Using MCP Inspector

The MCP Inspector provides interactive debugging:

bash
# Install MCP Inspector
npm install -g @mcp/inspector

# Connect to your MCP server
mcp-inspector --connect stdio --command "node ./dist/index.js"

๐Ÿ“‹ Response Formatting

Storage Upload Response Example

Read the full README โ†’View source on GitHub โ†’

Related MCP Servers

View all in Databases View all alternatives
  • MCP Server Mysql logoMCP Server Mysql

    MySQL database integration in NodeJS with configurable access controls and schema inspection

    ๐Ÿ—„๏ธ Databases3 views
    Compare vs MCP Server Mysql โ†’
  • Airtable MCP Server logoAirtable MCP Server

    Airtable database integration with schema inspection, read and write capabilities

    ๐Ÿ—„๏ธ Databases2 views
    Compare vs Airtable MCP Server โ†’
  • Influxdb MCP Server logoInfluxdb MCP Server

    Run queries against InfluxDB OSS API v2.

    ๐Ÿ—„๏ธ Databases2 views
    Compare vs Influxdb MCP Server โ†’
  • Insforge MCP logoInsforge MCP

    AI-native backend-as-a-service platform enabling AI agents to build and manage full-stack applications. Provides Auth, Database (PostgreSQL), Storage, and Functions as production-grade infrastructure, reducing MVP development time from weeks to hours.

    ๐Ÿ—„๏ธ Databases1 views
    Compare vs Insforge MCP โ†’

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks โ€” not a rating.

GitHub stars
248
Stargazers on the source repository.
Last commit
10mo ago
Most recent push to the default branch.
Directory activity
2 views
Config copies, upvotes, and views on AllMCPs.

Reviews

No reviews yet โ€” be the first to share how this listing worked for you.

Frequently Asked Questions about Firebase MCP

It supports Firestore for database operations, Storage for file management, and Authentication for user management.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewFirebase MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/gannonh-firebase-mcp?style=directory)](https://allmcps.com/mcp/gannonh-firebase-mcp)
HTML Embed
<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>

Technical Specs & Signals

Category๐Ÿ—„๏ธDatabases
PricingFree
More technical detailsExpand โ–พ
TransportSTDIO
RuntimeNode.js
AuthNo auth required
ClientsClaude Desktop, Cursor
Last updatedAug 9, 2026
11/11 checks healthy over the last 34d
Views2
Unique ViewsTotal visits recorded for this listing page on AllMCPs.
Installs0
Installs & Copy ActionsTotal times users copied install commands or configuration snippets for this server.
GitHub stars248
GitHub Star CountTotal stargazers on GitHub representing community popularity (248 stars).
Last commit10mo ago
Last Repository CommitThe most recent commit or push recorded for this server's GitHub repository.Last commit on Oct 27, 2025
41Quality signal: Fair ยท 41/100How this signal is calculated โ–พ
Server availabilityNot measured

Not scored for repo-hosted servers โ€” we can't reach the running server, only its GitHub page. Hosted MCP endpoints are health-checked live.

Verified ownership10/20
Documentation & tools16/30
Adoption & activity5/15
Community engagement0/10

A guidance signal from public completeness & health data โ€” not a user rating. New listings start lower and rise as they add docs, get verified, and grow adoption. Signals we can't observe for a listing are skipped, not counted against it.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 24d ago via OSV.dev ยท MCP_TRANSPORT (npm)

โ˜… FeaturedMoxie Docs MCP logo

Moxie Docs MCP

MCP & Agent Skills for Automated Documentation, and codebase conventions + context

Explore Server โ†’

Own this project?

This directory is pre-filled from public sources. Claim via GitHub README, site badge, or DNS TXT to unlock edit access and the Official badge โ€” proof is checked automatically, then reviewed by our team.

Free dofollow backlink: add your website and place the AllMCPs badge on it โ€” no claim needed. We detect it automatically and keep it verified as long as the badge stays live.

Claim & get free dofollow

Share & Embed

Add our SVG badge (dark/light directory styles) or embeddable widget to your site.

Explore more

More in ๐Ÿ—„๏ธ Databases โ†’Best MCP servers for Databases โ†’Alternatives to Firebase MCP โ†’Install in Claude DesktopInstall in CursorInstall in VS Code