Firebase MCP Server

Firebase MCP server for interacting with Firebase services through the Model Context Protocol

Local serverstdioGo

What is the Firebase MCP Server?

Firebase MCP server for interacting with Firebase services through the Model Context Protocol

What it actually does

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

Configuration

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

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
firestore_add_documentAdd a document to a collection
firestore_list_documentsList documents with filtering
firestore_get_documentGet a specific document
firestore_update_documentUpdate an existing document
firestore_delete_documentDelete a document
firestore_list_collectionsList root collections
firestore_query_collection_groupQuery across subcollections
storage_list_filesList files in a directory
storage_get_file_infoGet file metadata and URL
storage_uploadUpload file from content
storage_upload_from_urlUpload file from URL
auth_get_userGet user by ID or email

How to install the Firebase MCP Server

{
  "mcpServers": {
    "firebase-1": {
      "command": "npx",
      "args": ["-y", "MCP_TRANSPORT"],
      "env": {
        "SERVICE_ACCOUNT_KEY_PATH": "your-value",
        "FIREBASE_STORAGE_BUCKET": "your-value",
        "DEBUG_LOG_FILE": "your-value",
        "MCP_HTTP_HOST": "your-value",
        "MCP_HTTP_PATH": "your-value"
      }
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Configuration

  • Firebase project with service account credentials - Node.js environment
VariableDescriptionRequired
SERVICE_ACCOUNT_KEY_PATHCredential the server authenticates with.Yes
FIREBASE_STORAGE_BUCKETConfiguration value read at startup.Optional
DEBUG_LOG_FILEConfiguration value read at startup.Optional
MCP_HTTP_HOSTEndpoint or connection string the server talks to.Optional
MCP_HTTP_PATHFilesystem location the server is allowed to use.Optional

Example prompts to try

  • “Use Firebase to firestore add document.”
  • “Use Firebase to firestore list documents.”
  • “Use Firebase to firestore get document.”

Frequently asked questions

Firebase MCP server for interacting with Firebase services through the Model Context Protocol Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.