Firebase

v1.4.9Cloud Servicesstable

The Firebase MCP server provides a standardized interface to interact with Firebase services, including Firebase Authentication, Firestore, and Firebase Storage.

firebasemodelcontextprotocolmcpmodel-context-protocolai
Share:
244
Stars
0
Downloads
0
Weekly
0/5

What is Firebase?

Firebase is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to firebase mcp server provides a standardized interface to interact with firebase services, including firebase authentication, firestore, and firebase storage.

The Firebase MCP server provides a standardized interface to interact with Firebase services, including Firebase Authentication, Firestore, and Firebase Storage.

This server falls under the Cloud Services category on MCPgee, the world's largest MCP server directory with 33,000+ servers.

Features

  • The Firebase MCP server provides a standardized interface to

Use Cases

Access Firebase Authentication, Firestore, and Storage services.
Query and manage cloud-hosted data and user authentication.
Automate backend operations through standardized Firebase APIs.
gannonh

Maintainer

LicenseMIT License
Languagetypescript
Versionv1.4.9
UpdatedMay 19, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

NPM

npx -y @gannonh/firebase-mcp

Manual Installation

npx -y @gannonh/firebase-mcp

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

How to Set Up and Use Firebase

Firebase MCP provides a standardized Model Context Protocol interface to Firebase services including Firestore, Firebase Storage, and Firebase Authentication, letting AI assistants read, write, query, and manage cloud data through natural language. It connects to your Firebase project using a service account key, exposing granular document operations, file management, and user lookup as MCP tools. Backend developers and AI application builders use it to automate data migrations, prototype backend logic, and query production Firestore collections directly from their AI client.

Prerequisites

  • Node.js 18 or later installed
  • A Firebase project with Firestore and/or Storage enabled
  • A Firebase service account JSON key downloaded from the Firebase Console (Project Settings > Service Accounts)
  • npx available on your PATH
  • An MCP-compatible client such as Claude Desktop, Cursor, or VS Code
1

Create a Firebase service account key

In the Firebase Console, navigate to Project Settings > Service Accounts, then click 'Generate new private key'. Save the downloaded JSON file to a secure location on your machine.

2

Note your Firebase Storage bucket name

If you plan to use Storage tools, find your default bucket name in the Firebase Console under Storage. It typically follows the pattern 'your-project-id.firebasestorage.app'.

3

Add Firebase MCP to your Claude Desktop config

Edit your claude_desktop_config.json file, setting SERVICE_ACCOUNT_KEY_PATH to the absolute path of the JSON key file you downloaded.

{
  "mcpServers": {
    "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"
      }
    }
  }
}
4

Restart Claude Desktop

Fully quit and relaunch Claude Desktop so it starts the Firebase MCP process with the new environment variables.

5

Verify the connection with a simple query

Ask your AI client to list all collections in your Firestore database or retrieve a known document to confirm the server is connected and authenticated.

Firebase Examples

Client configuration

Claude Desktop configuration for Firebase MCP with service account authentication and Storage bucket configured.

{
  "mcpServers": {
    "firebase-mcp": {
      "command": "npx",
      "args": ["-y", "@gannonh/firebase-mcp"],
      "env": {
        "SERVICE_ACCOUNT_KEY_PATH": "/Users/you/secrets/serviceAccountKey.json",
        "FIREBASE_STORAGE_BUCKET": "my-project.firebasestorage.app"
      }
    }
  }
}

Prompts to try

Example prompts that use the Firestore, Storage, and Authentication tools exposed by Firebase MCP.

- "List all collections in my Firestore database"
- "Get all documents from the 'users' collection where status is 'active'"
- "Add a new document to the 'orders' collection with fields: product='Widget', qty=5, status='pending'"
- "List all files in my Firebase Storage bucket under the 'uploads/' prefix"
- "Look up the Firebase user with email [email protected] and show their UID and creation date"

Troubleshooting Firebase

Authentication error: 'Error loading credentials from file'

Verify that SERVICE_ACCOUNT_KEY_PATH is an absolute path (not ~/relative) and that the file exists and is readable. On macOS/Linux, check permissions with 'ls -la /path/to/serviceAccountKey.json'.

Firestore queries return empty results when data exists

Confirm the service account has the correct IAM roles in Google Cloud Console — it needs at minimum 'Cloud Datastore User' for Firestore and 'Storage Object Viewer' for Storage. Add roles in IAM & Admin.

FIREBASE_STORAGE_BUCKET causes 'bucket not found' error

The bucket name must match exactly what appears in the Firebase Console under Storage, typically 'project-id.firebasestorage.app' or the legacy 'project-id.appspot.com' format. Copy it directly from the console.

Frequently Asked Questions about Firebase

What is Firebase?

Firebase is a Model Context Protocol (MCP) server that firebase mcp server provides a standardized interface to interact with firebase services, including firebase authentication, firestore, and firebase storage. It connects AI assistants to external tools and data sources through a standardized interface.

How do I install Firebase?

Install via npm with the command: npx -y @gannonh/firebase-mcp. Then add the server configuration to your AI client's JSON config file (e.g., claude_desktop_config.json or .cursor/mcp.json).

Which AI clients work with Firebase?

Firebase works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.

Is Firebase free to use?

Yes, Firebase is open source and available under the MIT License license. You can use it freely in both personal and commercial projects.

Browse More Cloud Services MCP Servers

Explore all cloud services servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.

Quick Config Preview

{ "mcpServers": { "firebase-mcp": { "command": "npx", "args": ["-y", "@gannonh/firebase-mcp"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide →

Ready to use Firebase?

Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.

33,000+ ServersFree & Open SourceStep-by-Step Guides