Supabase MCP: your Postgres projects inside Claude and Cursor
Supabase MCP lets your AI app list your projects, read table schemas, run SQL against a project's Postgres database and generate TypeScript types from it. ContextGate connects Supabase to Claude, ChatGPT and Cursor through Supabase's own MCP server or its app connector, so the SQL and API key tools can be switched off or held behind a policy, and every query is on record.
Ready to connect
Free
20 example tools
Connect Supabase to Claude, ChatGPT or Cursor
1Click Connect Supabase free and sign in with your Supabase account.
2Your AI app gets every Supabase tool when you connect, and the full list appears then. Switch off the tools that delete API keys or remove third-party auth providers, and the SQL tool too if your AI app should read schemas rather than run queries.
3Add ContextGate to your AI app as a connector or MCP server. The steps for each app are on the Works with page.
4Ask your AI app for the columns and constraints of a table in one of your Supabase projects, then open Activity to see the call.
Supabase work you can do from your editor
List your organizations and projects, with each project's region and status.
Pull column types and constraints for several tables at once to debug a schema or write accurate SQL.
Run a SQL query against a project's database when the standard endpoints aren't enough.
Generate TypeScript types from your database for the schemas you name.
Audit a project's third-party auth providers, SSL enforcement and API keys.
Protect your Supabase databases
Removing a third-party auth provider stops people signing in that way straight away, so switch that tool off unless you need it.
Policies check every call, so a secret key pasted into a SQL query can be blocked.
Activity keeps a record of every query and project change your team's AI apps make through ContextGate.
What you get with Supabase and ContextGate
Your AI apps can use SupabaseClaude, Cursor, ChatGPT and other AI apps reach Supabase through the one ContextGate connection you add to them.
You choose which tools they can useSwitch off any Supabase tool you don't want used. It's hidden from your AI apps and refused if called.
Every call is checked and recordedYour policies check each call (for example, personal data is hidden and secrets are blocked), and Activity keeps a record of it.
ContextGate sees only the tool calls that go through it, not your AI app's built-in tools or your chats.
Supabase tools
Examples of what your AI apps can do in Supabase. You'll see the exact list of tools after you connect it.