relational-database-mcp-cloudbase

Installation
Summary

Four MCP tools for safe SQL execution and security rule management on CloudBase Relational Database.

  • Four tools cover all agent operations: executeReadOnlySQL for SELECT queries, executeWriteSQL for INSERT/UPDATE/DELETE/DDL, readSecurityRule to inspect permissions, and writeSecurityRule to update access controls
  • Use MCP tools exclusively in agent context; do not initialize CloudBase SDKs when these tools are available
  • Always run read-only SELECTs first to verify assumptions before destructive operations; include LIMIT clauses to prevent full-table scans
  • New tables must include _openid VARCHAR(64) DEFAULT '' NOT NULL column for per-user access control; the server automatically populates this field for authenticated users
SKILL.md

Standalone Install Note

If this environment only installed the current skill, start from the CloudBase main entry and use the published cloudbase/references/... paths for sibling skills.

  • CloudBase main entry: https://cnb.cool/tencent/cloud/cloudbase/cloudbase-skills/-/git/raw/main/skills/cloudbase/SKILL.md
  • Current skill raw source: https://cnb.cool/tencent/cloud/cloudbase/cloudbase-skills/-/git/raw/main/skills/cloudbase/references/relational-database-tool/SKILL.md

Keep local references/... paths for files that ship with the current skill directory. When this file points to a sibling skill such as auth-tool or web-development, use the standalone fallback URL shown next to that reference.

Activation Contract

Use this first when

  • The agent must inspect SQL data, execute SQL statements, provision or destroy MySQL, initialize table structure, or manage table security rules through MCP tools.

Read before writing code if

  • The task includes querySqlDatabase, manageSqlDatabase, queryPermissions, or managePermissions.
Related skills

More from tencentcloudbase/skills

Installs
737
GitHub Stars
58
First Seen
Jan 22, 2026