Firebase Integration
Manage Firebase projects and registered apps across web, Android, and Apple platforms
The Firebase integration provides access to manage Firebase projects and registered apps across web, Android, and Apple platforms through the Integrate MCP server.
Installation
The Firebase integration is included with the SDK:
import { firebaseIntegration } from "integrate-sdk/server";Setup
1. Create a Firebase OAuth App
- Create an OAuth application for Firebase
- Configure your redirect URI
- Note your Client ID and Client Secret
2. Configure the Integration on Your Server
Add the Firebase integration to your server configuration. The integration automatically reads FIREBASE_CLIENT_ID and FIREBASE_CLIENT_SECRET from your environment variables:
import { createMCPServer, firebaseIntegration } from "integrate-sdk/server";
export const { client: serverClient } = createMCPServer({
apiKey: process.env.INTEGRATE_API_KEY,
integrations: [
firebaseIntegration({
scopes: ["openid", "email", "https://www.googleapis.com/auth/firebase", "https://www.googleapis.com/auth/cloud-platform"], // Optional
}),
],
});You can override the environment variables by passing explicit values:
firebaseIntegration({
clientId: process.env.CUSTOM_FIREBASE_ID,
clientSecret: process.env.CUSTOM_FIREBASE_SECRET,
scopes: ["openid", "email", "https://www.googleapis.com/auth/firebase", "https://www.googleapis.com/auth/cloud-platform"], // Optional
});3. Client-Side Usage
The default client automatically includes all integrations. You can use it directly:
import { client } from "integrate-sdk";
await client.authorize("firebase");
const result = await client.firebase.listProjects({});
console.log(result);If you're using a custom client, add the integration to the integrations array:
import { createMCPClient, firebaseIntegration } from "integrate-sdk";
const customClient = createMCPClient({
integrations: [firebaseIntegration()],
});Configuration Options
Prop
Type
Default Scopes
These defaults are applied unless you override scopes in the integration config:
openidemailhttps://www.googleapis.com/auth/firebasehttps://www.googleapis.com/auth/cloud-platform
Tools
firebase_list_projects
List projects
Prop
Type
firebase_get_project
Get project
Prop
Type
firebase_list_web_apps
List web apps
Prop
Type
firebase_list_android_apps
List android apps
Prop
Type
firebase_list_ios_apps
List ios apps
Prop
Type
firebase_create_web_app
Create web app
Prop
Type
Notes
- Category: Infrastructure
- Authentication mode: OAuth