Skip to main content
Glama
mustafaautomation

supabase-mcp-server

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MCP_DB_ROLENoThe Supabase API role to use: anon or authenticated.anon
MCP_SCHEMASNoComma-separated allowlist of schemas the server may access.public
MCP_USER_IDNoUUID returned by auth.uid(); required when MCP_DB_ROLE=authenticated and rejected when MCP_DB_ROLE=anon.
DATABASE_URLYesPostgres connection string for a role that can SET ROLE anon and SET ROLE authenticated (the local postgres user can). Required.
MCP_MAX_ROWSNoMaximum number of rows returned by a tool call. Must be between 1 and 1000.100
MCP_ALLOW_SQLNoSet to true to register the run_select_sql tool.false
MCP_ALLOW_WRITESNoSet to true to register the insert_row tool.false
MCP_STATEMENT_TIMEOUT_MSNoStatement timeout in milliseconds. Must be between 100 and 60000.5000

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Server capabilities have not been inspected yet.

Tools

Functions exposed to the LLM to take actions

NameDescription

No tools

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources