Skip to main content
Glama
Steph-ux

supabase

by Steph-ux

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

Related MCP server: Supabase MCP Server - Self-Hosted Edition

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

F
license - not found
Not graded
quality - not tested
C
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

  • -
    license
    Not graded
    quality
    Not graded
    maintenance
    Enables IDE access to Supabase databases with SQL query execution, schema management, Auth admin operations, and built-in safety controls to prevent accidental destructive actions.
  • F
    license
    Not graded
    quality
    D
    maintenance
    Enables comprehensive management of self-hosted or cloud Supabase instances with 54+ tools for database operations, authentication, storage, real-time subscriptions, migrations, and monitoring through MCP protocol.
  • A
    license
    Not graded
    quality
    D
    maintenance
    Connects Supabase projects to AI assistants, enabling them to manage database tables, execute SQL queries, and deploy Edge Functions through natural language. It provides a comprehensive suite of tools for project administration, including logs access, documentation search, and environment configuration.
    Apache 2.0

View all related MCP servers

Related MCP Connectors

  • Manage Supabase projects end to end across database, auth, storage, realtime, and migrations. Moni…

  • The agent-native cloud: database, functions, AI, storage, computers. 50 tools, one API key.

  • Connect to PlanetScale databases, branches, schema, query insights, and execute SQL

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/Steph-ux/mcp-supabase'

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