Skip to main content
Glama
stefanraath3

Supabase MCP Server

by stefanraath3

Supabase MCP Server

An MCP server that connects to a Supabase PostgreSQL database, exposing table schemas as resources and providing tools for data analysis.

Features

  • Connection to Supabase PostgreSQL database

  • Table schemas exposed as resources

  • Read-only SQL query tools

  • Prompts for common data analysis tasks

Related MCP server: Self-Hosted Supabase MCP Server

Setup

  1. Clone this repository

  2. Install dependencies:

    npm install
  3. Copy .env.example to .env and update with your Supabase credentials:

    cp .env.example .env
  4. Edit the .env file with your actual Supabase connection details

Running the Server

Using stdio (command line integration)

npm start

Using HTTP with SSE (for web integration)

npm run start:http

Using with MCP Clients

This server can be used with any MCP-compatible client, including Claude.app and the MCP Inspector for testing.

Available Resources

  • schema://tables - Lists all tables in the database

  • schema://table/{tableName} - Shows schema for a specific table

Available Tools

  • query - Runs a read-only SQL query against the database

  • analyze-table - Gets basic statistics about a table

  • find-related-tables - Discovers tables related to a given table

Available Prompts

  • table-exploration - Guides exploration of a specific table

  • data-summary - Creates a summary of data in a table

  • relationship-analysis - Analyzes relationships between tables

A
license - permissive license
-
quality - not tested
D
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • F
    license
    A
    quality
    D
    maintenance
    A Model Context Protocol server that enables interaction with self-hosted Supabase instances, allowing developers to query database schemas, manage migrations, inspect statistics, and interact with Supabase features directly from MCP-compatible development environments.
    21
    1
  • A
    license
    -
    quality
    D
    maintenance
    A powerful MCP server for Supabase that provides interactive tools and React widgets for exploring and querying your Supabase database.
    3,341,382
    19
    MIT
  • A
    license
    A
    quality
    D
    maintenance
    An MCP server that provides deep schema introspection for Supabase/Postgres, exposing tables, columns, views, enums, RLS policies, functions, and more.
    13
    3
    MIT

View all related MCP servers

Related MCP Connectors

  • MCP server for interacting with the Supabase platform

  • MCP server for managing Prisma Postgres.

  • Markdown-first MCP server for Notion API with 8 composite tools and 39 actions.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/stefanraath3/mcp-supabase'

If you have feedback or need assistance with the MCP directory API, please join our Discord server