View as Markdown

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

  1. Create an OAuth application for Firebase
  2. Configure your redirect URI
  3. 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

export interface FirebaseIntegrationConfig {
  clientId?: string;

Default Scopes

These defaults are applied unless you override scopes in the integration config:

  • openid
  • email
  • https://www.googleapis.com/auth/firebase
  • https://www.googleapis.com/auth/cloud-platform

Tools

firebase_list_projects

List projects

export interface FirebaseListProjectsParams {
    "pageSize"?: number;

firebase_get_project

Get project

export interface FirebaseGetProjectParams {
    "project_id": string;

firebase_list_web_apps

List web apps

export interface FirebaseListWebAppsParams {
    "project_id": string;

firebase_list_android_apps

List android apps

export interface FirebaseListAndroidAppsParams {
    "project_id": string;

firebase_list_ios_apps

List ios apps

export interface FirebaseListIosAppsParams {
    "project_id": string;

firebase_create_web_app

Create web app

export interface FirebaseCreateWebAppParams {
    "project_id": string;

Notes

  • Category: Infrastructure
  • Authentication mode: OAuth