Home › Databases & Data › AgentSQL

AgentSQL

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

Go Remote
★ 22 stars Last pushed 2026-11-15 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 Requires auth (checked 2026-11-16)

Claude Code:

claude mcp add --transport http agentsql https://demo.agentsql.cn/mcp

Or add to your MCP client config:

{
  "mcpServers": {
    "agentsql": {
      "url": "https://demo.agentsql.cn/mcp"
    }
  }
}
  • 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