diff --git a/.claude-plugin/marketplace.json b/.claude-plugin/marketplace.json new file mode 100644 index 00000000000..ab54953d9f8 --- /dev/null +++ b/.claude-plugin/marketplace.json @@ -0,0 +1,48 @@ +{ + "name": "firebase", + "owner": { + "name": "Firebase", + "email": "firebase-support@google.com" + }, + "metadata": { + "description": "Official Claude plugin for Firebase to help understand and manage your Firebase project, resources, and data", + "version": "1.0.0" + }, + "plugins": [ + { + "name": "firebase", + "description": "Claude plugin for Firebase that installs the Firebase MCP server and helps to manage Firebase projects, add backend services, add AI features, deploy & host apps, and more", + "version": "1.0.0", + "author": { + "name": "Firebase", + "url": "https://firebase.google.com/" + }, + "homepage": "https://github.com/firebase/firebase-tools", + "repository": "https://github.com/firebase/firebase-tools.git", + "license": "MIT", + "keywords": [ + "firebase", + "mcp", + "cloud", + "firestore", + "database", + "hosting", + "functions", + "cli" + ], + "category": "development", + "tags": ["firebase", "backend", "database", "cloud-services"], + "mcpServers": { + "firebase": { + "description": "Firebase MCP server for understanding and managing your Firebase project, resources, and data", + "command": "npx", + "args": ["-y", "firebase-tools", "mcp", "--dir", "."], + "env": { + "IS_FIREBASE_MCP": "true" + } + } + }, + "source": "./" + } + ] +} diff --git a/src/mcp/README.md b/src/mcp/README.md index 4eec05639e2..93f1412a94a 100644 --- a/src/mcp/README.md +++ b/src/mcp/README.md @@ -51,7 +51,31 @@ gemini extensions install https://github.com/gemini-cli-extensions/firebase/ #### Claude Code -To configure Claude Code to use the Firebase MCP server, run the following command under your app folder: +##### Option 1: Install via plugin (Recommended) + +The easiest way to set up the Firebase MCP server in Claude Code is to install the official Firebase plugin: + +1. Add the Firebase marketplace for Claude plugins: + + ```bash + claude plugin marketplace add firebase/firebase-tools + ``` + +2. Install the Claude plugin for Firebase: + + ```bash + claude plugin install firebase@firebase + ``` + +3. Verify the installation: + + ```bash + claude plugin + ``` + +##### Option 2: Configure MCP server manually + +Alternatively, you can manually configure the Firebase MCP server by running: ```bash claude mcp add firebase npx -- -y firebase-tools@latest mcp