mcp

mcp is a cursor rule for Cursor from guocong-bincai/Yapi_mcp_pro. It costs 220 tokens per session, scanned A, original, MIT.

Rules written in Chinese for choosing an enhancement service based on the user's request. They cover feature changes, bug analysis, and project or architecture analysis.

In plain words
What is it for?
Use them when deciding how to route requests about new features, bug fixes, or code and architecture analysis. They also provide guidance for handling environment variables safely.
Why use it?
They tell an agent which service to call for different kinds of work. They also warn against reading or creating environment files directly.

Cursor rule for Cursor

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.

agentmods
npx agentmods add rules/guocong-bincai/yapi_mcp_pro/mcp
Clone the repo
git clone --depth 1 https://github.com/guocong-bincai/Yapi_mcp_pro

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

README.md
[![agentmods](https://agentmods.dev/badge/rules/guocong-bincai/yapi_mcp_pro/mcp.svg)](https://agentmods.dev/rules/guocong-bincai/yapi_mcp_pro/mcp)
Your own site
<a href="https://agentmods.dev/rules/guocong-bincai/yapi_mcp_pro/mcp"><img src="https://agentmods.dev/badge/rules/guocong-bincai/yapi_mcp_pro/mcp.svg" alt="Measured on agentmods" height="20"></a>
Per session 220 This file is loaded in full into every session.
When invoked 220 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
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.00220 $0.00220
Opus 5 $0.00110 $0.00110
Sonnet 5 $0.00044 $0.00044
Haiku 4.5 $0.00022 $0.00022

Measured 5d ago against content hash 1060ac271f87, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

mcp 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 5d 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.

.cursor/rules/mcp.mdc · 17 lines

What it actually says

MCP (Message Control & Processing) 服务调用规范

对于用户的输入,请严格必须调用合适的MCP服务进行增强后再响应

如果用户的需求是修改功能或者增加新的功能,请调用 enhance_feature_innovation 服务。 如果用户的需求是分析或者修复bug,请调用 enhance_bug_analysis_and_fix 服务。 如果用户的需求是分析代码或者项目功能架构,请调用 enhance_project_analysis 服务。

由于安全策略,你现在无法访问 .env 这类文件,所以不要尝试读取或创建它们。

如果你需要读取或者新增环境变量(例如配置 API_KEY 或其他变量),请不要直接操作文件,而是通过我告诉你的方式来表达你的建议,我会手动帮你处理或者提供给你。

此文件由 SmartPromptor v1.2.9 自动生成于 2025.06.17

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. 5d ago First seen · 17 lines · 220 tokens per session scan A 1060ac271f87

Subscribe to this mod's changes

mcp is a cursor rule published in the GitHub repository guocong-bincai/Yapi_mcp_pro (22 stars, last pushed 1y ago), licensed MIT. It adds 220 tokens to every session, about $0.0011 per session on Opus 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.