supabase

supabase

Enables direct Postgres queries, storage management, user authentication, edge function invocation, and project administration through 24 grouped tools.

Category
Visit Server

README

mcp-supabase

Supabase MCP server — Postgres direct + Storage REST + Auth + Edge Functions + Management API.

Features

  • 24 tools covering Database, Storage, Auth, Edge Functions, and Project Management
  • Direct Postgres via pg pool (no Supabase JS client needed)
  • SSL support for Supabase pooler
  • Service role key for admin operations
  • Access token for Management API

Setup

cd mcp-supabase
npm install
cp .env.example .env  # Edit with your credentials
node server.cjs

Environment Variables

Variable Required Description
DATABASE_URL Yes Postgres connection string from Supabase dashboard
SUPABASE_SERVICE_ROLE_KEY Yes Service role key for Storage/Auth operations
SUPABASE_PROJECT_REF Yes Project reference ID (from dashboard URL)
SUPABASE_ACCESS_TOKEN No Personal access token for Management API
SUPABASE_ANON_KEY No Anonymous key for client-side operations

Tools

Database

  • execute_sql — Run arbitrary SQL
  • list_schemas — List database schemas
  • list_tables — List tables in a schema
  • get_schema — Get table schema details
  • get_table_row_counts — Get row counts for all tables
  • run_rpc — Call PostgreSQL functions

Storage

  • list_buckets — List storage buckets
  • create_bucket — Create a storage bucket
  • delete_bucket — Delete a storage bucket
  • list_files — List files in a bucket
  • upload_file — Upload a file
  • download_file — Download a file (base64)
  • delete_file — Delete a file

Auth

  • list_auth_users — List users
  • create_auth_user — Create a user
  • update_auth_user — Update a user
  • delete_auth_user — Delete a user

Edge Functions

  • list_edge_functions — List deployed functions
  • invoke_edge_function — Invoke a function

Management

  • list_projects — List all projects
  • get_project — Get project details

MCP Configuration

{
  "mcpServers": {
    "supabase": {
      "command": "node",
      "args": ["path/to/server.cjs"]
    }
  }
}

Security Notes

  • Service role key has admin access — use with caution
  • Never commit .env or config.json
  • Use environment variables in production

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured