Connect Supabase to your agents
A trial starts first, then a project installs Supabase from its marketplace.
Supabase MCP server
Let agents build and debug your Supabase backend from a project chat
Install the Supabase MCP server in an Aldena project and agents query tables, apply migrations, read logs and advisors, and deploy edge functions.
- Sign-in
- Browser sign-in
- Installs as
supabase- Transport
- Streamable HTTP
Supabase gives each project a Postgres database with auth, storage, edge functions and logs around it. Its MCP server lets an agent work on that backend directly: list tables, extensions and migrations, run SQL and apply migrations, read logs and the security and performance advisors, generate TypeScript types, manage Edge Functions, search Supabase's docs, and create or pause projects, acting as the person who signed in.
In an Aldena project the server closes the loop between app code and database. An engineering agent adding a feature writes the migration, applies it to a development project, regenerates the TypeScript types and updates the code in its conversation's sandbox, then opens the pull request through the GitHub connector. When a bug report comes in, the agent queries the project's logs for the failing requests, checks the advisors for a missing index or policy, and proposes the fix. Creating a project or a branch can cost money, and Supabase quotes that cost before anything is created.
Keep the SQL and migration tools on ask in the project's permissions. For other hosted Postgres, compare the Neon MCP server or the Prisma MCP server, and see the PostgreSQL integration for databases you run yourself.
With Supabase, your agents can
List tables, extensions and migrations in a Supabase project
Run SQL and apply schema migrations to the database
Query project logs and read security and performance advisors
Generate TypeScript types from the database schema
List, read and deploy Supabase Edge Functions
Try asking
Things to ask an agent in a project chat once it's installed.
“List the tables in our Supabase project and generate TypeScript types for them into src/types/database.ts on a branch.”
“Check the Supabase advisors for our staging project and fix any table that is missing row level security in a migration.”
“Query the Supabase logs for the last hour of 500 errors from the auth service and tell me what they have in common.”
Server
- Server URL
https://mcp.supabase.com/mcp- Website
- supabase.com
- MCP docs
- Supabase MCP docs
How to connect Supabase
- Open Marketplace
In a project, open Settings → Connectors → MCP servers and press Marketplace.
- Install Supabase
Search for Supabase and press Install. Aldena adds it as
supabase. - Sign in to Supabase
Open the sign-in link Aldena shows and approve. The server then acts as you.
- Let agents use it
Agents find its tools with
mcp_searchand call them withmcp_call. Each tool gets its own row in the project's permissions.
Related MCP servers
FAQ
Which Supabase tools does the marketplace install enable?
The marketplace installs Supabase's base URL, which turns on every feature group your connection supports apart from Storage: database, debugging, development, Edge Functions, account and docs. Branching is experimental and needs a paid plan. To narrow it, press Edit and add Supabase's features parameter to the URL.
Can I keep the Supabase server read-only or scoped to one project?
Yes. Supabase reads options from the server URL: read_only=true runs every query as a read-only Postgres user, and project_ref limits the connection to one project and turns off the account tools. Press Edit on the server in Aldena and add them to the URL; a new URL reconnects.
Should an agent connect Supabase to production data?
Supabase warns that connecting a model to your projects carries security risks and asks you to read its security best practices first. A common setup points agents at a development project, keeps execute_sql and apply_migration on ask, and ships schema changes to production as reviewed migrations.
Ready when you are
Spin up your first project.
One project per client, product, or piece of work, staffed with intake, requirements, build and code review agents.