# PromptRails + Supabase Integration

Source: https://0.0.0.0:8080/integrations/supabase

---

[All Integrations](/integrations)

![Supabase](/images/logos/supabase.svg)

# Supabase

Development

Query Supabase databases, manage storage buckets, and interact with auth users. Build data-driven agents that leverage the full Supabase platform.

## How to Connect

1.  1Go to the MCP Templates marketplace.
2.  2Find the Supabase template.
3.  3Enter your Supabase project URL and service role key.
4.  4Add the template to your agent.

## Available Tools

`supabase_query`

Query a Supabase table via PostgREST

`supabase_insert`

Insert a row into a Supabase table

`supabase_update_row`

Update rows in a Supabase table via PostgREST

`supabase_delete_row`

Delete rows from a Supabase table via PostgREST

`supabase_run_rpc`

Call a Postgres function via Supabase PostgREST RPC

`supabase_list_tables`

List available tables in the Supabase project via the OpenAPI spec

`supabase_list_buckets`

List all storage buckets in the Supabase project

`supabase_list_files`

List files in a Supabase storage bucket

`supabase_get_file_url`

Get the public URL for a file in Supabase storage

`supabase_upload_file`

Upload a file to Supabase storage

`supabase_delete_file`

Delete a file from Supabase storage

`supabase_list_users`

List users in the Supabase project

[Documentation](/docs/mcp-tools)[Supabase API Reference](https://supabase.com/docs/reference)

[Get Started](https://app.promptrails.ai)
