
hs-sql-agent is an HTTP MCP server for relational databases with an integrated admin panel.


Deploy your own HTTP MCP server for relational databases with a built-in administration panel.
hs-sql-agent allows MCP clients such as Claude Desktop, Cursor, and Visual Studio Code to securely access relational databases while giving administrators centralized control over database connections, MCP keys, permissions, audit logs, and security policies.
This Zeabur template automatically deploys:
Deploy this template on Zeabur and choose a subdomain for the administration panel. Zeabur automatically provisions and connects all required services. Once deployment is complete, open the Admin Panel URL shown in the Zeabur deployment instructions.
On the first launch, create the initial administrator account and sign in to the admin panel.
Open DB Management and add the relational database you want MCP clients to access. Test the connection before issuing an MCP key.
Open:
Runtime Admin → MCP Keys
Create a new MCP key and configure its access settings, including:
After the key is issued, hs-sql-agent immediately displays a Save and connect dialog containing:
⚠️ The MCP key is shown in plaintext only once. > > Save the key or copy the generated client configuration before closing the dialog. Once closed, the plaintext key cannot be retrieved again from the Admin UI. That's it — no manual endpoint or header configuration is required.
Treat MCP keys as secrets. Do not commit generated configurations containing MCP keys to source control, paste them into public issue trackers, or share them publicly. If a key is exposed, revoke it from the MCP Keys page and issue a replacement. For production databases, use dedicated database accounts with the minimum permissions required for the intended MCP tools.
hs-sql-agent is currently under active development.
Features and configuration options may change between releases, and bugs may still occur.
If you encounter a problem or have a feature request:
