Neon in Cursor.
Cursor can work on your Neon databases and try changes on a branch, but deleting or resetting anything needs your OK. This is for Cursor on your own Mac or Linux computer.
passed Nov 16 · Neon
fieldtrip add neonNew to fieldtrip? Install it first: curl -fsSL fieldtrip.sh/install | sh
Cursor can
- Read your databases and data.
- Make a branch to try changes on.
- Show you the result before going live.
Asks you first
- Delete a project, database or branch.
- Reset a branch to an earlier point.
Try asking Cursor
Paste one into Cursor. Underneath: what it runs.
What databases do I have on Neon?
neonctl projects list --output jsonMake a branch called try-migration so I can test a change.
neonctl branches create --name try-migration --output jsonList the branches on my project.
neonctl branches list --project-id <id> --output jsonDelete the try-migration branch.
neonctl branches delete try-migrationasks you first
How it’s set up for Cursor
| the key | Cursor has no settings file for keys, so the key stays in fieldtrip's own locked file. Cursor's AI runs each neon command through fieldtrip, which adds the key for that one command and nothing else. |
|---|---|
| the note | Saved as a skill in ~/.claude/skills/neon and ~/.agents/skills/neon; Cursor reads both. It also tells Cursor to run neon through fieldtrip. It says how to use Neon, and what to check with you about first. |
| after setup | Nothing to restart for the key. If Cursor doesn't seem to know about Neon yet, start a new chat. |
| two checks | Cursor can ask before it runs a command, depending on your settings. fieldtrip's note adds a check that doesn't depend on them. |
| check it | Ask Cursor on your computer to run fieldtrip doctor. It should say “Running in Cursor” and show a ✓ beside Neon. |
Do this once.
- Make a key from your Neon project's own settings, so it reaches only that project. fieldtrip will give you the link.
- 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. Neon 9.5.0 passed all five checks, Mon, Nov 16 · 11:09 AM CST.
Each square is one night.
Other AIs
← All of Neon: every AI, every version · Neon in Claude Code → · Neon in Codex → · What’s a CLI?