Supabase-MCP

Supabase-MCP

3.4

If you are the rightful owner of Supabase-MCP and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

A Model Context Protocol (MCP) server for interacting with Supabase databases, providing tools for querying tables and generating TypeScript types.

The Supabase MCP Server is designed to facilitate seamless interaction with Supabase databases through the Model Context Protocol (MCP) interface. It offers robust tools for executing queries on database tables, allowing for schema selection, column filtering, and complex where clauses. Additionally, it supports pagination and error handling to ensure efficient data retrieval. The server also includes a feature for generating TypeScript types, which is compatible with any schema, whether public, auth, or api, and works with both local and remote Supabase projects. This functionality is particularly useful for developers looking to integrate Supabase with TypeScript-based applications, as it provides automatic project reference detection and outputs directly to the console.

Features

  • Query Tables: Execute queries on any table with support for schema selection, column filtering, where clauses, pagination, and error handling.
  • Type Generation: Generate TypeScript types for your database, supporting any schema and working with both local and remote Supabase projects.

Tools

  1. query_table

    Query a specific table with schema selection and where clause support.

  2. generate_types

    Generate TypeScript types for your Supabase database schema.