Arlet
Supabase

Connect Supabase to Claude

Search, read and write Supabase from Claude. Arlet links the two through one MCP connection and takes care of keys and authentication.

Arlet makes Supabase's official MCP server available from the AI client you already use. Signing in completes the connection.

The AI can manage projects, run SQL and migrations, read logs and advisories, deploy Edge Functions and search the docs. Write tools are included, so keep tool-call confirmation enabled in your AI client when working against production projects. The available tools are those provided by Supabase's official server.

How to connect Supabase to Claude

  1. 1

    In the Arlet dashboard, open Integrations β†’ Add an integration and choose Supabase. Sign in with Link Supabase, name the connection and click Create.

  2. 2

    In Claude, open Organization settings β†’ Connectors from the account menu at the bottom left, then click + Add.

  3. 3

    Choose Custom β†’ Web, enter "Arlet" as the Name and https://mcp.arlet.dev/mcp/ as the Remote MCP server URL, then click Add. Authentication settings are auto-detected, so keep the defaults.

  4. 4

    The first time you use it, sign in with Google. After that, every service you switched on in Arlet is available from Claude.

Adding a connector is done by an organization admin on Team / Enterprise plans. On Pro / Max you can add it for yourself from Settings β†’ Connectors with the same steps.

What you can do

Supabase tools that Claude can call.

  • list_projects

    List the projects in your organization.

  • get_project

    Get a project's details.

  • list_tables

    List tables.

  • execute_sql

    Run SQL.

  • apply_migration

    Apply a migration.

  • list_migrations

    List applied migrations.

  • list_extensions

    List enabled extensions.

  • query_logs

    Query project logs.

  • get_advisors

    Get security and performance advisories.

  • generate_typescript_types

    Generate TypeScript types from the schema.

  • list_edge_functions

    List Edge Functions.

  • deploy_edge_function

    Deploy an Edge Function.

  • get_project_url

    Get the project's API URL.

  • get_publishable_keys

    Get the publishable API keys.

  • search_docs

    Search Supabase's documentation.

The tool list follows what Supabase's official MCP server provides and may change.

Example uses

  • Investigate data

    Inspect the schema, write and run aggregation queries, and explain the results.

  • Change the schema

    Write a migration from requirements, apply it and regenerate TypeScript types.

  • Check logs and advisors

    Search error logs and combine them with security and performance advisories into an action list.

  • Update an Edge Function

    Fetch a function's code, fix it and deploy.

Prompts you can use as-is

  • Count new sign-ups in the users table per day for the last 7 days
  • Write and apply a migration adding a status text column with default 'pending' to orders
  • Look through the last hour of API error logs and summarize likely causes
  • List the security advisor findings and explain how to fix the highest-priority ones

Use Supabase with other AI clients