B

Firebase MCP Server

MCP server for interacting with Firebase Authentication, Firestore, and Storage services

Overall Score82/100

Score Breakdown

Server Info

Package
@gannonh/firebase-mcp
Registry
npm
Maintainer
Community
Category
Cloud & Infrastructure
Tags
firebasedatabaseauth
Last Scanned
7 Apr 2026

Findings

5 issues

Authentication & Identity

MEDIUMHTTP/SSE transport supports per-request credentials

Supports both stdio and HTTP (StreamableHTTPServerTransport) transports. Authentication uses a Firebase service account key file path via SERVICE_ACCOUNT_KEY_PATH env var. No MCP OAuth implementation. The HTTP transport has no authentication layer itself; anyone who can reach the HTTP endpoint gets full Firebase service account access. Session management via mcp-session-id headers.

Remediation

Implement the MCP OAuth spec so users authenticate directly without platform mediation.

Tool Schema Quality

MEDIUMOnly 2 of 12 schemas have parameter constraints

Most schemas lack maxLength, enum, or pattern constraints on string parameters.

Remediation

Add constraints to string parameters, especially on write operations.

Data Exposure

LOWNo field selection on responses

Responses return full records rather than projected fields.

Remediation

Implement field selection to return only relevant fields.

Maintenance & Trust

LOWCommunity-maintained by Gannon Hall (@gannonh)

No official vendor backing.

Remediation

Seek vendor verification.

HIGH27 dependency vulnerabilities (2 critical, 10 high)

npm audit found 2 critical and 10 high severity CVEs.

Remediation

Run `npm audit fix` and update vulnerable dependencies.

Tools

12 total
NameDescriptionRisk
firestore_add_documentAdd a document to a Firestore collectionwrite
firestore_list_documentsList documents from a Firestore collection with filtering and orderingread
firestore_get_documentGet a document from a Firestore collectionread
firestore_update_documentUpdate a document in a Firestore collectionwrite
firestore_delete_documentDelete a document from a Firestore collectionadmin
auth_get_userGet a user by ID or email from Firebase Authenticationread
storage_list_filesList files in a given path in Firebase Storageread
storage_get_file_infoGet file information including metadata and download URLread
storage_uploadUpload a file to Firebase Storage. Supports local file paths (preferred for binary files), base64 data, or plain text.write
storage_upload_from_urlUpload a file to Firebase Storage from an external URL. Perfect for images, documents, or any file accessible via URL.write
firestore_list_collectionsList root collections in Firestoreread
firestore_query_collection_groupQuery documents across all subcollections with the same name (collection group query)read

Deploy Firebase MCP Server securely

CompleteFlow adds per-user authentication, permission scoping, and audit logging to any MCP server out of the box.

Deploy on CompleteFlow