Supabase Keys
Add Supabase credentials to .env.local. The MCP will ask you to paste them from the dashboard.
Find keys in Supabase
- Open your project in the Supabase dashboard.
- Go to Project Settings / API.
- Copy the project URL and anon key.
- Go to Project Settings / API Keys.
- Copy the service role key.
Links: supabase.com/dashboard
Do not fetch keys via CLI
The service role key is always truncated in CLI/API output. The MCP will only accept keys you paste from the dashboard.
Environment variables
NEXT_PUBLIC_SUPABASE_URL=...
NEXT_PUBLIC_SUPABASE_ANON_KEY=...
SUPABASE_SERVICE_ROLE_KEY=...