Query Supabase database tables
The agent retrieves specific data from your Supabase database tables, allowing you to inspect records or gather information for reporting without modifying the source.
How it works
The agent connects to the Supabase MCP server using the provided URL and authentication. It identifies the relevant tables and constructs a SQL query to fetch the requested data. Before executing, the agent should verify that the query is read-only (SELECT) to prevent accidental data modification, especially if the server is not explicitly scoped to read-only mode. The agent then executes the query and presents the results to the user.
Prompt
Paste this into an agent that has the servers below connected. Adjust the names and dates to your own.
Please query the 'users' table in my Supabase project and return the first 10 records including their email and created_at timestamp.MCP servers it needs
Source
The vendor page this playbook is drawn from, and the passage that supports it.
Once connected, your AI assistants can interact with and query your Supabase projects on your behalf.Supabase documentation