Skip to content
Cursor

AI2SQL for Cursor

io.ai2sql/ai2sql

Generate, fix, explain and run read-only SQL on PostgreSQL, MySQL and SQL Server

client:Cursor transport:streamable-http

Install AI2SQL in Cursor

~/.cursor/mcp.json · windows: %USERPROFILE%\.cursor\mcp.json

{
  "mcpServers": {
    "ai2sql": {
      "url": "https://builder.ai2sql.io/api/chatgpt-mcp"
    }
  }
}

Use .cursor/mcp.json in a project root instead to scope it to that project. Cursor merges both. Cursor docs

AI2SQL in other clients