mcp_design_review

mcp_design_review is a cursor rule for Cursor from TencentCloudBase/CloudBase-AI-Toolkit. It costs 1,483 tokens per session, scanned A, original, MIT.

A checker for MCP tools and specifications. MCP is a standard way for an AI agent to call external tools.

In plain words
What is it for?
Use it to review MCP tool names, responsibilities, interfaces, and related code against the project's design guidelines.
Why use it?
It finds design and implementation problems that can make tools confusing, inconsistent, or difficult for an agent to use correctly.

Cursor rule for Cursor

Written for Cursor: a Cursor rule (.mdc).

Good fit Use it to review MCP tool names, responsibilities, interfaces, and related code against the project's design guidelines.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/tencentcloudbase/cloudbase-ai-toolkit/mcp_design_review
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,170 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.

Clone the repo
git clone --depth 1 https://github.com/TencentCloudBase/CloudBase-AI-Toolkit

Made for: Cursor.

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 mcp_design_review

README.md
[![agentmods](https://agentmods.dev/badge/rules/tencentcloudbase/cloudbase-ai-toolkit/mcp_design_review/github.svg)](https://agentmods.dev/rules/tencentcloudbase/cloudbase-ai-toolkit/mcp_design_review)
Your own site
<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.

agentmods 80×15 button for mcp_design_review

Your own site · 80×15
<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>
Per session 1,483 This file is loaded in full into every session.
When invoked 1,483 The same file — it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.01483 $0.01483
Opus 5.5 $0.00593 $0.00593
Sonnet 5.5 $0.00297 $0.00297
Haiku 4.5 $0.00148 $0.00148

Measured 3mo ago against content hash a413c1cb17d2, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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.

skills/docs-workflows/references/mcp_design_review.mdc · 85 lines

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

  1. 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, especially functions.ts, env.ts, storage.ts, etc).
  2. 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 queryXxx and one manageXxx”), 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.
    • Tool responsibility & naming

      • Single clear responsibility per tool (no “god” tools).
      • Names follow verbNoun style 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 required action field.
      • Benchmark-critical read-only helpers are allowed only as explicit, documented exceptions when folding them into queryXxx would 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 manageXxx tool:
        • 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 action as invalid and fails safely.
      • Tool count control: avoid creating many small tools (e.g. createX, updateX, deleteX) in the same domain when a single manageXxx with multiple actions is sufficient.
      • Before approving any new fine-grained tool, explicitly check whether the capability can be merged into an existing queryXxx / manageXxx primary 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.
    • 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 generic name with domain-specific names.

Read the full file on GitHub · 85 lines

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. 3mo ago First seen · 85 lines · 1,483 tokens per session scan A a413c1cb17d2

Subscribe to this mod's changes

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.

Related

mcp_design_review compared with cursor rules from other repositories

mcp_design_review next to 6 cursor rules from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
mcp_design_reviewTencentCloudBase/CloudBase-AI-ToolkitCursor rule1.2ktodayMITA1,483Cursor
ponytailDietrichGebert/ponytailCursor rule202k9d agoMITA604Cursor
angular-20angular/angularCursor rule102ktodayMITA0Cursor
dev-standardapache/supersetCursor rule76ktodayApache-2.0A1,147Cursor
prefer-assertions-over-defensive-checksprisma/ormCursor rule48ktodayApache-2.0A0Codex, Cursor
prefer-direct-imports-over-module-mocksprisma/ormCursor rule48ktodayApache-2.0A0Codex, Cursor
shared-plane-packagesprisma/ormCursor rule48ktodayApache-2.0A0Codex, Cursor