Firebase MCP
@gannonh
Firebase MCP について
🔥 Model Context Protocol (MCP) server for Firebase.
基本情報
設定
以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。
{
"mcpServers": {
"firebase-mcp": {
"command": "npx",
"args": [
"-y",
"@gannonh/firebase-mcp"
],
"env": {
"SERVICE_ACCOUNT_KEY_PATH": "/absolute/path/to/serviceAccountKey.json",
"FIREBASE_STORAGE_BUCKET": "your-project-id.firebasestorage.app"
}
}
}
}ツール
ツールは検出されませんでした
ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。
概要
What is Firebase MCP?
Firebase MCP enables AI assistants to work directly with Firebase services, including Firestore document operations, Storage file management with upload capabilities, and Authentication user management and verification. It works with MCP client applications such as Claude Desktop, Augment Code, VS Code, and Cursor.
How to use Firebase MCP?
Add the server configuration to your MCP client’s settings file (e.g., claude_desktop_config.json). Provide the required environment variable SERVICE_ACCOUNT_KEY_PATH pointing to your Firebase service account key JSON, and optionally set FIREBASE_STORAGE_BUCKET. The server can be run via npx (recommended) or from a local installation, and supports both stdio and HTTP transports.
Key features of Firebase MCP
- Firestore documents: add, list, get, update, delete
- Firestore collections: list root collections and query collection groups
- Storage files: list, get metadata, upload from content or URL
- Authentication: get user by ID or email
- HTTP transport with session management for multiple clients
- Optional file logging for debugging
Use cases of Firebase MCP
- Query and manage Firestore data through natural language conversation
- Upload files to Firebase Storage and retrieve download URLs
- Look up user details in Firebase Authentication
- Perform CRUD operations on documents without writing code
- Debug Firebase queries with file logging and MCP Inspector
FAQ from Firebase MCP
What prerequisites are needed to run Firebase MCP?
You need a Firebase project with a service account key (JSON), and a Node.js environment.
Does the firestore_list_collections tool have a known issue?
Yes. It may show a Zod validation error in client logs, but the query still works correctly; this is a log-level bug in the MCP SDK that does not affect functionality.
How do I fix a “Storage Bucket Not Found” error?
Verify your bucket name in the Firebase Console and set the correct value in the FIREBASE_STORAGE_BUCKET environment variable.
What should I do if I get a “composite index required” error?
Follow the URL provided in the error message to create the required composite index in the Firebase Console, then retry the query after the index is ready.
How can I enable debugging for Firebase MCP?
Set DEBUG_LOG_FILE=true in the environment to log to ~/.firebase-mcp/debug.log, or specify a custom path for file logging. You can also use the MCP Inspector for interactive debugging.
「クラウドとインフラ」の他のコンテンツ
AWS Model Context Protocol (MCP) Server
alexei-ledA lightweight service that enables AI assistants to execute AWS CLI commands (in safe containerized environment) through the Model Context Protocol (MCP). Bridges Claude, Cursor, and other MCP-aware AI tools with AWS CLI for enhanced cloud infrastructure management.
MCP Server that interacts with Azure AI Foundry (experimental)
azure-ai-foundryA MCP Server for Azure AI Foundry: it's now moved to cloud, check the new Foundry MCP Server
tfmcp: Terraform Model Context Protocol Tool
nwiizo🌍 Terraform Model Context Protocol (MCP) Tool - An experimental CLI tool that enables AI assistants to manage and operate Terraform environments. Supports reading Terraform configurations, analyzing plans, applying configurations, and managing state with Claude Desktop integrati
Terraform MCP Server
hashicorpThe Terraform MCP Server provides seamless integration with Terraform ecosystem, enabling advanced automation and interaction capabilities for Infrastructure as Code (IaC) development.
container-use
aluzzardiDevelopment environments for coding agents. Enable multiple agents to work safely and independently with your preferred stack.
コメント