Install for Windsurf
Open Windsurf settings → Cascade → MCP Servers → Edit
config. Add an entry under mcpServers:
{ "mcpServers": { "persql": { "serverUrl": "https://mcp.persql.com" } }}Save and reload Cascade. 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 Windsurf 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": { "serverUrl": "https://mcp.persql.com", "headers": { "Authorization": "Bearer psql_live_…" } } }}Verify
Section titled “Verify”Open the MCP Servers panel — persql should appear with a tool list.
What you get
Section titled “What you get”About sixty SQL-shaped tools. The full list is in the MCP reference.