Hey guys,
Just wanted to share something I built for my own workflow: an MCP server for your self-hosted Supabase instances (like the one running locally with supabase start or a VPS hosted one).
It gives Cursor tools to:
-
Peek at your database schema (tables, extensions) and manage migrations.
-
Run SQL queries and check DB connections/stats.
-
Manage auth users (list, get, create, delete - careful with the create/update ones!).
-
Look at storage buckets and objects.
-
Check Realtime publications.
-
Generate TypeScript types.
If you’re running Supabase yourself and want to hook it up to Cursor, check it out:
GitHub Repo: GitHub - HenkDz/selfhosted-supabase-mcp
The README has config examples for setting it up in Cursor’s .cursor/mcp.json. You basically just point it to the built server file (dist/index.js) and provide your Supabase URL/keys.
Hope someone else finds it useful!