A Model Context Protocol (MCP) server for MySQL databases with support for AWS RDS. Enables AI assistants to execute queries, inspect schemas, and manage MySQL databases securely through the MCP protocol.
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add mysql-server-your-username -- npx -y mcp-mysql-server~/.codex/config.toml
[mcp_servers.mysql-server-your-username]
command = "npx"
args = ["-y", "mcp-mysql-server"]
# codex mcp add mysql-server-your-username -- npx -y mcp-mysql-server~/.cursor/mcp.json
{
"mcpServers": {
"mysql-server-your-username": {
"command": "npx",
"args": [
"-y",
"mcp-mysql-server"
]
}
}
}.vscode/mcp.json
{
"servers": {
"mysql-server-your-username": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"mcp-mysql-server"
]
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"mysql-server-your-username": {
"command": "npx",
"args": [
"-y",
"mcp-mysql-server"
]
}
}
}claude_desktop_config.json
{
"mcpServers": {
"mysql-server-your-username": {
"command": "npx",
"args": [
"-y",
"mcp-mysql-server"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"mysql-server-your-username": {
"command": "npx",
"args": [
"-y",
"mcp-mysql-server"
]
}
}
}