relational-database-mcp-cloudbase

relational-database-mcp-cloudbase is a skill for Claude Code from TencentCloudBase/CloudBase-AI-Toolkit. It costs 81 tokens per session (2,359 once invoked), scanned A, original, MIT.

A guide for using CloudBase tools to inspect and manage MySQL databases, including their tables and access rules.

In plain words
What is it for?
Use it to query or run SQL, create or remove a MySQL database, set up tables, and manage database permissions.
Why use it?
It helps an agent handle database operations in the right order, such as checking that MySQL is ready before changing it.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

Part of the cloudbase-ai-toolkit plugin — 47 skills, 3 commands, 6 agents, 3 MCP servers, 2 plugins shipped together

Good fit Use it to query or run SQL, create or remove a MySQL database, set up tables, and manage database permissions.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/tencentcloudbase/cloudbase-ai-toolkit/relational-database-mcp-cloudbase
About the project

CloudBase AI Toolkit is an integration layer that lets AI coding tools use Tencent CloudBase as an application backend, including databases, authentication, functions, storage, and deployments. Developers use it to have coding agents build and operate CloudBase-backed applications through skills, plugins, commands, and chat-accessible tools. The catalogue entries are the toolkit’s own skills, agents, hooks, plugins, rules, instructions, and MCP tools.

TencentCloudBase/CloudBase-AI-Toolkit · 1,152 stars · on GitHub · docs.cloudbase.net

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add TencentCloudBase/CloudBase-AI-Toolkit --skill relational-database-mcp-cloudbase
Clone the repo
git clone --depth 1 https://github.com/TencentCloudBase/CloudBase-AI-Toolkit

Made for: Claude Code.

Or install cloudbase-ai-toolkit, the plugin that ships this one along with the rest of its 47 skills, 3 commands, 6 agents, 3 MCP servers, 2 plugins.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for relational-database-mcp-cloudbase

README.md
[![agentmods](https://agentmods.dev/badge/skills/tencentcloudbase/cloudbase-ai-toolkit/relational-database-mcp-cloudbase/github.svg)](https://agentmods.dev/skills/tencentcloudbase/cloudbase-ai-toolkit/relational-database-mcp-cloudbase)
Your own site
<a href="https://agentmods.dev/skills/tencentcloudbase/cloudbase-ai-toolkit/relational-database-mcp-cloudbase"><img src="https://agentmods.dev/badge/skills/tencentcloudbase/cloudbase-ai-toolkit/relational-database-mcp-cloudbase/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for relational-database-mcp-cloudbase

Your own site · 80×15
<a href="https://agentmods.dev/skills/tencentcloudbase/cloudbase-ai-toolkit/relational-database-mcp-cloudbase"><img src="https://agentmods.dev/badge/skills/tencentcloudbase/cloudbase-ai-toolkit/relational-database-mcp-cloudbase.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 81 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,359 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Excessive Agency · line 42
    Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.
    Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00081 $0.02359
Opus 5.5 $0.00032 $0.00944
Sonnet 5.5 $0.00016 $0.00472
Haiku 4.5 $0.00008 $0.00236

Measured today against content hash 6326bf3eae1f, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

relational-database-mcp-cloudbase scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured today.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

Copies of this mod

3 near-identical copies found in the catalogue:

config/.claude/skills/relational-database-mcp-cloudbase/SKILL.md · 216 lines

How it starts

The opening of the file, as written. The whole thing — 216 lines — stays where its author put it; the contents beside it link to each section on GitHub.

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

Use this skill when an agent needs to operate on CloudBase Relational Database via MCP tools, for example:

Read the full file on GitHub · 216 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. today Changed · +1 lines · -19 tokens per session 6326bf3eae1f
  2. 6d ago Changed e5ad76452182
  3. 8d ago Changed 87e298f3c35c
  4. 14d ago Changed eb64ce9301ef
  5. 18d ago Changed · +6 tokens per session 94857d79b61b
  6. 27d ago Changed 4f4e57e67790
  7. 1mo ago Changed b23788e3400f
  8. 1mo ago Changed 7fc16060daa4
  9. 1mo ago Changed df336e7ef3c3
  10. 1mo ago First seen · 215 lines · 94 tokens per session scan A 05ced36a0dcf

Subscribe to this mod's changes

relational-database-mcp-cloudbase is a skill published in the GitHub repository TencentCloudBase/CloudBase-AI-Toolkit (1,152 stars, last pushed today), licensed MIT. It adds 81 tokens to every session and 2,359 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

horse-database-pooling

Guide for setting up thread-safe database connection pooling (FireDAC / UniDAC) in multithreaded Horse applications.

HashLoad/horse · 30 tokens

todolist-skill

A simple to-do list workflow backed by a cloud database, for viewing, adding, completing, and deleting tasks.

TencentCloudBase/awesome-miniprogram-skills · 19 tokens

kolo

Kolo is a text-based Python debugger that captures every executed function, return value, local variable, HTTP request, and SQL query into greppable trace files. Use this skill for tricky debugging challenges, to verify that code behaves as expected at runtime, and to see the real data and values passing through the…

koloai/kolo · 119 tokens

create-pr

Creates a GitHub PR with a Linear-ticket-prefixed title and a decision-led, narrative description for Prisma 8. Use when the user wants to create a pull request, open a PR, or submit changes for review.

prisma/orm · 48 tokens

atlas-mssql

SQL Server specifics for Atlas (also Azure SQL and MSSQL): login, dev database and URL scope (mode=schema vs mode=database, the database query parameter), compatibility level and collation, system-generated constraint names, clustered index defaults and datetime2 precision in HCL, GO batches and the delimiter…

ariga/atlas · 147 tokens

ha-data-stores

Map of Hope Agent's local data stores and safe read-only query workflow. Use when the user asks where Hope Agent stores data, wants to inspect sessions/messages/memory/logs/background jobs/knowledge indexes/settings, asks the model to query local app data, or debugging requires checking persisted state. Trigger…

shiwenwen/hope-agent · 115 tokens