execute_sql
Run SQL queries directly on a self-hosted Supabase database using a direct connection or RPC fallback, enabling flexible database interactions within MCP-compatible environments.
Instructions
Executes an arbitrary SQL query against the database, using direct database connection when available or RPC function as fallback.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
read_only | No | Hint for the RPC function whether the query is read-only (best effort). | |
sql | Yes | The SQL query to execute. |