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.
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.
git clone --depth 1 https://github.com/TencentCloudBase/CloudBase-AI-ToolkitWrote 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.
[](https://agentmods.dev/rules/tencentcloudbase/cloudbase-ai-toolkit/mcp_design_review)<a href="https://agentmods.dev/rules/tencentcloudbase/cloudbase-ai-toolkit/mcp_design_review"><img src="https://agentmods.dev/badge/rules/tencentcloudbase/cloudbase-ai-toolkit/mcp_design_review/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.
<a href="https://agentmods.dev/rules/tencentcloudbase/cloudbase-ai-toolkit/mcp_design_review"><img src="https://agentmods.dev/badge/rules/tencentcloudbase/cloudbase-ai-toolkit/mcp_design_review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.01483 | $0.01483 |
| Opus 5.5 | $0.00593 | $0.00593 |
| Sonnet 5.5 | $0.00297 | $0.00297 |
| Haiku 4.5 | $0.00148 | $0.00148 |
Grade A, and why
mcp_design_review 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 3mo ago.
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.
How it starts
The opening of the file, as written. The whole thing — 85 lines — stays where its author put it; the contents beside it link to each section on GitHub.
/mcp_design_review
Function
Check whether all MCP tools and specs follow the unified MCP design guidelines.
Trigger Condition
When the user types /mcp_design_review.
Behavior
-
Collect design sources
- Read MCP-related specs (e.g.
specs/agent-functionality/,specs/interactive-tools/,specs/code-quality-analysis/REFACTORING_CHECKLIST.md,specs/function-tool-ai-ergonomics/if present). - Read MCP implementation files (primarily
mcp/src/tools/*.ts, especiallyfunctions.ts,env.ts,storage.ts, etc).
- Read MCP-related specs (e.g.
-
Evaluate design against the guidelines
For each tool and its surrounding design, check:-
Confirmed target shape takes precedence
- If the current spec, task, or explicit user feedback has already locked a shape (for example “this module must converge to one
queryXxxand onemanageXxx”), treat deviations as failures, not optional suggestions. - Do not propose a locally elegant alternative if it breaks an already confirmed module boundary, naming style, or migration target.
- If the current spec, task, or explicit user feedback has already locked a shape (for example “this module must converge to one
-
Tool responsibility & naming
- Single clear responsibility per tool (no “god” tools).
- Names follow
verbNounstyle and reflect the domain (e.g.getFunctionLayers,writeFunctionLayers).
-
Query / manage tool pattern (per module)
- Each logical domain module (functions, env, storage, database, etc.) MUST expose at most two primary tools:
- a query tool:
queryXxx– strictly read‑only, no side effects, focused on queries. - a manage tool:
manageXxx– performs all mutations via a requiredactionfield.
- a query tool:
- Benchmark-critical read-only helpers are allowed only as explicit, documented exceptions when folding them into
queryXxxwould materially reduce agent success rate or obscure structure discovery. - PostgreSQL schema-qualified structure, RLS/policy visibility, and key/index inspection should be exposed through
queryPgDatabase(action="schema"), not a standalone schema tool, unless a future review explicitly approves a separate capability boundary. - The
manageXxxtool:- Uses a string literal union for
action(e.g."create" | "update" | "delete" | "attachLayer" | "detachLayer"). - Uses action-specific parameters that are easy for AI to map correctly. Prefer the repository’s established style first; do not invent namespaced actions or grouped payloads unless the surrounding modules already use that pattern.
- Treats missing/unknown
actionas invalid and fails safely.
- Uses a string literal union for
- Tool count control: avoid creating many small tools (e.g.
createX,updateX,deleteX) in the same domain when a singlemanageXxxwith multiple actions is sufficient. - Before approving any new fine-grained tool, explicitly check whether the capability can be merged into an existing
queryXxx/manageXxxprimary entrance in the same module. - Do NOT add a new tool when the underlying capability already exists and the only motivation is discoverability, canonical SDK naming, evaluator familiarity, prompt phrasing, or alias convenience. In those cases, prefer improving the existing tool description, examples, schema hints, action names, docs, or evaluation contract.
- Only approve a new tool when it introduces a genuinely different capability boundary, permission surface, or irreducible input shape that would make the existing primary entrance meaningfully worse.
- Safety & annotations: tools must clearly indicate whether they are read‑only or mutating in their metadata, and dangerous actions (delete, publish, reset, overwrite, etc.) must require explicit confirmation flags with safe defaults.
- Each logical domain module (functions, env, storage, database, etc.) MUST expose at most two primary tools:
-
Cross-module consistency
- Compare the proposed schema with neighboring modules in
mcp/src/tools/, not just the local file. - Flag designs that introduce one-off conventions, such as namespaced action strings or special payload grouping, when other modules use flat action names and top-level fields.
- Check whether target identifiers stay consistent across actions (
functionName,layerName,triggerName) instead of mixing genericnamewith domain-specific names.
- Compare the proposed schema with neighboring modules in
-
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.
- 3mo ago First seen · 85 lines · 1,483 tokens per session scan A a413c1cb17d2
mcp_design_review is a cursor rule published in the GitHub repository TencentCloudBase/CloudBase-AI-Toolkit (1,170 stars, last pushed today), licensed MIT. It adds 1,483 tokens to every session, about $0.0059 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.
mcp_design_review compared with cursor rules from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| mcp_design_reviewTencentCloudBase/CloudBase-AI-Toolkit | Cursor rule | 1.2k | today | MIT | A | 1,483 | Cursor |
| ponytailDietrichGebert/ponytail | Cursor rule | 202k | 9d ago | MIT | A | 604 | Cursor |
| angular-20angular/angular | Cursor rule | 102k | today | MIT | A | 0 | Cursor |
| dev-standardapache/superset | Cursor rule | 76k | today | Apache-2.0 | A | 1,147 | Cursor |
| prefer-assertions-over-defensive-checksprisma/orm | Cursor rule | 48k | today | Apache-2.0 | A | 0 | Codex, Cursor |
| prefer-direct-imports-over-module-mocksprisma/orm | Cursor rule | 48k | today | Apache-2.0 | A | 0 | Codex, Cursor |
| shared-plane-packagesprisma/orm | Cursor rule | 48k | today | Apache-2.0 | A | 0 | Codex, Cursor |