Skip to content
Grok

SQL MCP Server for Grok

io.github.nethinwei/sql-mcp-server

Controlled SQL access gateway with policy, cost limits, tenant isolation, and safe tools.

client:Grok transport:stdio runtime:oci

Install SQL MCP Server in Grok

.mcp.json (in your project root)

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "sql-mcp-server": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/nethinwei/sql-mcp-server:0.1.10"
      ],
      "env": {
        "DATABASE_DSN": "<DATABASE_DSN>"
      }
    }
  }
}

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

SQL MCP Server in other clients