Skip to content
Claude Desktop

MySQL MCP Server for Claude Desktop

io.github.ranjian/mcp-mysql

Read-only MySQL MCP server with multi-connection profiles and safe SELECT queries.

client:Claude Desktop transport:stdio runtime:pypi

Install MySQL MCP Server in Claude Desktop

~/Library/Application Support/Claude/claude_desktop_config.json · windows: %APPDATA%\Claude\claude_desktop_config.json

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "mcp-mysql": {
      "command": "uvx",
      "args": [
        "jj-mcp-mysql"
      ],
      "env": {
        "MCP_DB_PROFILES_FILE": "<MCP_DB_PROFILES_FILE>"
      }
    }
  }
}

Settings → Developer → Edit Config opens this file. Restart the app after saving. Claude Desktop docs

MySQL MCP Server in other clients