Live survey315 models · 14 providers · 23,592 auditsAudited implement · SAFE →What changedHow we verifyllms.txt

MCP server · Audited from source

Firebase MCP server

by gannonh/firebase-mcpMIT licenceAudited 6 Oct 2026 · source d1da90c4eff9

npm @gannonh/firebase-mcp 1.4.9stdiostreamable-http★ 247
!CAUTIONGrade B · 89/100 · 6 Oct 2026 · d1da90c
247GitHub stars

Is it safe? With care — CAUTION, grade B (89/100). It exposes 12 tools: 7 read, 4 write and 1 destructive. The audit recorded 10 findings (0 critical, 0 high, 2 medium, 8 low). Maintainer's description: 🔥 Model Context Protocol (MCP) server for Firebase.

Ask an AI about this pageGChatGPTCClaudePPerplexityGeGeminiXGrok
More
Cite

Cite this page

ModelsAtlas. “Firebase MCP server (gannonh/firebase-mcp)”. Retrieved 6 Oct 2026. https://modelsatlas.com/mcp/gannonh/firebase

Trust audit

Audit 0.4.1 · full source read 6 Oct 2026

Trust score89/100!CAUTION B
0 critical0 high2 medium8 low0 info

10 findings, listed below with the file and line each was found on. Grade A needs a sandboxed behavioural run too; this audit read the source only.

What the source does

  • FilesystemDeclared3 observations
  • NetworkDeclared2 observations
  • ShellNone observedNothing seen in the source
  • DependenciesNot pinnedSome ranges float
  • SecretsFoundSee the findings

“Declared” means the server says it does this and the source agrees. Browser, file and shell access are expected of some kinds of server.

Five audit layers

LayerWhat we checkResult
L0 ProvenanceRepo owner, licence, archive status, activityPASS 2 findings
L1 Static sourceSecrets, path traversal, supply chainWARN 7 findings
L2 InstructionsPrompt injection and authority framing in docs and tool descriptionsPASS
L3 InventoryDeclared tools match the sourceWARN 1 finding
L4 SandboxRun in isolation and watch behaviourSKIPPED

Provenance & runtime

Who published it, and what the audit could and could not run

Provenance

  • Repository owner gannonhUser accountAccount type recorded when we read the repository.
  • PackagePublished on npm@gannonh/firebase-mcp at version 1.4.9
  • LicenceMITFrom the repository, as read at the audited commit.
  • Last push11 months agoActivity of the repository when we read it.
  • Source commit readd1da90c4eff9The audit covers exactly this commit, read on 6 Oct 2026.

Runtime

  • Sandbox runNot run yetThis audit read the source only; it did not execute the server.
  • Tool inventory12 declaredRead from the source and classed read, write or destructive.

Every value here is read from the record's own repository and audit.Suggest a correction

Findings (10)

Sorted by severity

MEDIUMHard-coded secretssecret.private_key · .github/workflows/tests.yml:127
F-03 Hard-coded secretsCWE-798 · CWE-321Layer L1

Excerpt withheld: it is a secret, and we never print one.

Why
No further detail recorded for this rule.
Fix
—
MEDIUMFilesystem / pathmcp.destructive_tools
F-05 Filesystem / pathCWE-22 · CWE-59Layer L3
firestore_delete_document
Why
1 tool(s) can delete or overwrite
Fix
prefer a read-only mode or scoped tokens; the page states the blast radius
LOWInventory / provenanceinv.hidden_file · .augmentignore
F-13 Inventory / provenanceCWE-1104Layer L0
.augmentignore
Why
hidden member outside the usual dotfiles
Fix
review its purpose
LOWInventory / provenanceinv.hidden_file · .prettierignore
F-13 Inventory / provenanceCWE-1104Layer L0
.prettierignore
Why
hidden member outside the usual dotfiles
Fix
review its purpose
LOWFilesystem / pathfs.traversal · src/lib/firebase/__tests__/authClient.test.ts:3
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
import { logger } from '../../../utils/logger';
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · src/lib/firebase/__tests__/firebaseConfig.test.ts:24
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
import { getProjectId, initializeFirebase } from '../../firebase/firebaseConfig';
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · src/lib/firebase/__tests__/storageClient.test.ts:17
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
import { logger } from '../../../utils/logger.js';
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · src/lib/firebase/firestoreClient.ts:14
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
import { logger } from '../../utils/logger.js';
Why
No further detail recorded for this rule.
Fix
—
LOWFilesystem / pathfs.traversal · src/lib/firebase/storageClient.ts:16
F-05 Filesystem / pathCWE-22 · CWE-59Layer L1
import { logger } from '../../utils/logger.js';
Why
No further detail recorded for this rule.
Fix
—
LOWSupply chainsupply.unpinned · package.json
F-08 Supply chainCWE-829 · CWE-1357Layer L1
@modelcontextprotocol/sdk, axios, dotenv, express, firebase-admin, @eslint/eslintrc, @eslint/js, @types/express
Why
19 dependency range(s) float
Fix
pin exact versions or ship a lockfile

