database for Grok
io.github.magurelabs/database
Query and modify PostgreSQL, MySQL, SQL Server, Oracle or MongoDB databases.
client:Grok
transport:stdio
runtime:oci
Install database in Grok
.mcp.json (in your project root)
{
"mcpServers": {
"database": {
"type": "stdio",
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"docker.io/magureai/mcp-database:2.0.0"
],
"env": {
"MCP_MODE": "<MCP_MODE>",
"MCP_SERVICE_TOKEN": "<MCP_SERVICE_TOKEN>"
}
}
}
}
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