drio
Open app

MCP Server Firebase

Source

Catalog onlyCatalog onlySTDIO

Overview

MCP Server Firebase is an implementation of the Model Context Protocol (MCP) server based on Firebase, offering two operational modes: local Node.js mode (using Firebase Admin SDK) and Cloudflare Workers mode (using Firebase REST API).

To use MCP Server Firebase, clone the project from GitHub, install the dependencies, and configure the environment variables for either local or Cloudflare Workers mode. You can then run the server and connect to it using the MCP SDK in your client application.

  • Firestore database operations (read, write, update, delete documents) - Collection and sub-collection listing queries - Support for filtered queries
  1. Managing Firestore documents in a local development environment.
  2. Deploying serverless applications using Cloudflare Workers.
  3. Building applications that require real-time database interactions.

Add to your AI client

Use these steps to connect MCP Server Firebase in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.

Cursor

Add this to your .cursor/mcp.json file in your project root, then restart Cursor.

.cursor/mcp.json

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

Claude Desktop

Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.

~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)

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

Claude Code

Add this to your project's .mcp.json file. Claude Code will detect it automatically.

.mcp.json (project root)

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

VS Code (Copilot)

Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.

.vscode/mcp.json

{
  "servers": {
    "mcp-server-firebase-sheep52031": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-server-firebase-sheep52031"
      ]
    }
  }
}

Windsurf

Add this to your Windsurf MCP config file, then restart Windsurf.

~/.codeium/windsurf/mcp_config.json

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

Cline

Open Cline settings, navigate to MCP Servers, and add this server configuration.

Cline MCP Settings (via UI)

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

FAQ

What are the prerequisites for using MCP Server Firebase?

You need Node.js 18 or higher, a Firebase project, and a Firebase service account for local mode.

Is there a deployment guide?

Yes! The project includes instructions for deploying to Cloudflare Workers.

Can I use this project for production?

Yes, but ensure to set appropriate security rules for Firestore and manage sensitive information properly.7:["$","div",null,{"className":"container mx-auto flex flex-col gap-4","children":["$L26","$L27",["$","$L28",null,{"currentProject":{"id":3216,"uuid":"a7677eef-814c-45f0-a8eb-6b4200678c89","name":"mcp-server-firebase","title":"MCP Server Firebase","description":"","avatar_url":"https://avatars.githubusercontent.com/u/75030067?v=4","created_at":"2025-03-18T06:23:52.390Z","updated_at":"2025-03-18T14:49:34.727Z","status":"created","author_name":"sheep52031","author_avatar_url":"https://avatars.githubusercontent.com/u/75030067?v=4","tags":"[]","category":"developer-tools","is_featured":false,"sort":1,"url":"https://github.com/sheep52031/mcp-server-firebase","target":"_self","content":"$29","summary":"$2a","img_url":null,"type":null,"metadata":"{\"star\":\"0\",\"license\":\"\",\"language\":\"TypeScript\",\"is_official\":false,\"latest_commit_time\":\"2025-03-18 11:35:16\"}","user_uuid":null,"tools":null,"sse_url":null,"sse_provider":null,"sse_params":null,"is_official":false,"server_command":null,"server_params":null,"server_config":null,"allow_call":false,"is_innovation":false,"is_dxt":false,"dxt_manifest":null,"dxt_file_url":null,"is_audit":false},"randomProjects":[],"currentServerKey":"$undefined"}]]}]