Skip to content
Kitbay
MCP server

selfhosted-supabase-mcp

Local or remoteMITUpdated on Feb 19, 2026138GitHub starsCan change dataNeeds an API key

An MCP server for people who run Supabase on their own infrastructure rather than on Supabase's cloud.

What it does

An MCP server for people who run Supabase on their own infrastructure rather than on Supabase's cloud. It targets a single self-hosted project and offers tools to inspect tables, columns, indexes, triggers, functions and extensions, apply migrations, run SQL and EXPLAIN, read database statistics, row-level security policies and advisor notices, manage auth users, work with storage and generate TypeScript types. It runs over stdio for a local client, with no authentication in that mode, or as a Streamable HTTP service that checks a Supabase JWT and limits privileged tools to the service role. It is run with Bun from a clone or in Docker.

Capabilities

  • Inspect tables, columns, indexes, triggers and functions
  • Apply SQL migrations and run SQL queries
  • Read database statistics and row-level security policies
  • Manage auth users
  • Generate TypeScript types from the schema