Skills

Relational Database MCP Cloudbase

[Deprecated] Existing CloudBase MySQL only.

Install

npx skills add TencentCloudBase/CloudBase-AI-Toolkit --skill relational-database-mcp-cloudbase -g -a claude-code -y
Category
Data and ML
Updated
3d ago
License
MIT
Context cost
Mediumabout 2,538 tokens
Runs scripts
No, instructions only

What it does

[Deprecated] Existing CloudBase MySQL only. Do not recommend MySQL for new relational work, use postgresql-development. Read this when the environment already has a MySQL instance and the task is queryMysqlDatabase, manageMysqlDatabase, queryPermissions, or managePermissions (inspect, write SQL, schema, permissions, destroy). Do not provision MySQL.

Sibling skills (local only)

Sibling CloudBase skills ship beside this skill. Use local relative paths such as ../auth-tool-cloudbase/SKILL.md.

If a referenced sibling skill file is missing from this environment, ask the user to install the full CloudBase plugin (or the missing skill). Do not HTTP-fetch remote skill or protocol markdown into the agent context.

Activation Contract

Use this first when

  • The environment already has a CloudBase MySQL instance, and the agent must inspect that instance, run SQL, change schema, manage table security rules, or destroy it through MCP.
  • Do not choose this skill for a new relational database. New relational work uses postgresql-development-cloudbase.

Read before writing code if

  • The task includes queryMysqlDatabase, manageMysqlDatabase, queryPermissions, or managePermissions.

Then also read

  • Web application integration -> ../relational-database-web-cloudbase/SKILL.md
  • Raw HTTP database access -> ../http-api-cloudbase/SKILL.md

Do NOT use for

  • Frontend or backend application code that should use SDKs instead of MCP operations.

Common mistakes / gotchas

  • Initializing SDKs in an MCP management flow.
  • Running write SQL or DDL before confirming the environment already has a ready MySQL instance.
  • Trying to create a MySQL instance through MCP. Provisioning has been retired from the tool surface: new environments use PostgreSQL, and instances are only created in the console.
  • Treating document database tasks as MySQL management tasks.
  • Skipping _openid and permissions review after creating new SQL tables.
  • Destroying MySQL without explicit confirmation or without checking whether the environment still needs the instance.
  • Using getConnectionInfo (or inferred host/password) to build a default TCP client for new apps. Prefer SDK / runQuery / runStatement; TCP credentials are an explicit migration exception only.

When to use this skill

Read the whole SKILL.md on GitHub

More in Data and ML