---
title: "Firebase Integration"
description: "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:

```typescript
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:

```typescript
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:

```typescript
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:

```typescript
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:

```typescript
import { createMCPClient, firebaseIntegration } from "integrate-sdk";

const customClient = createMCPClient({
  integrations: [firebaseIntegration()],
});
```

## Configuration Options

<AutoTypeTable
  path="../src/integrations/firebase.ts"
  name="FirebaseIntegrationConfig"
/>


## 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

<AutoTypeTable
  path="generated/tool-params/firebase.ts"
  name="FirebaseListProjectsParams"
/>

### `firebase_get_project`

Get project

<AutoTypeTable
  path="generated/tool-params/firebase.ts"
  name="FirebaseGetProjectParams"
/>

### `firebase_list_web_apps`

List web apps

<AutoTypeTable
  path="generated/tool-params/firebase.ts"
  name="FirebaseListWebAppsParams"
/>

### `firebase_list_android_apps`

List android apps

<AutoTypeTable
  path="generated/tool-params/firebase.ts"
  name="FirebaseListAndroidAppsParams"
/>

### `firebase_list_ios_apps`

List ios apps

<AutoTypeTable
  path="generated/tool-params/firebase.ts"
  name="FirebaseListIosAppsParams"
/>

### `firebase_create_web_app`

Create web app

<AutoTypeTable
  path="generated/tool-params/firebase.ts"
  name="FirebaseCreateWebAppParams"
/>

## Notes

- Category: Infrastructure
- Authentication mode: OAuth
