Skip to content
VS Code

AI2SQL for VS Code

io.ai2sql/ai2sql

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

client:VS Code transport:streamable-http

Install AI2SQL in VS Code

.vscode/mcp.json

{
  "servers": {
    "ai2sql": {
      "type": "http",
      "url": "https://builder.ai2sql.io/api/chatgpt-mcp"
    }
  }
}

Requires agent mode. MCP: Open User Configuration puts the same block in every workspace. VS Code docs

AI2SQL in other clients