Borrowing it
Nothing to install: this file belongs to aywengo/kafka-schema-reg-mcp. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/aywengo/kafka-schema-reg-mcp/main/.cursorrulesgit clone --depth 1 https://github.com/aywengo/kafka-schema-reg-mcpWrote 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/aywengo/kafka-schema-reg-mcp/cursorrules)<a href="https://agentmods.dev/rules/aywengo/kafka-schema-reg-mcp/cursorrules"><img src="https://agentmods.dev/badge/rules/aywengo/kafka-schema-reg-mcp/cursorrules.svg" alt="Measured on agentmods" 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.01361 | $0.01361 |
| Opus 5 | $0.00681 | $0.00681 |
| Sonnet 5 | $0.00272 | $0.00272 |
| Haiku 4.5 | $0.00136 | $0.00136 |
Grade A, and why
cursorrules 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 6d 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 — 201 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Cursor Rules for Kafka Schema Registry MCP
Code Quality & Linting Standards
Python Version & Compatibility
- Target Python 3.10+ (project minimum: 3.10)
- Use type hints consistently for better mypy compatibility
- Avoid using features newer than Python 3.10 unless absolutely necessary
Code Formatting (Black)
- Line length: 120 characters (configured in pyproject.toml)
- Use double quotes for strings
- Trailing commas in multi-line structures
- Function and class definitions follow Black's style
- Never suggest changing Black configuration in pyproject.toml
Import Organization (isort)
- Profile: black (configured in pyproject.toml)
- Line length: 120 characters for imports
- Group imports: standard library → third-party → local
- Use trailing commas in multi-line imports
- Separate import groups with blank lines
- Never suggest changing isort configuration in pyproject.toml
Code Style (Ruff)
- Line length: 100 characters for code content (configured in pyproject.toml)
- Keep docstrings and comments within 100 characters when possible
- Use descriptive variable names
- Avoid complex nested structures
- Never suggest changing Ruff configuration in pyproject.toml
Type Checking (MyPy)
- Add type hints to all function parameters and return values
- Use
typingmodule imports:List,Dict,Optional,Union,Any - For Python 3.10+, prefer built-in generics:
list[str]overList[str] - Mark untyped external libraries with
# type: ignorewhen necessary - Never suggest changing MyPy configuration in pyproject.toml
Flake8 Compliance
- Avoid syntax errors and undefined names (E9, F63, F7, F82)
- Keep complexity under 15 (max-complexity=15)
- Handle unused imports and variables
- Use proper exception handling
Project-Specific Guidelines
MCP (Model Context Protocol) Standards
- Use FastMCP framework patterns
- Implement proper error handling for MCP operations
- Follow async/await patterns for MCP tools
- Use descriptive tool names and parameter validation
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.
- 6d ago First seen · 201 lines · 1,361 tokens per session scan A f92225fe42bf
cursorrules is a cursor rule published in the GitHub repository aywengo/kafka-schema-reg-mcp (32 stars, last pushed 5d ago), licensed MIT. It adds 1,361 tokens to every session, about $0.0068 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.
Other cursor rules, from other repositories
mcp-tools-readme
Keep README in sync when MCP tools change.
main-rule
A Model Context Protocol (MCP) server for web content scanning and analysis. This server provides tools for fetching, analyzing, and extracting information from web pages.
memory-bank-key
Memory-Bank key: de83ede7-85de-4746-86c7-c2dafefc3fb7.
about-codebase
General information about the Lineai MCP Server codebase and its purpose.
toc-readme
When updating README.md, the table of contents should contain only the second-level headings below it.
runwhen-infrastructure
Infrastructure conventions for scripts targeting Kubernetes and databases via RunWhen runners.