pg doctor for Grok
io.github.alaev-dev/pg-doctor
Read-only PostgreSQL diagnostics for AI agents: slow queries, plans, bloat, vacuum, locks, replicas.
client:Grok
transport:stdio
runtime:oci
Install pg doctor in Grok
.mcp.json (in your project root)
{
"mcpServers": {
"pg-doctor": {
"type": "stdio",
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/alaev-dev/pg-doctor:0.3.0"
],
"env": {
"DATABASE_URL": "<DATABASE_URL>"
}
}
}
}
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