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.
npx agentmods add rules/yangkyeongmo/mcp-server-openmetadata/modelcontextprotocolgit clone --depth 1 https://github.com/yangkyeongmo/mcp-server-openmetadataWhat 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 | $0.02509 | $0.02509 |
| Opus 5 | $0.01255 | $0.01255 |
| Sonnet 5 | $0.00502 | $0.00502 |
| Haiku 4.5 | $0.00251 | $0.00251 |
Grade A, and why
modelcontextprotocol scanned grade A with 1 finding 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 2d 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.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
from urllib.parse import urlparse This is a copy
94% identical to modelcontextprotocol — 6 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.
How it starts
The opening of the file, as written. The whole thing — 445 lines — stays where its author put it; the contents beside it link to each section on GitHub.
At the start of every response, say "APPLIED MODELCONTEXTPROTOCOL RULE".
Model Context Protocol (MCP) Server Development Rules and Guidelines
Overview
This document provides comprehensive rules, guidelines, and best practices for developing Model Context Protocol (MCP) servers, based on the official MCP specification and the Apache Airflow MCP server implementation.
Core MCP Concepts
1. MCP Server Capabilities
MCP servers can provide three main types of capabilities:
- Resources: File-like data that can be read by clients (like API responses or file contents)
- Tools: Functions that can be called by the LLM (with user approval)
- Prompts: Pre-written templates that help users accomplish specific tasks
2. Architecture Principles
- Stateless Design: Servers should be stateless and handle each request independently
- Standard Transport: Use stdio or SSE transport protocols as defined in the MCP specification
- Type Safety: Leverage Python type hints for automatic tool definition generation
- Async First: Use asynchronous programming patterns for better performance
Development Guidelines
1. Project Structure
Follow this recommended project structure:
project-root/
├── src/
│ ├── __init__.py
│ ├── __main__.py
│ ├── main.py # CLI entry point
│ ├── server.py # FastMCP server instance
│ ├── enums.py # Project enums
│ ├── envs.py # Environment configuration
│ └── [domain]/ # Domain-specific modules
│ ├── __init__.py
│ ├── client.py # External API client setup
│ └── [feature].py # Feature-specific tool implementations
├── pyproject.toml
├── README.md
├── Makefile
└── @modelcontextprotocol.mdc # This file
2. Tool Implementation Standards
Tool Function Signature
All tool functions must follow this pattern:
from typing import Any, List, Optional, Union
import mcp.types as types
async def tool_name(
required_param: str,
optional_param: Optional[str] = None
) -> List[Union[types.TextContent, types.ImageContent, types.EmbeddedResource]]:
"""
Brief description of what the tool does.
Args:
required_param: Description of required parameter
optional_param: Description of optional parameter
Returns:
List of MCP content types
"""
# Implementation here
return [types.TextContent(type="text", text=str(result))]
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.
- 2d ago First seen · 445 lines · 2,509 tokens per session scan A 543f528d9381
modelcontextprotocol is a cursor rule published in the GitHub repository yangkyeongmo/mcp-server-openmetadata (24 stars, last pushed 1y ago), licensed MIT. It adds 2,509 tokens to every session, about $0.0125 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). It is 94% identical to modelcontextprotocol, differing in 6 lines, and is treated as a copy.
Other cursor rules, from other repositories
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.
typescript
Changes to these high-fan-out internals can affect every message, delta, element, or rerun. Keep work in them minimal, and benchmark changes with representative stress-test apps.
coolify-ai-docs
Master reference to all Coolify AI documentation in .ai/ directory.
python_lib
Tips and guidelines specific to the development of the Streamlit Python library, not applicable to scripts and e2e tests.
specs
This directory contains product and tech specs for Streamlit features.