AgentSQL is answering right now. Last checked moments ago. Last commit 24 Oct 2026.
Guard AI agents' PostgreSQL/MySQL access via MCP: SQL audit, auth, masking, write approval
We read the source, 1 h ago · rules 995398eba69f
Things with no honest explanation: a promise that contradicts the code, code that runs at install time while hiding what it does, data leaving the machine.
runuser -u postgres -- "$@"
What this server is able to do. For an MCP server this is often the job itself — a terminal server runs commands because that is what it is for. Listed so you know what you are plugging in, not as an accusation.
defaultDirectory := filepath.Join("artifacts", "b5-soak", stamp)
var cqlInsert = regexp.MustCompile(`(?i)^INSERT INTO (` + cqlIdent + `) \((` + cqlIdent + `(?:\s*,\s*` + cqlIdent + `)*)\) VALUES \((\?(?:\s*,\s*\?)*)\)$`)
head = subprocess.check_output(
Found in continuous integration, deployment or infrastructure files, or in a neighbouring package of the same monorepo. None of this is installed when you add the server: it describes how the project is built and released. We list it because a leaked key in a build pipeline is still a real problem, but it is not something this server does on your machine.
Is this your server and something here is wrong? Tell us — corrections are free and do not require a plan.
Code changes quietly between releases, and nobody reads the diff of a dependency. We do, on every release — watch AgentSQL and you get told the day something new turns up.
Endpoint below is the one we actually reach during checks — not the one copied from a README. Last verified 0 min ago.
claude mcp add agentsql --transport http https://demo.agentsql.cn/mcp
https://demo.agentsql.cn/mcp
[mcp_servers.agentsql]
url = "https://demo.agentsql.cn/mcp"
{
"mcpServers": {
"agentsql": {
"url": "https://demo.agentsql.cn/mcp"
}
}
}
{
"servers": {
"agentsql": {
"type": "http",
"url": "https://demo.agentsql.cn/mcp"
}
}
}
This endpoint answered with an authorization challenge. The server is running, but it did not say what kind of credentials it expects.
| URL | Transport | State | Latency | Checked |
|---|---|---|---|---|
| https://demo.agentsql.cn/mcp | streamable-http | needs auth | 641 ms | 0 min ago |
Lets AI agents query SQL Server, PostgreSQL, MySQL, Oracle and SQLite via the Jam SQL Studio app.
Read-only, guarded SQL access for AI agents: PostgreSQL, MySQL, ClickHouse, Oracle, SQL Server, Db2
A MCP server provides SQL database access with support for PostgreSQL, MySQL, and SQLite.
Policy-checked, audited agent access to Postgres, MySQL, SQLite, MongoDB and OpenAPI REST APIs.
Safe, read-only-by-default MySQL, PostgreSQL & SQLite access for AI agents. TOON output.
MCP server for secure database access (PostgreSQL, MySQL, SQLite)
Safe, read-only Postgres and MySQL access for AI agents. Audit log + column-level controls.
Safe SQL gateway for AI agents: SELECT-only validation, access policies, masking, audit trail, evals
Answers built from our own checks of this server.