relational-database-mcp-cloudbase

Execute SQL operations and manage security rules on CloudBase Relational Database via MCP tools.

72|5|Updated Jan 22, 2026
One-click install
npx skills add https://github.com/TencentCloudBase/skills --skill relational-database-mcp-cloudbase-tencentcloudbase
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: relational-database-mcp-cloudbase
Source: https://github.com/TencentCloudBase/skills/tree/main/skills/relational-database-tool
Command: npx skills add https://github.com/TencentCloudBase/skills --skill relational-database-mcp-cloudbase-tencentcloudbase

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill enables agents to operate CloudBase Relational Database using MCP tools, avoiding direct SDK initialization and ensuring safe SQL execution and security rule management.

Core Features & Use Cases

  • MCP-based SQL operations: executeReadOnlySQL for read queries and executeWriteSQL for inserts, updates, and DDL.
  • Security rule management: readSecurityRule and writeSecurityRule to inspect and modify table permissions.
  • Safety-first workflows: guidelines to confirm destructive actions and prevent production data corruption.

Quick Start

Identify when you are in an MCP context and have access to the MCP tools. Use executeReadOnlySQL for read-only queries and executeWriteSQL for writes with explicit safety checks. Before changing security rules, call readSecurityRule to review current settings and then use writeSecurityRule to apply the new rules. Always summarize intended operations before executing them.

Frequently Asked Questions about relational-database-mcp-cloudbase

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I execute SQL queries on CloudBase Relational Database using MCP?

You can execute SQL queries on CloudBase Relational Database using MCP by utilizing the executeReadOnlySQL tool for read operations and executeWriteSQL for inserts, updates, and DDL.

How do I manage security rules for CloudBase Relational Database tables without SDK initialization?

Manage security rules for CloudBase Relational Database tables by calling the readSecurityRule MCP tool to inspect current settings, then use writeSecurityRule to apply updated table permissions without initializing an SDK.

Can I write data and update schemas through MCP tools in CloudBase?

Yes, you can write data and update schemas in CloudBase using the executeWriteSQL MCP tool, which handles inserts, updates, and DDL operations safely without direct application SDK initialization.

What is the best way to prevent production data corruption when running write SQL operations via MCP?

To prevent production data corruption during write SQL operations via MCP, follow safety-first workflows by summarizing intended operations and confirming destructive actions before executing executeWriteSQL.

Does CloudBase MCP support read-only SQL queries?

Yes, CloudBase MCP supports read-only SQL queries through the executeReadOnlySQL tool, allowing agents to retrieve data safely without risking accidental writes to the relational database.

When should I review security rules before modifying them in CloudBase?

You should review security rules before modifying them in CloudBase by calling readSecurityRule to inspect current settings, ensuring you understand existing table permissions before applying new rules via writeSecurityRule.