opencode-supabase
v0.5.1
Published
OpenCode plugin for Supabase integration with server and TUI components
Downloads
627
Readme
opencode-supabase
Connect OpenCode to Supabase: account login, Management API tools, bundled Supabase agent skills, and guided Supabase MCP setup.

Quickstart
Requires OpenCode >= 1.17.4.
opencode plugin opencode-supabaseOpen opencode in your project, then run:
/supabaseApprove Supabase in your browser. Back in OpenCode, start simple:
List my Supabase projectsFrom there you can ask OpenCode to list organizations, list regions, create projects, or connect a project to Supabase MCP.
Supabase MCP
MCP is optional. Use it when you want project-scoped database, docs, advisor, and management tools inside OpenCode.
After /supabase, ask:
Connect this project to Supabase MCPOpenCode opens Supabase Studio so you can choose permissions and MCP parameters. Copy the generated OpenCode prompt from Studio.
Then switch OpenCode to Build mode and paste that prompt into OpenCode. The plugin knows how to handle the Studio prompt and guide the config update.
After config is added:
- Close OpenCode or exit the current session.
- Run
opencode mcp auth supabase. - Complete OAuth in the browser.
- Start OpenCode again.
Bundled Skills 🧰
Installed by default:
supabasesupabase-postgres-best-practicesopencode-supabase-guide
No separate skills setup is needed.
Need More?
Reference
- Supabase Management API: https://supabase.com/docs/reference/api/introduction
