Connect the Supabase API
Integrate the Supabase API through Modiva’s unified REST API and hosted MCP server. Query your Postgres database with SQL and create & manage projects, edge functions, branches, secrets, custom domains and service config across your Supabase account. OAuth, token refresh, rate limits and 37 typed tools are handled for you — connect once and call Supabase from any agent or app through a single endpoint.
What you can do with the Supabase API
- ✓ SQL queries
- ✓ Projects & branches
- ✓ Edge functions & secrets
- ✓ Domains & service config
- ✓ Token refresh
- — Webhooks (Poll via the project/database tools)
Supabase MCP tools & scopes
- organizations_
- list · get · members
- projects_
- list · create · pause · restore · delete
- database_
- run SQL · list tables · config
- functions_
- list · deploy · update · delete
- branches_
- list · create · delete
- secrets_
- list · create · delete · api keys
- domains_
- custom hostname · vanity subdomain
- config_
- PostgREST · Auth · read & update
- analytics_
- query logs with SQL
OAuth scopes requested
- Read your organizations and members
- Create & manage projects and preview branches
- Run SQL queries on your project database
- Deploy & manage edge functions, secrets and domains
- Read & update Postgres, PostgREST and Auth config
Connect Supabase in your agent
# Add Modiva's MCP server to your agent
{
"mcpServers": {
"modiva": {
"url": "https://mcp.modiva.ai",
"headers": { "Authorization": "Bearer $MODIVA_MCP_KEY" }
}
}
}
# Then connect Supabase and call its tools, e.g.
accounts_list(provider="supabase")Frequently asked questions
How do I connect the Supabase API with Modiva?
Create a Modiva account, generate an MCP key, and connect Supabase from your dashboard. Modiva runs the full OAuth flow and stores the encrypted token for you — no client secrets in your code.
What can I do with the Supabase API through Modiva?
Query your Postgres database with SQL and create & manage projects, edge functions, branches, secrets, custom domains and service config across your Supabase account. You get 37 typed tools grouped by resource (organizations_, projects_, database_, functions_, branches_, secrets_, domains_, config_, analytics_), callable over REST or the MCP server.
Do I need to handle OAuth or token refresh myself?
No. Modiva handles the Supabase OAuth handshake, token storage (envelope-encrypted) and automatic refresh. You call a single unified endpoint.
Can an AI agent use the Supabase API?
Yes — that is the point. Modiva exposes Supabase as Model Context Protocol (MCP) tools, so agents like Claude, Cursor or your own app can read and act on Supabase through one endpoint.
Supabase playbooks & guides
Free, step-by-step playbooks on growing with Supabase — what works, plus how to run it with Modiva.