Home › Databases & Data › AgentSQL

AgentSQL

Guard AI agents' PostgreSQL/MySQL access via MCP: SQL audit, auth, masking, write approval

Go Remote
★ 15 stars Last pushed 2026-10-31 License: Apache-2.0

Connect

Review any command before running it. Package names and URLs come from the server's own registry entry.

Remote (streamable-http)

https://demo.agentsql.cn/mcp

Claude Code:

claude mcp add --transport http agentsql https://demo.agentsql.cn/mcp --header "Authorization: <YOUR_VALUE>"

Or add to your MCP client config:

{
  "mcpServers": {
    "agentsql": {
      "url": "https://demo.agentsql.cn/mcp",
      "headers": {
        "Authorization": "<YOUR_VALUE>"
      }
    }
  }
}
  • Authorization — Demo read-only API key. The demo uses synthetic data and resets daily; for production self-host with Docker via the GitHub repo.

Related servers

Data from the Official MCP Registry