Supabase PostgreSQL MCP Server Configuration | Promptexify
MCP
MCP
Supabase PostgreSQL MCP Server Configuration
An MCP configuration template to connect an LLM directly to a Supabase PostgreSQL database.
498 characters
Connect your Supabase PostgreSQL database to your LLM using this MCP config. This enables the model to query tables, inspect schemas, and manage data within your Supabase project.
{
"mcpServers": {
"supabase-postgres": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-postgres"
],
"env": {
"POSTGRES_URL": "postgresql://postgres.[project-ref]:[db-password]@aws-0-[region].pooler.supabase.com:6543/postgres"
}
}
}
}