Back to Directory
windsurfdata
PostgreSQL MCP for Cascade
Give Cascade read access to your database for intelligent query generation and debugging.
Author
Added
2025-12-06
Installationmanual
1. Install: npm install -g @modelcontextprotocol/server-postgres
2. Open Windsurf Settings → Extensions → MCP
3. Add configuration:
{
"postgres": {
"command": "mcp-server-postgres",
"env": { "DATABASE_URL": "postgresql://user:pass@localhost:5432/dbname" }
}
}
4. Replace DATABASE_URL with your actual PostgreSQL connection string
GitHub: https://github.com/modelcontextprotocol/servers
About this Agent
Give Cascade read access to your database for intelligent query generation and debugging.
Connects your local or remote PostgreSQL database to Windsurf. Cascade can inspect schemas and run safe queries to help you write better SQL.
Tags
#MCP#PostgreSQL#Database