RemoteFree server, account needed

AgentSQL MCP server

cuipengdba/agentsql

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

15 GitHub stars1 forks

Install AgentSQL in Claude Code

Claude Code
claude mcp add --transport http agentsql https://demo.agentsql.cn/mcp
mcp.json (Claude Desktop, Cursor, VS Code, Windsurf)
{
  "mcpServers": {
    "agentsql": {
      "url": "https://demo.agentsql.cn/mcp"
    }
  }
}

Frequently asked questions

What does the AgentSQL MCP server do?

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

Is the AgentSQL MCP server free?

The server is free, but you will likely need an account. The server itself is free, but it connects to a service that needs an account or API key, which may have paid tiers. Check the provider for current pricing.

Does AgentSQL run locally or remotely?

Remote. Hosted by the provider. You connect with a URL, nothing to install.

How do I add AgentSQL to Claude Code?

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

More databases MCP servers

View all