Supabase
Learn how to use Klavis to connect your AI application to Supabase MCP Server
The SSE protocol will be deprecated soon. Please use streamable-http as the connectionType moving forward.
Prerequisites
To get the most out of this guide, you’ll need to:
1. Create a Supabase MCP Server
Use the following endpoint to create a new remote Supabase MCP server instance:
Request
Response
serverUrl specifies the endpoint of the Supabase MCP server, which you can connect and use this MCP Server with your Supabase databases and services.
instanceId is used for authentication and identification of your server instance.
2. Supabase OAuth Flow (Recommended)
If you want to enable your MCP server to access your private Supabase infomation:
Option 1: Supabase OAuth Flow
To enable your MCP server to access your private Supabase information through OAuth:
Option 2: Set Auth Token
Instead of OAuth, you can also set your Supabase personal access token by calling our endpoint below: