-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Add Firebase MCP server Claude plugin configuration #9424
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Summary of ChangesHello @charlotteliang, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! This pull request introduces the foundational configuration required to integrate the Firebase Model Context Protocol (MCP) server as a plugin within the Claude Code environment. The primary goal is to empower developers to seamlessly manage and interact with Firebase services directly from Claude Code, thereby streamlining the development workflow for Firebase-backed projects. The changes are encapsulated in a new marketplace configuration file that defines the Firebase plugin and its operational parameters. Highlights
Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here. You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension. Footnotes
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code Review
This pull request adds a Claude plugin marketplace configuration file for the Firebase MCP server. This allows local development and testing of the MCP server as a Claude plugin. My review identifies two issues: one high-severity issue regarding the command used to launch the server which would prevent testing local changes, and one medium-severity issue regarding a hardcoded version number that will create a maintenance burden.
.claude-plugin/marketplace.json
Outdated
| "command": "npx", | ||
| "args": [ | ||
| "-y", | ||
| "firebase-tools", | ||
| "mcp", | ||
| "--dir", | ||
| "." | ||
| ], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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",
"."
],
richieforeman
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
Co-authored-by: rachelsaunders <[email protected]>
Co-authored-by: rachelsaunders <[email protected]>
Co-authored-by: rachelsaunders <[email protected]>
Co-authored-by: rachelsaunders <[email protected]>
Co-authored-by: rachelsaunders <[email protected]>
Here's the complete step-by-step guide to install and test your Firebase MCP plugin locally:
Step 1: Validate the marketplace configuration
From your terminal in the firebase-tools directory:
claude plugin validate .
This will check if your marketplace.json is properly formatted.
Step 2: Open Claude Code and add the marketplace
Start Claude Code, then run this command in the Claude Code interface:
/plugin marketplace add /Users/chliang/github/firebase-tools
Or if you're already in a Claude Code session within the firebase-tools directory:
/plugin marketplace add .
You should see a confirmation that the marketplace was added.
Step 3: List available marketplaces (optional)
To verify the marketplace was added:
/plugin marketplace list
You should see firebase in the list.
Step 4: Install the plugin
/plugin install firebase-mcp-server@firebase
Step 5: Verify the plugin is installed
Check installed plugins:
/plugin list
You should see firebase-mcp-server@firebase in the list.
Step 6: Test the MCP server
Check if the Firebase MCP server is running:
/mcp list
You should see a firebase MCP server listed. You can now interact with Firebase services through the MCP
interface in Claude Code.
Step 7: Test Firebase functionality
If you have a Firebase project in your current directory, try asking Claude Code to interact with Firebase.