Skip to content
Grok

PostgreSQL MCP Server for Grok

io.github.itunified-io/postgres

PostgreSQL MCP Server — 27 tools for queries, schema, CRUD, DBA, HA & server management

client:Grok transport:stdio runtime:npm

Install PostgreSQL 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": {
    "postgres": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@itunified.io/mcp-postgres"
      ],
      "env": {
        "POSTGRES_CONNECTION_STRING": "<POSTGRES_CONNECTION_STRING>"
      }
    }
  }
}

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

PostgreSQL MCP Server in other clients