Guard AI agents' PostgreSQL/MySQL access via MCP: SQL audit, auth, masking, write approval
Connect Remote server
claude mcp add --transport http agentsql https://demo.agentsql.cn/mcp --header "Authorization: Bearer <YOUR_API_KEY>"
{
"mcpServers": {
"agentsql": {
"url": "https://demo.agentsql.cn/mcp",
"headers": {
"Authorization": "Bearer <YOUR_API_KEY>"
}
}
}
}
{
"servers": {
"agentsql": {
"type": "http",
"url": "https://demo.agentsql.cn/mcp",
"headers": {
"Authorization": "Bearer <YOUR_API_KEY>"
}
}
}
}
Settings > Connectors > Add custom connector
URL: https://demo.agentsql.cn/mcp
Replace the values in angle brackets with your own. Keys stay on your machine; we never see them.
Tools
This server asks for a key before it lists its tools. Connect it with your own key to see them.
Headers
| Name | Description |
|---|---|
AuthorizationOptional | Demo read-only API key. The demo uses synthetic data and resets daily; for production self-host with Docker via the GitHub repo. |
Details
| Endpoint | https://demo.agentsql.cn/mcp (Streamable HTTP) |
| First published | 30 Sep 2026 |
| Last updated | 30 Sep 2026 |
| Registry name | io.github.cuipengdba/agentsql |
More databases servers See all
Listing data from the official MCP registry. Status and tools from NestDaddy's daily check. Browse all MCP servers.
