MDC
The file format for Cursor rules: markdown with a small metadata header on top saying when the rule should apply — always, for certain file globs, or only when the model asks for it.
Where it comes up
Cursor for Java Developers
“being called. So let's actually go back into our IDE and open up one of our rules file. So you can see that I have a Java import MDC. MDC is markdown. C stands for cursor. It's essentially saying that always apply is actually false. You don…”
Cursor 101
“cursor rules folder where we are going to use Tailwind for styling. Um in our We're going to create another rule here. Let's say in our React components please make sure to always have type definitions at the top of the file. Okay, so we'll…”
Cursor for Quality Assurance
“and so this rules folder has a set of different uh MD files. These are effectively just markdown files, but MDC is cursor's way of distinguishing a normal markdown file and making it a rule file. And really all it does is add this front mat…”