
volcengine-rds-mysql
使用火山引擎 RDS MySQL MCP Server,帮助用户完成 RDS MySQL 相关的实例管理、数据库操作、账号管理和运维任务,可直接调用 uv run ./scripts/callrdsmysql.py 脚本获取实时结果。
- Installs
- 67
- Last 24h
- —
- Trending rank
- —
- Security
- Not audited
Install
Works with every agent the skills CLI supports.
npx skills add https://github.com/bytedance/agentkit-samples --skill volcengine-rds-mysql- 01
Install
Run the command in your project. The CLI asks which agents to install for.
- 02
Describe the task
Ask your agent for something this skill covers. It loads volcengine-rds-mysql automatically when relevant.
- 03
Review the result
The agent follows the SKILL.md steps, scripts and references bundled with the skill.
SKILL.md
The instructions your agent reads when the skill is triggered.
Skill 概览
本 Skill 用于在对话中充当 火山引擎 RDS MySQL 的智能运维代理:
- 理解用户的自然语言需求(中文或英文),识别是否与 RDS MySQL 相关;
- 直接调用内置脚本
scripts/call_rds_mysql.py实时查询 RDS MySQL 并获取结果; - 当获取到结果或用户粘贴错误信息时,进一步解释、诊断并给出后续建议。
工作模式:
- 使用
scripts/call_rds_mysql.py脚本直接获取 RDS MySQL 的实时响应
运行方式: 脚本支持两种运行方式:
# 方式 1: 使用 uv (推荐,自动管理依赖)
uv run ./scripts/call_rds_mysql.py [action] [options]
# 方式 2: 使用 python (需要预先安装依赖)
python ./scripts/call_rds_mysql.py [action] [options]
标准使用流程
-
确认任务类型与参数
- 判断用户意图:查询实例列表、查看实例详情、管理数据库、管理账号、查看参数配置、创建实例等。
- 收集必要参数(如未指定则使用默认值):
--region:地域 ID(默认cn-beijing)--action:操作类型(如list-instances、describe-instance、list-databases等)--instance-id:实例 ID(部分操作必需)
-
构造查询并调用脚本
- 示例(以下命令可使用
uv run或python运行):# 查询实例列表 uv run ./scripts/call_rds_mysql.py list-instances # 或 python ./scripts/call_rds_mysql.py list-instances # 查询指定实例详情 uv run ./scripts/call_rds_mysql.py describe-instance --instance-id mysql-xxx # 或 python ./scripts/call_rds_mysql.py describe-instance --instance-id mysql-xxx # 查询实例的数据库列表 uv run ./scripts/call_rds_mysql.py list-databases --instance-id mysql-xxx # 或 python ./scripts/call_rds_mysql.py list-databases --instance-id mysql-xxx # 查询实例的账号列表 uv run ./scripts/call_rds_mysql.py list-accounts --instance-id mysql-xxx # 或 python ./scripts/call_rds_mysql.py list-accounts --instance-id mysql-xxx # 查询实例参数 uv run ./scripts/call_rds_mysql.py list-parameters --instance-id mysql-xxx # 或 python ./scripts/call_rds_mysql.py list-parameters --instance-id mysql-xxx # 查询 VPC 列表(用于创建实例) uv run ./scripts/call_rds_mysql.py list-vpcs # 或 python ./scripts/call_rds_mysql.py list-vpcs # 查询子网列表 uv run ./scripts/call_rds_mysql.py list-subnets --vpc-id vpc-xxx --zone-id cn-beijing-a # 或 python ./scripts/call_rds_mysql.py list-subnets --vpc-id vpc-xxx --zone-id cn-beijing-a
- 示例(以下命令可使用
-
解析结果并后续处理
- 将 RDS MySQL 的响应用自然语言解释给用户;
- 如返回包含敏感操作,评估风险并提醒:
- 避免在生产环境直接执行高风险操作(如删除实例、删除数据库等);
- 建议在测试环境验证或做好备份。
工具脚本使用说明
支持的操作(Actions)
| 操作 | 说明 | 必需参数 |
|---|---|---|
list-instances | 查询 RDS MySQL 实例列表 | 无 |
describe-instance | 查询指定实例详情 | --instance-id |
list-databases | 查询实例的数据库列表 | --instance-id |
list-accounts | 查询实例的账号列表 | --instance-id |
list-parameters | 查询实例的参数配置 | --instance-id |
list-parameter-templates | 查询参数模板列表 | 无 |
describe-parameter-template | 查询参数模板详情 | --template-id |
list-vpcs | 查询 VPC 列表 | 无 |
list-subnets | 查询子网列表 | --vpc-id |
get-price | 查询实例价格 | 多个配置参数 |
命令行参数
| 参数 | 说明 | 默认值 |
|---|---|---|
action | 操作类型(必需) | - |
--region / -r | 火山引擎地域 ID | cn-beijing |
--instance-id / -i | 实例 ID | 无 |
--page-number | 分页页码 | 1 |
--page-size | 每页记录数 | 10 |
--output / -o | 输出格式(json/table) | json |
输出格式
脚本会将查询信息输出到 stderr,将结果输出到 stdout,便于分离日志和结果:
[操作] list-instances
[地域] cn-beijing
============================================================
[查询结果]
<实际结果内容>
常见使用场景
1. 查看所有实例
uv run ./scripts/call_rds_mysql.py list-instances
2. 查看实例详情
uv run ./scripts/call_rds_mysql.py describe-instance --instance-id mysql-xxx
3. 查看实例的数据库
uv run ./scripts/call_rds_mysql.py list-databases --instance-id mysql-xxx
4. 查看实例的账号
uv run ./scripts/call_rds_mysql.py list-accounts --instance-id mysql-xxx
5. 查看实例参数配置
uv run ./scripts/call_rds_mysql.py list-parameters --instance-id mysql-xxx
6. 创建实例前查询网络信息
# 先查询 VPC
uv run ./scripts/call_rds_mysql.py list-vpcs
# 再查询子网
uv run ./scripts/call_rds_mysql.py list-subnets --vpc-id vpc-xxx --zone-id cn-beijing-a
环境变量配置
-
获取火山引擎访问凭证:参考 用户指南 获取 AK/SK
-
配置以下环境变量:
export VOLCENGINE_ACCESS_KEY="your-access-key"
export VOLCENGINE_SECRET_KEY="your-secret-key"
export VOLCENGINE_REGION="cn-beijing" # 可选,默认 cn-beijing
FAQ
What does the volcengine-rds-mysql skill do?
使用火山引擎 RDS MySQL MCP Server,帮助用户完成 RDS MySQL 相关的实例管理、数据库操作、账号管理和运维任务,可直接调用 uv run ./scripts/callrdsmysql.py 脚本获取实时结果。
How do I install volcengine-rds-mysql?
Run npx skills add https://github.com/bytedance/agentkit-samples --skill volcengine-rds-mysql in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/volcengine-rds-mysql/ (personal) or .claude/skills/volcengine-rds-mysql/ (project).
Which AI agents can use volcengine-rds-mysql?
Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.
Is volcengine-rds-mysql safe to install?
No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.
Who maintains volcengine-rds-mysql?
It is published by bytedance in bytedance/agentkit-samples. It has 67 recorded installs.
More from bytedance/agentkit-samples
byted-web-search
bytedance/agentkit-samples
火山引擎联网搜索 API,返回网页/图片结果。联网搜索场景优先使用本 skill。触发词包括:查/搜/找、真的吗/靠谱吗/确认/核实、最近/今天/最新/近期、出处/来源/链接、有什么/有哪些/推荐、价格/政策/汇率/行情、对比/区别/哪个好、听说/据说/不太确定、热搜/热门/火、帮我看/了解一下、求证/辟谣、值不值得/该不该。任务依赖在线事实或时效性时优先使用。若回答可能依赖外部事实,优先调用本 skill 再作答。支持 API Key / AK/SK。
byted-seedream-image-generate
bytedance/agentkit-samples
Open the skill to read its SKILL.md instructions.
byted-las-video-edit
bytedance/agentkit-samples
Open the skill to read its SKILL.md instructions.
byted-seedance-video-generate
bytedance/agentkit-samples
Open the skill to read its SKILL.md instructions.
byted-text-to-speech
bytedance/agentkit-samples
Open the skill to read its SKILL.md instructions.
byted-las-pdf-parse-doubao
bytedance/agentkit-samples
Open the skill to read its SKILL.md instructions.
Popular data & databases skills
supabase-postgres-best-practices
supabase/agent-skills
Postgres best practices maintained by Supabase, for Postgres running anywhere. Load this skill BEFORE writing or changing anything that lives in a Postgres database: creating or altering tables and columns (including choosing column types), schema design, migrations and declarative schema files, RLS policies and the tests that verify them, indexes, triggers, database functions, queues and scheduled jobs (pgcron, pgmq), vector/semantic search (pgvector), and restoring dumps (pgrestore) or importing data. Also load it when diagnosing slow queries, high CPU, timeouts, EXPLAIN plans, connection exhaustion, locking, bloat, or rows visible to the wrong user or tenant. This is not just a performance guide — schema, migration, security, and SQL authoring tasks need these rules too, even for a one-column change or a single query.
prisma-client-api
prisma/skills
Prisma Client API reference covering model queries, filters, operators, and client methods. Use when writing database queries, using CRUD operations, filtering data, or configuring Prisma Client. Triggers on "prisma query", "findMany", "create", "update", "delete", "$transaction".
prisma-database-setup
prisma/skills
Deprecated compatibility name for prisma-orm-setup. Use only when a user or existing integration explicitly invokes prisma-database-setup; otherwise select prisma-orm-setup.
prisma-cli
prisma/skills
Prisma ORM 7 CLI reference for existing Prisma 7 applications or explicitly selected Prisma 7 workflows. Covers prisma init, generate, migrate, db, dev, studio, and mcp. For setup, connection repair, or Prisma 8, use prisma-orm-setup; not the Prisma Platform CLI.
prisma-postgres
prisma/skills
Deprecated compatibility name for prisma-postgres-setup. Use only when a user or existing integration explicitly invokes prisma-postgres; otherwise select prisma-postgres-setup.
prisma-driver-adapter-implementation
prisma/skills
Required reference for Prisma ORM 7 SQL driver adapter work. Use when implementing or modifying adapters, adding database drivers, or touching SqlDriverAdapter, Transaction, savepoint, result mapping, or DriverAdapterError behavior. Covers current transaction lifecycle, optional savepoint hooks, original database-error preservation, and verification.