NexQL Postgres MCP for Cursor
io.github.nexql-oss/nexql-mcp
Standalone Postgres MCP server — schema-aware, read-only by default, installable everywhere.
client:Cursor
transport:stdio
runtime:npm
Install NexQL Postgres MCP in Cursor
~/.cursor/mcp.json · windows: %USERPROFILE%\.cursor\mcp.json
{
"mcpServers": {
"nexql-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"nexql-mcp"
],
"env": {
"DATABASE_URL": "<DATABASE_URL>",
"NEXQL_MCP_CONFIG": "<NEXQL_MCP_CONFIG>"
}
}
}
}
Use .cursor/mcp.json in a project root instead to scope it to that project. Cursor merges both. Cursor docs