Skip to content

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.

If your Cursor build doesn’t yet support MCP OAuth, mint a psql_live_… token under console.persql.comAPI tokens and pass it as a header:

{
"mcpServers": {
"persql": {
"url": "https://mcp.persql.com",
"headers": {
"Authorization": "Bearer psql_live_…"
}
}
}
}

Open Settings → MCP. You should see persql listed. The tool count appears once the server handshake completes.

About sixty SQL-shaped tools. The full list is in the MCP reference.