Skip to main content
Glama

Self-Hosted Supabase MCP Server

by freebreaker

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
DATABASE_URLNoThe direct PostgreSQL connection string for your Supabase database (e.g., postgresql://postgres:password@localhost:5432/postgres)
SUPABASE_URLYesThe main HTTP URL of your Supabase project (e.g., http://localhost:8000)
SUPABASE_ANON_KEYYesYour Supabase project's anonymous key
SUPABASE_AUTH_JWT_SECRETNoYour Supabase project's JWT secret
SUPABASE_SERVICE_ROLE_KEYNoYour Supabase project's service role key. Needed for operations requiring elevated privileges

Schema

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Tools

Functions exposed to the LLM to take actions

NameDescription

No tools

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/freebreaker/selfhosted-supabase'

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