MCP server · Audited from source
Firebase MCP server
by gannonh/firebase-mcpMIT licenceAudited 6 Oct 2026 · source d1da90c4eff9
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.
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
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
| Layer | What we check | Result |
|---|---|---|
L0 Provenance | Repo owner, licence, archive status, activity | PASS 2 findings |
L1 Static source | Secrets, path traversal, supply chain | WARN 7 findings |
L2 Instructions | Prompt injection and authority framing in docs and tool descriptions | PASS |
L3 Inventory | Declared tools match the source | WARN 1 finding |
L4 Sandbox | Run in isolation and watch behaviour | SKIPPED |
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-mcpat 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
Excerpt withheld: it is a secret, and we never print one.
- Why
- No further detail recorded for this rule.
- Fix
- —
MEDIUMFilesystem / pathmcp.destructive_tools
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
LOWFilesystem / pathfs.traversal · src/lib/firebase/__tests__/authClient.test.ts:3
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
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
import { logger } from '../../../utils/logger.js';- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · src/lib/firebase/firestoreClient.ts:14
import { logger } from '../../utils/logger.js';- Why
- No further detail recorded for this rule.
- Fix
- —
LOWFilesystem / pathfs.traversal · src/lib/firebase/storageClient.ts:16
import { logger } from '../../utils/logger.js';- Why
- No further detail recorded for this rule.
- Fix
- —
LOWSupply chainsupply.unpinned · package.json
@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
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.
| Tool | Risk | What it does |
|---|---|---|
firestore_delete_document | destructive | Delete a document from a Firestore collection |
firestore_add_document | write | Add a document to a Firestore collection |
firestore_update_document | write | Update a document in a Firestore collection |
storage_upload | write | Upload a file to Firebase Storage. Supports local file paths (preferred for binary files), base64 data, or plain text. |
storage_upload_from_url | write | Upload a file to Firebase Storage from an external URL. Perfect for images, documents, or any file accessible via URL. |
auth_get_user | read | Get a user by ID or email from Firebase Authentication |
firestore_get_document | read | Get a document from a Firestore collection |
firestore_list_collections | read | List root collections in Firestore |
firestore_list_documents | read | List documents from a Firestore collection with filtering and ordering |
firestore_query_collection_group | read | Query documents across all subcollections with the same name (collection group query) |
storage_get_file_info | read | Get file information including metadata and download URL |
storage_list_files | read | List 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]{
"mcpServers": {
"firebase-mcp": {
"command": "npx",
"args": [
"-y",
"@gannonh/[email protected]"
],
"env": {
"FIREBASE_AUTH_EMULATOR_HOST": "${FIREBASE_AUTH_EMULATOR_HOST}",
"SERVICE_ACCOUNT_KEY_PATH": "${SERVICE_ACCOUNT_KEY_PATH}"
}
}
}
}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
- !CAUTION B 89 / 100
First audit ·
d1da90c4eff9
README badge
For maintainers · updates on every re-audit
[](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?
What tools does Firebase expose?
Is Firebase safe to connect to an agent?
What credentials does Firebase need?
How does Firebase run?
How current is this page?
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.
- What is the Firebase MCP server?
- What tools does Firebase expose?
- Is Firebase safe to connect to an agent?