View as Markdown
Supabase Management API icon

Supabase Management API ACTION

Create Project

Creates a new Supabase project within a specified organization. See the documentation
  • Action
  • Writes data
  • OAuth
  • SDK
  • MCP

IMPLEMENTATION

Call this tool

Connect a user's Supabase Management API account once, then configure and run Create Project from your backend or agent.

import { PipedreamClient } from "@pipedream/sdk"

const pd = new PipedreamClient({
  projectId: process.env.PIPEDREAM_PROJECT_ID!,
  clientId: process.env.PIPEDREAM_CLIENT_ID!,
  clientSecret: process.env.PIPEDREAM_CLIENT_SECRET!,
  projectEnvironment: "production",
})

const result = await pd.actions.run({
  id: "supabase_management_api-create-project",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    supabase_management_api: { authProvisionId: "apn_xxxxxxx" },
    organizationId: "Organization ID",
    projectName: "Project Name",
  },
})

console.log(result)

SCHEMA

Inputs

Pipedream supplies the connected account. Your application provides the operation-specific values below. Dynamic inputs are resolved against that user's account.

Create Project inputs
Property Type Description
organizationId Organization ID string
The ID of the organization
Required Dynamic
projectName Project Name string
The name of the project
Required
dbPassword Database Password string
The password for the database
Required
region Region string
The region for the Supabase project
Required
instanceSize Instance Size string
The desired instance size for the Supabase project
Optional
templateUrl Template URL string
The template URL used to create the project from the CLI
Optional

REFERENCE

Tool details

Behavior hints are published with the component in the Pipedream registry and surface as MCP tool annotations, so an agent can reason about a tool before it calls it.

Registry key
supabase_management_api-create-project
Version
0.0.2
App
Supabase Management API
Authentication
OAuth
Read-only
No
Destructive
No
Open world
Yes