Home › Databases & Data › AgentSQL
AgentSQL
Guard AI agents' PostgreSQL/MySQL access via MCP: SQL audit, auth, masking, write approval
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
dbx
Query databases from AI agents using connections configured in DBX.
MCP Toolbox for Databases
MCP Toolbox for Databases enables your agent to connect to your database.
convex-backend
Convex database integration to introspect tables and functions and run one-off queries.
Nhost
Let your users work with their own data through an AI assistant, limited to what they can see.
engram
Persistent memory system for AI coding agents. Agent-agnostic Go binary with SQLite + FTS5, MCP server, HTTP API, CLI, and TUI.
baserow
Baserow database integration: search and list tables, and create, read, update and delete rows.
Data from the Official MCP Registry