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/noveldig/mcp-xhs-publisherWrote 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/noveldig/mcp-xhs-publisher/mcp-architecture-general)<a href="https://agentmods.dev/rules/noveldig/mcp-xhs-publisher/mcp-architecture-general"><img src="https://agentmods.dev/badge/rules/noveldig/mcp-xhs-publisher/mcp-architecture-general/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/noveldig/mcp-xhs-publisher/mcp-architecture-general"><img src="https://agentmods.dev/badge/rules/noveldig/mcp-xhs-publisher/mcp-architecture-general.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.00851 | $0.00851 |
| Opus 5 | $0.00426 | $0.00426 |
| Sonnet 5 | $0.00170 | $0.00170 |
| Haiku 4.5 | $0.00085 | $0.00085 |
Grade A, and why
mcp-architecture-general 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 11d 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.
What it actually says
MCP 核心架构指南 (MCP Core Architecture Guide)
本指南概述了模型上下文协议 (Model Context Protocol, MCP) 的核心架构。理解这些基础原则对于构建任何与 MCP 兼容的应用程序(无论是客户端还是服务器)都至关重要。
参考:
1. 核心概念:客户端-服务器模型
MCP 采用标准的客户端-服务器架构,旨在促进 AI 模型与各种数据源和工具之间的标准化交互。
- MCP 主机 (Hosts): 这些是希望通过 MCP 访问数据和功能的应用程序,例如 Claude Desktop、IDE 或其他 AI 工具。主机通常内嵌或管理一个或多个 MCP 客户端。
- MCP 客户端 (Clients): 协议客户端,负责与 MCP 服务器建立和维护连接。它们代表主机向服务器发送请求并接收响应。
- 详细的客户端开发规范,请参见 MCP 客户端指南。
- MCP 服务器 (Servers): 这些程序通过 MCP 协议暴露特定的能力(如数据、工具)。
coze-mcp-server就是一个 MCP 服务器的例子。- 详细的服务器开发规范,请参见 MCP 服务器指南。
2. MCP 的目标与优势
- 标准化集成: MCP 的核心价值在于为 AI 模型集成数据和工具提供了一个统一的接口,类似于为 AI 应用提供的"USB-C"端口。
- 互操作性: 允许不同的 LLM 服务和工具提供商之间实现互操作,方便用户切换和组合。
- 模块化: 促进 AI 应用的模块化设计,使得数据源和工具可以作为独立的 MCP 服务器进行开发和部署。
- 安全性: MCP 的设计考虑了在用户基础设施内安全访问数据的需求。
3. 主要交互组件
MCP 服务器主要通过以下方式向客户端暴露其能力:
- 资源 (Resources): 代表服务器可以提供给 LLM 使用的数据和内容。
- 工具 (Tools): 使 LLM 能够通过服务器执行操作和与外部系统交互。
- 高级概念 (Advanced Concepts): 包括诸如 Prompts, Sampling, Roots, 和 Transports 等,它们为更复杂的交互提供了支持。
4. 开始使用
- 对于服务器开发者: 请参考 MCP 服务器指南 和相关的资源及工具指南。
- 对于客户端开发者: 请参考 MCP 客户端指南。
- 通用项目设置: 参考 项目结构指南、Python 编码标准指南 和 使用 uv 打包与依赖管理指南。
本架构指南旨在提供一个高层次的理解。具体的实现细节和最佳实践请查阅各个专门的指南文件。
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.
- 11d ago First seen · 45 lines · 851 tokens per session scan A 92a4f8381166
mcp-architecture-general is a cursor rule published in the GitHub repository noveldig/mcp-xhs-publisher (1 stars, last pushed 1y ago), licensed MIT. It adds 851 tokens to every session, about $0.0043 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-31.
Other cursor rules, from other repositories
ponytail
Ponytail, lazy senior dev mode. Always pick the simplest solution that works.
angular-20
This rule provides comprehensive best practices and coding standards for Angular development, focusing on modern TypeScript, standalone components, signals, and performance optimizations.
dev-standard
Apache Superset development standards and guidelines for Cursor IDE.
cli-error-handling
CLI command error handling patterns.
prefer-direct-imports-over-module-mocks
Prefer extracting a testable core over vi.mock / vi.resetModules when unit tests need to reach production logic entangled with config, env, or singletons.
control-plane-descriptors
Control plane descriptor and instance implementation patterns.