2
Supabase MCP Server for local development use
Source: supabase/supabase#37534 · opened by @hades200082
Using development AI agents like Cursor, Windsurf, Kiro, etc., currently, I find I need to provide the AI with context on how to use the Supabase CLI to handle certain tasks:
• Creating migrations (supabase migrations new <name>)
• Applying migrations locally (supabase migration up)
• Creating/editing functions (supabase functions new <name>)
It would be great if the MCP server supported these tasks for local use. It seems very odd to me that the MCP by default connects to your production instance, since most of what you'd want to use it for would be development work locally.
It would also be useful if the MCP could:
• Deploy functions from local to production
• Push migrations from local to production
• Sync/reset the local database
• Pull down migrations from production to replace/create them locally
• Describe table schemas for both local and prod
• Run SQL statements against the local database
• Creating migrations (supabase migrations new <name>)
• Applying migrations locally (supabase migration up)
• Creating/editing functions (supabase functions new <name>)
It would be great if the MCP server supported these tasks for local use. It seems very odd to me that the MCP by default connects to your production instance, since most of what you'd want to use it for would be development work locally.
It would also be useful if the MCP could:
• Deploy functions from local to production
• Push migrations from local to production
• Sync/reset the local database
• Pull down migrations from production to replace/create them locally
• Describe table schemas for both local and prod
• Run SQL statements against the local database
No pledges yet. Be the first to back this.
Comments
Similar requests
Add Reverse Proxy Support for Local Supabase Development
1 vote · 0 comments
Ability to customize the .well-known/ directory contents
1 vote · 0 comments
Self-host access to the MCP on Supabase ?
15 votes · 0 comments
Allow Supabase MCP to access logs
22 votes · 0 comments
Enhance Development Experience for Phone Authentication
2 votes · 0 comments
No comments yet.