Open-source SQL-to-MCP tool factory · six SQL dialects · fail-closed
Turn trusted SQL into governed MCP tools for AI agents
Define parameterized SQL in the Admin UI, publish it as a typed MCP tool, and let AI agents supply only the arguments. Every call still passes through hs-sql-agent's fail-closed compiler, access policy, and Safe DML controls.
SELECT id, total, status
FROM orders
WHERE customer_id = {{ customerId }} SQL → MCP
Ship an AI tool without writing MCP server code.
Name the tool, describe when the model should use it, write the SQL template, declare parameters such as {{ customerId }}, test it, then publish. The MCP schema is generated from your parameter contract.
GOVERNANCE
Deterministic SQL shape. Governed execution.
Custom tools do not bypass the safety boundary. Query tools use the same typed compiler and table policy; DML tools use the same preview, approval, revalidation, and transaction controls.
SIX DATABASES
PostgreSQL · MySQL · SQL Server · Oracle · SQLite · Firebird
One governed tool contract across six supported database providers, with provider-aware validation and lowering.
TWO MODES