View as Markdown

Supabase Integration

Manage Supabase organizations, projects, Postgres settings, API keys, secrets, and branches via the Management API

The Supabase integration provides access to manage Supabase organizations, projects, Postgres settings, API keys, secrets, and branches via the Management API through the Integrate MCP server.

Installation

The Supabase integration is included with the SDK:

import { supabaseIntegration } from "integrate-sdk/server";

Setup

Add Supabase to your server configuration. Provide credentials via environment variables or integration config:

import { createMCPServer, supabaseIntegration } from "integrate-sdk/server";
 
export const { client: serverClient } = createMCPServer({
  apiKey: process.env.INTEGRATE_API_KEY,
  integrations: [
    supabaseIntegration({
      // See configuration options below
    }),
  ],
});

Client-Side Usage

import { client } from "integrate-sdk";
 
const result = await client.supabase.getProfile({});
 
console.log(result);

Environment Variables

  • SUPABASE_API_KEY (when supported by this integration)

Configuration Options

export interface SupabaseIntegrationConfig {
  /**
   * Personal access token for the Management API (same privileges as your Supabase account).
   * When set (or when SUPABASE_ACCESS_TOKEN is set), the integration uses apiKey auth instead of OAuth.
   */
  accessToken?: string;

Tools

supabase_get_profile

Get profile

No parameters.

supabase_list_organizations

List organizations

No parameters.

supabase_get_organization

Get organization

export interface SupabaseGetOrganizationParams { slug: string }

supabase_list_organization_projects

List organization projects

export interface SupabaseListOrganizationProjectsParams { slug: string }

supabase_list_projects

List projects

No parameters.

supabase_get_project

Get project

export interface SupabaseGetProjectParams { ref: string }

supabase_create_project

Create project

export interface SupabaseCreateProjectParams {
    name: string;

supabase_update_project

Update project

export interface SupabaseUpdateProjectParams { ref: string;

supabase_delete_project

Delete project

export interface SupabaseDeleteProjectParams { ref: string }

supabase_list_project_api_keys

List project api keys

export interface SupabaseListProjectApiKeysParams { ref: string;

supabase_create_project_api_key

Create project api key

export interface SupabaseCreateProjectApiKeyParams {
    ref: string;

supabase_delete_project_api_key

Delete project api key

export interface SupabaseDeleteProjectApiKeyParams { ref: string;

supabase_list_project_secrets

List project secrets

export interface SupabaseListProjectSecretsParams { ref: string }

supabase_list_project_branches

List project branches

export interface SupabaseListProjectBranchesParams { ref: string }

supabase_get_project_health

Get project health

export interface SupabaseGetProjectHealthParams { ref: string }

supabase_get_database_postgres_config

Get database postgres config

export interface SupabaseGetDatabasePostgresConfigParams { ref: string }

supabase_list_available_regions

List available regions

No parameters.

Notes

  • Category: Infrastructure
  • Authentication mode: API key