Skip to content
Cline

database mcp mysql for Cline

io.github.arifulislamat/database-mcp-mysql

MCP server for MySQL. Read-only by default, row caps, statement timeouts, secrets never logged.

client:Cline transport:stdio runtime:npm

Install database mcp mysql in Cline

~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json · windows: %APPDATA%\Code\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json

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

{
  "mcpServers": {
    "database-mcp-mysql": {
      "command": "npx",
      "args": [
        "-y",
        "@database-mcp/mysql"
      ],
      "env": {
        "MYSQL_HOST": "<MYSQL_HOST>",
        "MYSQL_USER": "<MYSQL_USER>",
        "MYSQL_PASSWORD": "<MYSQL_PASSWORD>",
        "MYSQL_DATABASE": "<MYSQL_DATABASE>"
      }
    }
  }
}

Cline's MCP Servers pane edits this file for you if you would rather not find it. Cline docs

database mcp mysql in other clients