MySQL (security-first) for Grok
io.github.kurok1/mcp-server-mysql
Security-first MySQL MCP server with AST validation, table whitelist, schema resources, and audit.
client:Grok
transport:stdio
runtime:oci
Install MySQL (security-first) in Grok
.mcp.json (in your project root)
{
"mcpServers": {
"mcp-server-mysql": {
"type": "stdio",
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/kurok1/mcp-server-mysql:2.1.0"
],
"env": {
"MYSQL_MCP_PASSWORD": "<MYSQL_MCP_PASSWORD>"
}
}
}
}
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