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.
接入配置
选择客户端,复制配置,再按项目文档补齐环境变量。
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"
]
}
}
}