SQL for Cursor
io.github.abhishekkumar2021/sql
Read-only SQL querying + schema introspection over Postgres & SQLite, with a gated write mode.
client:Cursor
transport:stdio
runtime:npm
Install SQL in Cursor
~/.cursor/mcp.json · windows: %USERPROFILE%\.cursor\mcp.json
{
"mcpServers": {
"sql": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@abhishekmcp/sql"
],
"env": {
"DB_CONN_default": "<DB_CONN_default>",
"DB_WRITABLE": "<DB_WRITABLE>"
}
}
}
}
Use .cursor/mcp.json in a project root instead to scope it to that project. Cursor merges both. Cursor docs