schemagate for Cursor
io.github.ashishsinha1602/schemagate
Identity-scoped schema selection for text-to-SQL. Returns only the tables the caller may read.
client:Cursor
transport:stdio
runtime:pypi
Install schemagate in Cursor
~/.cursor/mcp.json · windows: %USERPROFILE%\.cursor\mcp.json
{
"mcpServers": {
"schemagate": {
"type": "stdio",
"command": "uvx",
"args": [
"schemagate"
],
"env": {
"SCHEMAGATE_DATABASE_URL": "<SCHEMAGATE_DATABASE_URL>",
"SCHEMAGATE_CATALOG_CONFIG": "<SCHEMAGATE_CATALOG_CONFIG>"
}
}
}
}
Use .cursor/mcp.json in a project root instead to scope it to that project. Cursor merges both. Cursor docs