NexQL Postgres MCP for Grok
io.github.nexql-oss/nexql-mcp
Standalone Postgres MCP server — schema-aware, read-only by default, installable everywhere.
client:Grok
transport:stdio
runtime:npm
Install NexQL Postgres MCP in Grok
.mcp.json (in your project root)
{
"mcpServers": {
"nexql-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"nexql-mcp"
],
"env": {
"DATABASE_URL": "<DATABASE_URL>",
"NEXQL_MCP_CONFIG": "<NEXQL_MCP_CONFIG>"
}
}
}
}
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