Query and manage Postgres databases via PostgREST. Connect your apps to Supabase seamlessly with MCP.

What is Supabase MCP?

Supabase MCP enables Cursor to communicate with Supabase's API directly through the Model Context Protocol. This integration lets AI assistants in Cursor access and manage Supabase resources without requiring you to switch contexts.

Setting Up Supabase MCP

Step 1: Access MCP Settings

Open Cursor and navigate to Settings → Features → MCP section to manage your Model Context Protocol connections.

Step 2: Add Supabase Server

Click the “+ Add New MCP Server” button and fill in the configuration details for Supabase.

Step 3: Configure Connection

Enter the following information:

  • Name: Supabase
  • Type: Select the appropriate transport (usually SSE)
  • URL: Enter the Supabase MCP endpoint
  • API Key: Add your Supabase API key if required

Step 4: Verify Connection

After adding the server, it should appear in your MCP servers list. Click the refresh button to confirm the tools are available.

Using Supabase with Cursor

Once you've set up the Supabase MCP connection, Cursor can interact with Supabase services directly. Here's how to use it:

  • Automatic detection: Cursor will recognize when your prompts relate to Supabase and will suggest using the appropriate tools.
  • Direct reference: You can explicitly mention Supabase in your prompts to activate the integration.
  • Task approval: When Cursor wants to use Supabase MCP, it will request your approval before executing the action.

Example Use Cases

Here are some ways you can leverage the Supabase MCP integration:

  • Ask Cursor to fetch information from your Supabase account
  • Request Cursor to perform routine Supabase operations
  • Use Cursor to analyze and work with your Supabase data directly

Note:

MCP tools may not be compatible with all AI models in Cursor. For best results, use with Claude models which have the strongest MCP support.

Search tools

Modal for searching tools