What you can do
Database queries
Query and analyze your Supabase database with natural language
Schema management
View and modify database schemas and tables
API operations
Interact with Supabase APIs and functions
Data analysis
Analyze data patterns and generate insights
Connecting Supabase
1
Open integrations
Settings → Integrations → Supabase
2
Configure connection
Enter your Supabase project URL and API keys.Required information:
- Project URL
- Service role key (for admin operations)
- Anon key (for client operations)
3
Test connection
Verify the connection to your Supabase project.
4
Confirm
Supabase integration is active via MCP.
Using Supabase
Database queries
Schema operations
Data manipulation
- Insert
- Update
- Delete
API and functions
Advanced features
Data analysis
Query optimization
Real-time subscriptions
Database administration
SQL generation
ZeroTwo can generate SQL queries from natural language:1
Describe what you need
2
Review generated SQL
3
Execute or refine
Execute the query or ask for modifications before running.
Privacy and security
Security measures:
- API keys encrypted and securely stored
- Queries executed with appropriate permission levels
- Row-level security policies respected
- Audit logging of all database operations
- No persistent storage of query results
- Service role: Full admin access (use carefully)
- Anon key: Respects RLS policies (recommended for most operations)
ZeroTwo respects your Supabase Row Level Security (RLS) policies. Queries are executed with the permissions you configure.
Troubleshooting
Connection errors
Connection errors
Solutions:
- Verify project URL is correct
- Check API keys are valid and not expired
- Ensure Supabase project is active
- Confirm network connectivity
- Check if IP is allowed in Supabase settings
Permission denied errors
Permission denied errors
Solutions:
- Verify RLS policies allow the operation
- Check service role key for admin operations
- Ensure user has necessary permissions
- Review policy conditions and filters
Query timeout
Query timeout
Solutions:
- Simplify complex queries
- Add appropriate indexes
- Reduce result set size with LIMIT
- Check database performance metrics
- Consider query optimization
Data not appearing
Data not appearing
Solutions:
- Check RLS policies aren’t filtering data
- Verify you’re querying the correct table
- Confirm data exists with admin access
- Check for soft deletes or archive flags
Use cases
Application development
Data analysis
Database maintenance
Debugging
Related integrations
MCP overview
Learn about Model Context Protocol
Code interpreter
Run and test database queries
GitHub
Version control for migrations
All integrations
Browse all integrations

