Skip to content
Merged
Show file tree
Hide file tree
Changes from 7 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
59 changes: 59 additions & 0 deletions .claude-plugin/marketplace.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
{
"name": "firebase",
"owner": {
"name": "Firebase",
"email": "[email protected]"
},
"metadata": {
"description": "Official Firebase Claude Plugin for managing Firebase projects",
"version": "1.0.0"
},
"plugins": [
{
"name": "firebase",
"description": "Firebase Claude Plugin for easy installing the Firebase MCP Server, managing Firebase projects, adding backend service, deploying and hosting 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 managing Firebase projects and services",
"command": "npx",
"args": [
"-y",
"firebase-tools",
"mcp",
"--dir",
"."
],
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

high

The command and args are configured to run npx -y firebase-tools .... This will download and execute the latest version of firebase-tools from npm, rather than using the local source code from this repository. This will prevent developers from testing their local changes to the MCP server.

To run the local version of firebase-tools, the command should directly execute the compiled script. Assuming the main script is at lib/bin/firebase.js after building, the configuration should be updated. This is a reasonable expectation for local development.

          "command": "node",
          "args": [
            "./lib/bin/firebase.js",
            "mcp",
            "--dir",
            "."
          ],

"env": {
"IS_FIREBASE_MCP": "true"
}
}
},
"source": "./"
}
]
}
25 changes: 24 additions & 1 deletion src/mcp/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,30 @@ 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 Claude Plugin marketplace:

```bash
claude plugin marketplace add firebase/firebase-tools
```

2. Install the Firebase Claude plugin:
```bash
claude plugin install firebase@firebase
```

You can verify the installation by running:

```bash
claude plugin
```

##### Option 2: Manual MCP Server Configuration

Alternatively, you can manually configure the Firebase MCP server by running:

```bash
claude mcp add firebase npx -- -y firebase-tools@latest mcp
Expand Down
Loading