Tools it exposes

12 declared in source · 1 destructive

7 read4 write1 destructive

1 tool can delete or overwrite. An agent that can be talked into calling a tool can be talked into calling this one, so give it a token scoped to what you need.

ToolRiskWhat it does
firestore_delete_documentdestructiveDelete a document from a Firestore collection
firestore_add_documentwriteAdd a document to a Firestore collection
firestore_update_documentwriteUpdate a document in a Firestore collection
storage_uploadwriteUpload a file to Firebase Storage. Supports local file paths (preferred for binary files), base64 data, or plain text.
storage_upload_from_urlwriteUpload a file to Firebase Storage from an external URL. Perfect for images, documents, or any file accessible via URL.
auth_get_userreadGet a user by ID or email from Firebase Authentication
firestore_get_documentreadGet a document from a Firestore collection
firestore_list_collectionsreadList root collections in Firestore
firestore_list_documentsreadList documents from a Firestore collection with filtering and ordering
firestore_query_collection_groupreadQuery documents across all subcollections with the same name (collection group query)
storage_get_file_inforeadGet file information including metadata and download URL
storage_list_filesreadList files in a given path in Firebase Storage

Install

Package version 1.4.9 · audited commit d1da90c

Read the findings first. The most severe is Hard-coded secrets (medium) at .github/workflows/tests.yml.

One-click links open your editor with the config below filled in, exactly as the snippets show it, pinned to version 1.4.9. The audit covers commit d1da90c only.

claude mcp add firebase-mcp --env FIREBASE_AUTH_EMULATOR_HOST=${FIREBASE_AUTH_EMULATOR_HOST} --env SERVICE_ACCOUNT_KEY_PATH=${SERVICE_ACCOUNT_KEY_PATH} -- npx -y @gannonh/[email protected]

The command pins the package version recorded in the source (1.4.9); the audit covers commit d1da90c4eff9. Transport: stdio · streamable-http. Reads these environment variables: FIREBASE_AUTH_EMULATOR_HOST, SERVICE_ACCOUNT_KEY_PATH. Give it the narrowest token it needs.

Audit history

  1. !CAUTION B 89 / 100

    First audit · d1da90c4eff9

README badge

For maintainers · updates on every re-audit

ModelsAtlas: CAUTION BMODELSATLASCAUTION · B
[![ModelsAtlas: CAUTION B](https://modelsatlas.com/mcp/gannonh/firebase/badge.svg)](https://modelsatlas.com/mcp/gannonh/firebase/)

The badge always shows the latest audit; a maintainer cannot pin an old verdict.

Other ratings

Cited, never blended into our score

No third-party security ratings are recorded for this server yet. When they exist they appear here with their source and date, beside, not inside, our grade.

Questions about Firebase MCP server

What is the Firebase MCP server?
🔥 Model Context Protocol (MCP) server for Firebase.
What tools does Firebase expose?
12 in total: 7 read-only, 4 that write, and 1 that can delete or overwrite (firestore_delete_document). Every one is listed on this page with its risk.
Is Firebase safe to connect to an agent?
With care. The audit graded it B (89/100) and found 10 things worth knowing before you trust this server, listed below with the exact line each was found on. Separately from the audit: 1 of its tools can destroy data, so scope the token you give it to what you actually need.
What credentials does Firebase need?
It reads FIREBASE_AUTH_EMULATOR_HOST and SERVICE_ACCOUNT_KEY_PATH from the environment. Give it a token scoped to the least it needs — an agent that can be talked into calling a tool can be talked into calling it with your credentials.
How does Firebase run?
It speaks stdio and streamable-http, so it runs as a local process your client starts. It is published on npm as @gannonh/firebase-mcp at 1.4.9.
How current is this page?
The grade is for one exact copy of the source (d1da90c4eff9), read on 2026-10-06. The repository is watched and re-audited when it changes.

Sources

  • gannonh/firebase-mcp on GitHub — the source we read, its licence, stars and activityObserved · 6 Oct 2026
  • ModelsAtlas trust audit — CAUTION verdict for commit d1da90c4eff9Observed · 6 Oct 2026

Spotted something wrong? Report a correction · Methodology

Keep going in your AI

Opens with this page as the source. We add nothing else to the prompt.