Schema discovery
Let the client inspect schemas, tables, and columns through authenticated metadata tools.
Cursor · MCP
Connect Cursor to hs-sql-agent through MCP and keep generated SQL behind the same compiler, database scope, tool policy, and audit boundary used in production.
Let the client inspect schemas, tables, and columns through authenticated metadata tools.
Generated SELECT statements enter the typed query runtime before execution.
DML can remain gated by the Safe DML approval protocol.
Cursor can generate and invoke SQL tools while hs-sql-agent remains responsible for what is actually allowed to reach the database. Model context does not become database authorization.
The same MCP key scope, compiler, query policy, Safe DML, and audit path can be used from a developer client instead of introducing a separate unrestricted connection just for convenience.