Skip to content
Grok

AI2SQL for Grok

io.ai2sql/ai2sql

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

client:Grok transport:streamable-http

Install AI2SQL in Grok

.mcp.json (in your project root)

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

Grok Build reads Claude Code's .mcp.json and Claude Desktop's config unchanged, so a server you have already set up there needs nothing new. The Grok web app and X integration do not take custom servers. Grok docs

AI2SQL in other clients