MySQL Query MCP Server
A Model Context Protocol server that provides read-only MySQL database queries for AI assistants, allowing them to execute queries, explore database structures, and investigate data directly from AI-powered tools.
Install
npx -y mysql-query-mcp-server
Paste the configuration above into your MCP client config (claude_desktop_config.json for Claude Desktop) and restart the client.
{
"mcpServers": {
"mysql-query-mcp-server": {
"command": "npx",
"args": [
"-y",
"mysql-query-mcp-server"
],
"env": {
"DEBUG": "<DEBUG>",
"LOCAL_DB_SSL": "<LOCAL_DB_SSL>",
"LOCAL_DB_HOST": "<LOCAL_DB_HOST>",
"LOCAL_DB_NAME": "<LOCAL_DB_NAME>",
"LOCAL_DB_PASS": "<LOCAL_DB_PASS>",
"LOCAL_DB_PORT": "<LOCAL_DB_PORT>",
"LOCAL_DB_USER": "<LOCAL_DB_USER>",
"MCP_MYSQL_SSL": "<MCP_MYSQL_SSL>"
}
}
}
}Paste the configuration above into your MCP client config (claude_desktop_config.json for Claude Desktop) and restart the client.
Sources: public MCP Server directories. This is an independent third-party directory with no affiliation to or endorsement from the maintainers of the listed servers.