1. Conduid
  2. Data
  3. gannonh/firebase-mcp
MCP server · Data

gannonh/firebase-mcp

🔥 Model Context Protocol (MCP) server for Firebase.

Unclaimed MIT last commit a year ago data
60Good

Scored 21 hours ago · breakdown

About gannonh/firebase-mcp

gannonh/firebase-mcp is an MCP server published by gannonh in the Data category: 🔥 Model Context Protocol (MCP) server for Firebase. Conduid read 12 tools from its source: auth_get_user, firestore_add_document, firestore_delete_document, firestore_get_document, firestore_list_collections, firestore_list_documents and 6 more. No package is published for it, so it installs from a source checkout.

The repository has 247 stars and 41 forks, is licensed MIT, and its last commit was on 27 Oct 2025. The latest release is v1.4.9 (10 May 2025). It follows v1.4.8 (9 May 2025), and the 5 most recent releases go back to v1.3.3 (11 Apr 2025). It passes 5 of the 6 static checks Conduid ran on the repository; it does not pass Scoped permissions. Its topics include data.

Install

From source
git clone https://github.com/gannonh/firebase-mcp

Tools (12)

auth_get_userGet user by ID or email
ParameterTypeDescription
identifier *stringUser ID or email address
firestore_add_documentAdd a document to a collection
ParameterTypeDescription
collection *stringCollection name
data *objectDocument data
firestore_delete_documentDelete a document
ParameterTypeDescription
collection *stringCollection name
id *stringDocument ID
firestore_get_documentGet a specific document
ParameterTypeDescription
collection *stringCollection name
id *stringDocument ID
firestore_list_collectionsList root collections
firestore_list_documentsList documents with filtering
ParameterTypeDescription
collection *stringCollection name
filtersarrayArray of filter conditions
limitnumberNumber of documents to return
orderByarrayArray of fields to order by
pageTokenstringToken for pagination to get the next page of results
firestore_query_collection_groupQuery across subcollections
ParameterTypeDescription
collectionId *stringThe collection ID to query across all documents (without parent path)
filtersarrayOptional filters to apply to the query
limitnumberMaximum number of documents to return (default: 20, max: 100)
orderByarrayOptional fields to order results by
pageTokenstringToken for pagination (document path to start after)
firestore_update_documentUpdate an existing document
ParameterTypeDescription
collection *stringCollection name
data *objectUpdated document data
id *stringDocument ID
storage_get_file_infoGet file metadata and URL
ParameterTypeDescription
filePath *stringThe path of the file to get information for
storage_list_filesList files in a directory
ParameterTypeDescription
directoryPathstringThe optional path to list files from. If not provided, the root is used.
storage_uploadUpload file from content
ParameterTypeDescription
content *stringCan be: 1) A local file path (e.g., "/path/to/file.pdf") - RECOMMENDED for all file types, especially binary files like PDFs and images, 2) A data URL (e.g., "data:image/png;base64,...") - may have issues with large files, or 3) Plain text content. Note: Document references are not directly accessible - always use the actual file path instead.
contentTypestringOptional MIME type. If not provided, it will be automatically detected
filePath *stringThe destination path in Firebase Storage (e.g., "images/logo.png"). If necessary, rename files for optimal URL compatibility (e.g., "my-document.pdf" rather than "My Document.pdf").
metadataobjectOptional additional metadata
storage_upload_from_urlUpload file from URL
ParameterTypeDescription
contentTypestringOptional MIME type. If not provided, it will be automatically detected from the URL or response headers
filePath *stringThe destination path in Firebase Storage (e.g., "images/photo.jpg"). If necessary, rename files for optimal URL compatibility (e.g., "my-document.pdf" rather than "My Document.pdf").
metadataobjectOptional additional metadata
url *stringThe source URL to download from (e.g., "https://example.com/image.jpg"). For GitHub files, use the raw URL (add ?raw=true)

Security checks

Static checks derived from the repository 22 hours ago. Heuristics on the source, not an audit.

  • ✓README presentThe repository's README runs to about 1.3K words.
  • ✓License declaredThe repository declares the MIT license.
  • ✓Tests presentA test suite exists in the repository.
  • ✓Dependencies pinnedDependency versions are pinned by package-lock.json.
  • ✓No dynamic code executionScanned 12 source files and found no eval, dynamic Function or shell execution.
  • !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.

What the source scan found

Transport
stdio and Streamable HTTPsrc/transports/index.ts:11, src/transports/http.ts:13
Starts other programs
No calls that start other programs
Outbound network calls
2 callssrc/config.ts:82, src/lib/firebase/storageClient.ts:678
Writes or deletes files
2 callssrc/utils/logger.ts:46, src/utils/logger.ts:66
Lockfile
package-lock.json

Pattern matches on the source text of 12 files: places to read, not proof of what the code does at run time.

Releases

v1.4.9v1.4.9 · 10 May 2025[1.4.9] 2025-05-10 Fixed fix: monkey-patch firebase-sdk - implement stdout filtering in Firestore client to prevent debug output interference What's Changed Full Changelog: https://github.com/gannonh/firebase-mcp/compare/v1.4.8...v1.4.9
v1.4.8v1.4.8 · 9 May 2025[1.4.5] - [1.4.9] 2025-05-09 Fixed fix: update error handling in Firestore client tests to return structured JSON error messages fix: enhance Firestore client error handling and ensure proper initialization of Firebase admin instance…
v1.3.5v1.3.5 · 6 May 2025Added Added Codecov integration for enhanced test coverage reporting and visualization Fixed Fixed TypeScript errors in `firestoreClient.test.ts` by using proper type assertions for filter operators and orderBy parameters Changed Updated…
v1.3.4v1.3.4 · 15 Apr 2025[1.3.4] - 2025-04-15 Fixed #49 Fixed Firestore timestamp handling issues: Fixed inconsistency where timestamp objects were displayed as "[Object]" in responses Added proper conversion of Firestore Timestamp objects to ISO strings Enhanced…
v1.3.3v1.3.3 · 11 Apr 2025[1.3.3] - 2025-04-11 Added File upload support for firebase storage #37 by @gannonh in https://github.com/gannonh/firebase-mcp/pull/45 `storage_upload`: Upload files directly to Firebase Storage from text or base64 content…

README

The repository's README runs to about 1.3K words, fetched 22 hours ago. The original in the repository is authoritative.

Read full README
Questions

About gannonh/firebase-mcp

How do I install gannonh/firebase-mcp?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is gannonh/firebase-mcp safe to use with an AI agent?

Its trust score is 60 out of 100 (good). It passes 5 of the 6 static checks Conduid ran on the repository; it does not pass Scoped permissions. Conduid's scan of 12 source files found that it serves MCP over stdio and Streamable HTTP, makes outbound network calls (2 calls) and writes or deletes files (2 calls). Its dependencies are pinned by package-lock.json. It has no ConduID identity yet, so agent calls to it are not receipted.

Is gannonh/firebase-mcp still maintained?

The last commit was a year ago and 16 open issues. That's long enough that you should check whether the maintainer is responding to issues before depending on it.

What tools does gannonh/firebase-mcp provide?

Conduid read 12 tools from the source: auth_get_user, firestore_add_document, firestore_delete_document, firestore_get_document, firestore_list_collections, firestore_list_documents, firestore_query_collection_group, firestore_update_document and 4 more. 11 of them publish their parameters, listed under Tools above.

What license is gannonh/firebase-mcp released under?

The repository declares the MIT license. That applies to the latest release, v1.4.9, as well.