queryshield for Cursor
io.github.bch1212/queryshield
Secure SQL proxy for AI agents — NL→SQL, AST safety, per-agent RLS, audit log.
client:Cursor
transport:stdio
runtime:pypi
Install queryshield in Cursor
~/.cursor/mcp.json · windows: %USERPROFILE%\.cursor\mcp.json
{
"mcpServers": {
"queryshield": {
"type": "stdio",
"command": "uvx",
"args": [
"queryshield-mcp"
],
"env": {
"QUERYSHIELD_API_KEY": "<QUERYSHIELD_API_KEY>",
"QUERYSHIELD_BASE_URL": "<QUERYSHIELD_BASE_URL>"
}
}
}
}
Use .cursor/mcp.json in a project root instead to scope it to that project. Cursor merges both. Cursor docs