Skip to main content
Connect your Supabase account via OAuth and give your AI agents access to your entire backend: execute SQL queries, manage auth users, deploy edge functions, and work with storage — all from Mantle.

What you unlock

SQL queries

Execute read and write SQL queries against your Supabase Postgres database through natural language.

Auth management

Manage authentication users, SSO providers, and auth configuration without opening the Supabase dashboard.

Edge functions

List, deploy, and invoke edge functions directly from chat or automated agent tasks.

Project control

Manage projects, branches, storage buckets, and database configuration from one place.

Connect Supabase

1

Open Settings → Integrations

In any workspace go to Settings → Integrations and select Supabase.
2

Authorize with OAuth

Click Connect and sign in to your Supabase account. Grant Mantle the requested permissions to access your projects and data.
3

Confirm the connection

Once authorized, you’ll be redirected back to Mantle. The integration status will show as connected.

Agent tools

Any agent in your workspace can use Supabase tools once the integration is connected.

Database & SQL

ToolDescription
Run SQL queryExecute SQL against your Supabase database
Run read-only queryExecute a read-only SQL query
List tablesList all tables in the database
Get table schemasRetrieve schema details for tables
Select from tableQuery data from a specific table
Generate typesGenerate TypeScript types from your schema

Projects & Branches

ToolDescription
List projectsList all Supabase projects
Get projectRetrieve project details and health status
Create branchCreate a database branch for development
List branchesList all branches for a project
Apply migrationApply a database migration

Edge Functions & Storage

ToolDescription
List functionsList all edge functions in a project
Deploy functionDeploy or update an edge function
Invoke functionCall an edge function with parameters
List bucketsList all storage buckets
Manage secretsCreate, list, or delete project secrets

Triggers

Automated triggers for Supabase are not yet available. Triggers will be added in a future update — check back soon.

Example use cases

Ask “How many active users do we have?” and the agent translates your question into SQL, runs it against your Supabase database, and returns the result — no SQL client needed.
After discussing a new webhook handler in chat, ask your agent to deploy the edge function to Supabase. It handles the deployment and confirms the function is live.
Starting a new feature? Ask your agent to create a Supabase branch with the latest schema — it returns the branch URL and connection details ready for your development environment.

Troubleshooting

Make sure you are signing in with a Supabase account that owns or has access to the projects you want to manage. Try disconnecting and reconnecting from Settings → Integrations → Supabase.
Check your SQL syntax and ensure the tables and columns referenced exist in your database. Use “List tables” and “Get table schemas” to verify the current schema before writing queries.
Verify the function code compiles and meets Supabase’s edge function requirements (Deno runtime). Check that your project plan supports the number of edge functions you need.
Database branching requires a Supabase Pro plan or higher. Free tier projects do not support branching. Check your project’s plan in the Supabase dashboard.

Back to Integrations

View all available integrations