fieldtrip
tools / databases / supabase / cursor

Supabase in Cursor.

Cursor can work on your Supabase databases, but any change to a live project needs your OK. This is for Cursor on your own Mac or Linux computer.

passed Nov 16 · Supabase CLI

fieldtrip add supabase

New to fieldtrip? Install it first: curl -fsSL fieldtrip.sh/install | sh

Cursor can

  • Read your data and your database setup.
  • Write database changes and test them locally.
  • Look things up in your live database.

Asks you first

  • Change your live database.
  • Deploy or delete functions.
  • Change secrets or delete a project.

Try asking Cursor

Paste one into Cursor. Underneath: what it runs.

How it’s set up for Cursor

the keyCursor has no settings file for keys, so the key stays in fieldtrip's own locked file. Cursor's AI runs each supabase command through fieldtrip, which adds the key for that one command and nothing else.
the noteSaved as a skill in ~/.claude/skills/supabase and ~/.agents/skills/supabase; Cursor reads both. It also tells Cursor to run supabase through fieldtrip. It says how to use Supabase, and what to check with you about first.
after setupNothing to restart for the key. If Cursor doesn't seem to know about Supabase yet, start a new chat.
two checksCursor can ask before it runs a command, depending on your settings. fieldtrip's note adds a check that doesn't depend on them.
check itAsk Cursor on your computer to run fieldtrip doctor. It should say “Running in Cursor” and show a ✓ beside Supabase.

Do this once.

  1. Make an access key on Supabase, for only the projects you want your AI to access. fieldtrip will give you the link and tell you which boxes to tick, and why.
  2. Paste your key when fieldtrip asks you to.

Your key goes into your Terminal when fieldtrip asks. It never goes through Cursor’s chat.

Checked every night

Yes. Supabase 3.2.0 passed all five checks, Mon, Nov 16 · 11:09 AM CST.

Each square is one night.

Other AIs

Supabase in Claude Code → · Supabase in Codex →

← All of Supabase: every AI, every version · Supabase in Claude Code → · Supabase in Codex → · What’s a CLI?