Install for Cursor
Edit ~/.cursor/mcp.json for a global install, or
.cursor/mcp.json inside a project to scope it to one workspace:
{ "mcpServers": { "persql": { "url": "https://mcp.persql.com" } }}Cursor picks up the change on its next chat turn — no restart needed in recent versions. The first tool call opens the browser for OAuth consent; pick a namespace and the token is stored automatically.
Bearer fallback
Section titled “Bearer fallback”If your Cursor build doesn’t yet support MCP OAuth, mint a
psql_live_… token under
console.persql.com → API tokens and
pass it as a header:
{ "mcpServers": { "persql": { "url": "https://mcp.persql.com", "headers": { "Authorization": "Bearer psql_live_…" } } }}Verify
Section titled “Verify”Open Settings → MCP. You should see persql listed. The tool
count appears once the server handshake completes.
What you get
Section titled “What you get”About sixty SQL-shaped tools. The full list is in the MCP reference.