Enables access to Firebase Remote Config, allowing management of app configurations stored in Firebase. Supports viewing and potentially administering remote configuration templates.
Integrates with Google Cloud for service account authentication and IAM permissions required to access Firebase services.
fire_config_mcp
Setup
1. Install dependencies
2. Create a Google Cloud service account for Firebase Remote Config
To access Firebase Remote Config, you must create a service account in your Google Cloud Console and grant it the correct permissions.
How to create a service account in Google Cloud Console
- Go to the Google Cloud Console.
- Select your project (the one that owns your Firebase app).
- In the left sidebar, go to IAM & Admin → Service Accounts.
- Click Create Service Account.
- Name: Any name (e.g.,
mcp-remote-config
) - Description: (Optional) e.g., “MCP server – Remote Config access”
- Name: Any name (e.g.,
- Click Create and Continue.
- Grant this service account access to project:
- In the role picker, search for and add:
- Remote Config Admin (or Remote Config Viewer if you only need read access)
- (Optional) Firebase Analytics Viewer if your Remote Config template conditions reference GA4 audiences
- In the role picker, search for and add:
- Click Continue and then Done.
- In the list of service accounts, click the one you just created.
- Go to the Keys tab.
- Click Add Key → Create new key.
- Choose JSON and click Create. This will download a JSON key file to your computer.
Important: Keep this file secure. Do not share it or commit it to version control.
3. Place service account files for each environment
Rename and place the downloaded JSON file(s) in your project root as follows:
serviceAccount_dev.json
for your development environmentserviceAccount_stg.json
for your staging environmentserviceAccount_prod.json
for your production environment
Note: Do not commit any
serviceAccount_*.json
files to version control. They are already in.gitignore
.
4. Run the server with one or more environments
You can specify which environments to load by passing them as arguments. For example:
This will load all three environments. You can specify any subset (e.g., just dev
, or stg prod
). If no arguments are provided, it defaults to dev
.
The server will start on port 3000 by default.
Usage
Add this MCP server to a client (e.g., Cursor, Claude Desktop, or your own MCP client)
In Cursor:
- Open Cursor Settings → Features → Add new MCP server.
- For the command, use:
npx -y supergateway --sse http://localhost:3000/mcp
"fire-config-mcp": { "command": "npx", "args": [ "-y", "supergateway", "--sse", "http://localhost:3000/mcp" ] } ``` (Or use the path/command as configured in your environment.) 3. Save and connect.
In your own MCP client (TypeScript example):
You can connect to this server using the @modelcontextprotocol/sdk client:
For more details, see the MCP TypeScript SDK documentation.
This project was created using bun init
in bun v1.2.7. Bun is a fast all-in-one JavaScript runtime.
This server cannot be installed
local-only server
The server can only run on the client's local machine because it depends on local resources.
An MCP server that provides access to Firebase Remote Config, allowing clients to interact with and manage Firebase remote configuration settings through the Model Context Protocol.
Related MCP Servers
- AsecurityAlicenseAqualityThe Firebase MCP server provides a standardized interface to interact with Firebase services, including Firebase Authentication, Firestore, and Firebase Storage.Last updated 7 days ago9351196TypeScriptMIT License
- -securityFlicense-qualityAuto-generated MCP server that enables interaction with the Firebase App Distribution API, allowing users to manage distribution of pre-release app builds to testers through natural language commands.Last updated a month agoPython
- -securityFlicense-qualityAn MCP Server that provides natural language access to Google's Firebase Realtime Database API, enabling database operations and management through conversation.Last updated a month agoPython
- -securityFlicense-qualityAn MCP Server providing access to Google's Firebase API, allowing natural language interaction with Firebase services and resources.Last updated a month agoPython