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
{
"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