How to Create a Cursor API Key
A Cursor API key (crsr_...) lets you authenticate non-interactively — perfect for Docker, CI pipelines, and scripts where you can't run agent login in a browser.
Steps
- Go to cursor.com/dashboard/api
- Under User API Keys, click Add
- Give it any name (e.g.
my-cursorpipe-key) - Set scope to Admin
- Click Create — your key (
crsr_...) is shown only once, so copy it now
Using the key with cursorpipe
Can't find the API Keys page?
Cursor occasionally reorganises their dashboard. If the link above doesn't take you to the right place:
- Log in at cursor.com and look for API Keys or User API Keys in the left sidebar
- Or search the web for "Cursor API key"
If the link is broken, open an issue or send a PR updating this page — it takes 30 seconds and helps everyone. 🙏