> ## Documentation Index
> Fetch the complete documentation index at: https://docs.dust.tt/llms.txt
> Use this file to discover all available pages before exploring further.

# Supabase

> Let your agents query and manage your Supabase projects, databases, and Edge Functions.

With the Supabase tool, your agents can manage your Supabase projects: query and change databases, apply migrations, deploy Edge Functions, read logs, and search the Supabase docs. Supabase builds and maintains this MCP server: an admin connects it once, then anyone can add it to an agent.

## What your agent can do in Supabase

Supabase maintains the list of actions, and it can change at any time. See [Supabase's MCP server documentation](https://supabase.com/docs/guides/getting-started/mcp) for the current list. The tools listed in **Spaces** > **Tools** > **Supabase** are the ones your agents can use.

## Before you start

* **In Dust:** you need to be an admin to connect Supabase.
* **In Supabase:** the Supabase tool isn't scoped to one project or set to read-only, so your agents can reach all the projects your account can access. Read Supabase's [security best practices](https://supabase.com/docs/guides/ai-tools/mcp#security-risks) before you connect projects with production data.

## Connect Supabase

> [!NOTE]
>
> Only workspace admins can connect Supabase.

**1. Open the tools of your workspace**

Go to **Spaces** > **Tools** and click **Add tools**.

**2. Pick Supabase**

Select **Supabase**, then click **Next**.

**3. Sign in**

Keep **Personal accounts**, selected by default, or pick **Shared account**. Click **Setup connection**, then sign in with your Supabase account.

## Add Supabase to an agent

**1. Open your agent in the Agent Builder**

Create an agent, or open one you can edit.

**2. Add the tool**

In **Capabilities and knowledge**, click **Add capabilities** and select **Supabase**.

**3. Say which project to use**

In the instructions, name the project the agent should work on, and when it may run queries that change data or apply migrations.

By default, all Supabase tools ask for approval every time (**High**). Admins can change the level of each tool in **Spaces** > **Tools** > **Supabase** > **Tools & stakes**:

* **High:** needs explicit user approval.
* **Low:** users can completely disable confirmations.
* **Never ask:** runs automatically.

Tools that Supabase adds later start at **High** until an admin changes them.

## Related

> [card] [Preconfigured MCP servers](https://docs.dust.tt/docs/user-documentation/agents/tools/preconfigured-mcp-servers.md)
>
> All the third-party MCP servers you can connect.

> [card] [Personal vs Shared Credentials](https://docs.dust.tt/docs/user-documentation/admins/tools-management/personal-vs-shared-credentials.md)
>
> How each connection type works for tools.

> [card] [Adding an MCP server](https://docs.dust.tt/docs/user-documentation/admins/tools-management/adding-an-mcp-server.md)
>
> Add tools to your workspace and choose who can use them.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.