Manage Volcengine RDS for MySQL instances and database resources.
接入配置
选择客户端,复制配置,再按项目文档补齐环境变量。
claude mcp add rds-mysql --env MCP_SERVER_PORT='<MCP_SERVER_PORT>' --env VOLCENGINE_ACCESS_KEY='<VOLCENGINE_ACCESS_KEY>' --env VOLCENGINE_ENDPOINT='<VOLCENGINE_ENDPOINT>' --env VOLCENGINE_REGION='<VOLCENGINE_REGION>' --env VOLCENGINE_SECRET_KEY='<VOLCENGINE_SECRET_KEY>' -- uvx --from 'mcp-server-rds-mysql>=0.1.1' mcp-server-rds-mysql~/.codex/config.toml
[mcp_servers.rds-mysql]
command = "uvx"
args = ["--from", "mcp-server-rds-mysql>=0.1.1", "mcp-server-rds-mysql"]
env = { MCP_SERVER_PORT = "<MCP_SERVER_PORT>", VOLCENGINE_ACCESS_KEY = "<VOLCENGINE_ACCESS_KEY>", VOLCENGINE_ENDPOINT = "<VOLCENGINE_ENDPOINT>", VOLCENGINE_REGION = "<VOLCENGINE_REGION>", VOLCENGINE_SECRET_KEY = "<VOLCENGINE_SECRET_KEY>" }
# codex mcp add rds-mysql --env MCP_SERVER_PORT='<MCP_SERVER_PORT>' --env VOLCENGINE_ACCESS_KEY='<VOLCENGINE_ACCESS_KEY>' --env VOLCENGINE_ENDPOINT='<VOLCENGINE_ENDPOINT>' --env VOLCENGINE_REGION='<VOLCENGINE_REGION>' --env VOLCENGINE_SECRET_KEY='<VOLCENGINE_SECRET_KEY>' -- uvx --from 'mcp-server-rds-mysql>=0.1.1' mcp-server-rds-mysql~/.cursor/mcp.json
{
"mcpServers": {
"rds-mysql": {
"command": "uvx",
"args": [
"--from",
"mcp-server-rds-mysql>=0.1.1",
"mcp-server-rds-mysql"
],
"env": {
"MCP_SERVER_PORT": "<MCP_SERVER_PORT>",
"VOLCENGINE_ACCESS_KEY": "<VOLCENGINE_ACCESS_KEY>",
"VOLCENGINE_ENDPOINT": "<VOLCENGINE_ENDPOINT>",
"VOLCENGINE_REGION": "<VOLCENGINE_REGION>",
"VOLCENGINE_SECRET_KEY": "<VOLCENGINE_SECRET_KEY>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"rds-mysql": {
"type": "stdio",
"command": "uvx",
"args": [
"--from",
"mcp-server-rds-mysql>=0.1.1",
"mcp-server-rds-mysql"
],
"env": {
"MCP_SERVER_PORT": "<MCP_SERVER_PORT>",
"VOLCENGINE_ACCESS_KEY": "<VOLCENGINE_ACCESS_KEY>",
"VOLCENGINE_ENDPOINT": "<VOLCENGINE_ENDPOINT>",
"VOLCENGINE_REGION": "<VOLCENGINE_REGION>",
"VOLCENGINE_SECRET_KEY": "<VOLCENGINE_SECRET_KEY>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"rds-mysql": {
"command": "uvx",
"args": [
"--from",
"mcp-server-rds-mysql>=0.1.1",
"mcp-server-rds-mysql"
],
"env": {
"MCP_SERVER_PORT": "<MCP_SERVER_PORT>",
"VOLCENGINE_ACCESS_KEY": "<VOLCENGINE_ACCESS_KEY>",
"VOLCENGINE_ENDPOINT": "<VOLCENGINE_ENDPOINT>",
"VOLCENGINE_REGION": "<VOLCENGINE_REGION>",
"VOLCENGINE_SECRET_KEY": "<VOLCENGINE_SECRET_KEY>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"rds-mysql": {
"command": "uvx",
"args": [
"--from",
"mcp-server-rds-mysql>=0.1.1",
"mcp-server-rds-mysql"
],
"env": {
"MCP_SERVER_PORT": "<MCP_SERVER_PORT>",
"VOLCENGINE_ACCESS_KEY": "<VOLCENGINE_ACCESS_KEY>",
"VOLCENGINE_ENDPOINT": "<VOLCENGINE_ENDPOINT>",
"VOLCENGINE_REGION": "<VOLCENGINE_REGION>",
"VOLCENGINE_SECRET_KEY": "<VOLCENGINE_SECRET_KEY>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"rds-mysql": {
"command": "uvx",
"args": [
"--from",
"mcp-server-rds-mysql>=0.1.1",
"mcp-server-rds-mysql"
],
"env": {
"MCP_SERVER_PORT": "<MCP_SERVER_PORT>",
"VOLCENGINE_ACCESS_KEY": "<VOLCENGINE_ACCESS_KEY>",
"VOLCENGINE_ENDPOINT": "<VOLCENGINE_ENDPOINT>",
"VOLCENGINE_REGION": "<VOLCENGINE_REGION>",
"VOLCENGINE_SECRET_KEY": "<VOLCENGINE_SECRET_KEY>"
}
}
}
}需要的环境变量
MCP_SERVER_PORTVOLCENGINE_ACCESS_KEYVOLCENGINE_ENDPOINTVOLCENGINE_REGIONVOLCENGINE_SECRET_KEY
把占位值换成你自己的密钥;不要把密钥提交到代码仓库。