relational-database-mcp-cloudbase

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

322|45|Updated Dec 1, 2025
One-click install
npx skills add https://github.com/Microck/ordinary-claude-skills --skill relational-database-mcp-cloudbase
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: relational-database-mcp-cloudbase
Source: https://github.com/Microck/ordinary-claude-skills/tree/main/skills_all/relational-database-mcp-cloudbase
Command: npx skills add https://github.com/Microck/ordinary-claude-skills --skill relational-database-mcp-cloudbase

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This is the required documentation for agents operating on the CloudBase Relational Database. It lists the only four supported tools for running SQL and managing security rules. Read the full content to understand why you must NOT use standard Application SDKs and how to safely execute INSERT, UPDATE, or DELETE operations without corrupting production data.

Core Features & Use Cases

  • MCP toolset: Execute read-only, write, and security-rule operations without embedding SDKs.
  • Safety-first approach: Emphasizes explicit intent and validation before destructive actions.
  • Guidance for agents: Clear patterns for when to read vs modify data, and how to audit access.

Quick Start

Initiate a read operation with executeReadOnlySQL, then plan a write with executeWriteSQL after validating results.

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 safely execute SQL operations on CloudBase using MCP tools?

Use the four supported MCP tools for CloudBase: executeReadOnlySQL for SELECT queries, executeWriteSQL for INSERT/UPDATE/DELETE/DDL, readSecurityRule to inspect access rules, and writeSecurityRule to modify them. Always verify reads before writes and provide explicit summaries before destructive operations to enforce safety constraints.

Why shouldn't I use standard Application SDKs to access CloudBase Relational Database?

Standard SDKs bypass the safety-first validation patterns required for CloudBase operations. MCP tools enforce explicit intent verification and prevent data corruption by requiring read verification before writes and mandatory operation summaries on destructive actions.

What's the correct workflow for INSERT, UPDATE, or DELETE operations on CloudBase?

Initiate a read operation with executeReadOnlySQL to validate the target data, then plan and execute your write with executeWriteSQL after confirming results. This procedural separation prevents accidental data corruption in production environments.

Can I inspect and modify security rules on CloudBase using MCP tools?

Yes. Use readSecurityRule to audit current access controls and writeSecurityRule to modify them. This enables security hardening and compliance auditing workflows without embedding SDKs.

What operations does CloudBase Relational Database support through MCP tools?

CloudBase MCP supports read-only queries (SELECT), write and DDL operations (INSERT, UPDATE, DELETE, CREATE, ALTER, DROP), and security rule inspection and modification for data migrations, inspections, and security hardening scenarios.

Do I need prior read verification before executing write operations on CloudBase?

Yes. Safety constraints mandate that you verify data with executeReadOnlySQL before performing writes via executeWriteSQL, and you must provide explicit operation summaries before destructive actions to prevent unintended data loss.