Railway in Cursor.
Cursor can read your logs and check deploys on Railway, but deploying or deleting anything needs your OK. This is for Cursor on your own Mac or Linux computer.
passed Nov 16 · Railway CLI
fieldtrip add railwayNew to fieldtrip? Install it first: curl -fsSL fieldtrip.sh/install | sh
Cursor can
- Read build and app logs.
- Check what's deployed and running.
- Read your settings.
Asks you first
- Deploy or redeploy.
- Change live settings.
- Delete anything.
Try asking Cursor
Paste one into Cursor. Underneath: what it runs.
Is my app running? What's deployed?
railway status --jsonShow me the last 100 lines of my app's logs.
railway logs --json --lines 100Why did the last build fail?
railway logs --json --buildRedeploy my app.
railway redeployasks 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 railway command through fieldtrip, which adds the key for that one command and nothing else. |
|---|---|
| the note | Saved as a skill in ~/.claude/skills/railway and ~/.agents/skills/railway; Cursor reads both. It also tells Cursor to run railway through fieldtrip. It says how to use Railway, and what to check with you about first. |
| after setup | Nothing to restart for the key. If Cursor doesn't seem to know about Railway 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 Railway. |
Do this once.
- Make a key on Railway for one workspace, not "No workspace". fieldtrip will give you the link and tell you which to pick, and why.
- 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. Railway 5.74.0 passed all five checks, Mon, Nov 16 · 11:09 AM CST.
Each square is one night.
Other AIs
← All of Railway: every AI, every version · Railway in Claude Code → · Railway in Codex → · What’s a CLI?