Before you start
- Cursor installed.
- A Raff account, or a Raff API key.
Steps
1
Open mcp.json
Use
~/.cursor/mcp.json to have Raff in every project, or .cursor/mcp.json in a project folder for that project only.2
Add the Raff server
3
Sign in with Raff
Cursor shows Raff as needing sign-in in its MCP settings; click to connect. A Raff page opens: sign in, pick the account and click Allow access.
4
Ask the agent
“Create a free Postgres database on Raff and add DATABASE_URL to .env.”
Use an API key instead
Read the key from an environment variable so it never sits in the file:RAFF_API_KEY in the shell that starts Cursor.
Verify
Raff shows as connected in Cursor’s MCP settings, with its tools listed.Next steps
Tools
Everything the agent can do in Raff.
Read-only mode
Let the agent look without changing anything.