MCP server for MySQL database access
MCP server providing read-only access to MySQL databases. Enables LLMs to inspect schemas, execute queries, and analyze data.
{
"mcpServers": {
"mysql": {
"mcpServers": {
"mysql": {
"env": {
"MYSQL_HOST": "localhost",
"MYSQL_PORT": "3306",
"MYSQL_USER": "root",
"MYSQL_DATABASE": "your_database",
"MYSQL_PASSWORD": "YOUR_PASSWORD"
},
"args": [
"-y",
"@benborla29/mcp-server-mysql"
],
"command": "npx"
}
}
}
}
}