MCP server
AI2SQL Official
io.ai2sql/ai2sql
Checked 26 Oct 2026, 08:29 UTC · It answered and asked for a sign-in
Text-to-SQL MCP server: read-only queries on PostgreSQL, MySQL and SQL Server with your real schema
Signs in with your accountVerified publisher: ai2sql.io
https://builder.ai2sql.io/api/chatgpt-mcp
At a glance
- Type
- MCP server
- Publisher
- ai2sql.io (verified by the MCP Registry)
- Status
- Signs in with your account
- Sets up in
- Claude Code, Claude Desktop, Codex, Gemini CLI, Cursor, VS Code, Antigravity, ChatGPT, OpenAI API, Grok
- Last checked
- 26 Oct 2026, 08:29 UTC
Connect it to your agent
Opens the app, which shows the server and asks you to confirm. For other apps, copy the setup below.
Claude Code
claude mcp add --transport http ai2sql https://builder.ai2sql.io/api/chatgpt-mcp
Claude Desktop
Settings → Connectors → Add custom connector, and paste the URL.
Codex (config.toml)
[mcp_servers.ai2sql] url = "https://builder.ai2sql.io/api/chatgpt-mcp"
Gemini CLI
{"mcpServers":{"ai2sql":{"httpUrl":"https://builder.ai2sql.io/api/chatgpt-mcp"}}}
Cursor
{"mcpServers":{"ai2sql":{"url":"https://builder.ai2sql.io/api/chatgpt-mcp"}}}
VS Code
{"servers":{"ai2sql":{"type":"http","url":"https://builder.ai2sql.io/api/chatgpt-mcp"}}}
Antigravity
agy mcp add ai2sql https://builder.ai2sql.io/api/chatgpt-mcp
ChatGPT
Settings → Apps & Connectors → Advanced settings: turn on Developer mode, then Create a connector and paste the URL. Which plans can do this varies.
OpenAI API (Responses tools)
{"type":"mcp","server_label":"ai2sql","server_url":"https://builder.ai2sql.io/api/chatgpt-mcp","require_approval":"always"}
Grok (xAI API tools)
{"type":"mcp","server_label":"ai2sql","server_url":"https://builder.ai2sql.io/api/chatgpt-mcp"}
Signs in with your account: your agent app opens a sign-in page the first time you use it.
Browse
Related MCP servers
- CustomerDashboard
Build dashboards on your own data, including multi-customer views with per-customer login. - Diogenes Autonomous Microservice Gateway
Autonomous AI microservices: 55 dynamic guardrails, contract audits & oracles via L402/x402/MPP. - Speak To Your Database (STYD)
Ask your Odoo, PostgreSQL or MySQL data in plain words. Real numbers, read-only. - Thinair Data
PostgreSQL, MySQL, and SQL Server in one session. 26 read-only MCP tools for AI agents. - Dbridge
Query SQLite, PostgreSQL, and MySQL in plain language - read-only, with column masking and limits. - DBConvert Streams (Federated SQL)
Read-only SQL across your PostgreSQL, MySQL, S3 buckets and local data files, in one query. - Database Admin
Database admin MCP: schema inspection, query optimization for PostgreSQL and MySQL - Berth
Database management — query, schema inspection, migrations for PostgreSQL, MySQL, SQLite.
Badge for your README
[](https://aptlynx.net/servers/io.ai2sql/ai2sql)
Listing text is written by the maker; AptLynx lists tools and does not vouch for them. Find another tool · Browse by topic · For agents