# What is a .mdc file?

**URL:** <https://forum.cursor.com/t/what-is-a-mdc-file/50417>\
**Category:** Help\
**Created:** [February 12, 2025, 9:07pm UTC](https://forum.cursor.com/t/what-is-a-mdc-file/50417 "2025-02-12T21:07:42Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Meh-S-Eze](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/meh-s-eze/32/5770_2.png) [@Meh-S-Eze](https://forum.cursor.com/u/Meh-S-Eze)\
**Post date:** [February 13, 2025, 4:05am UTC](https://forum.cursor.com/t/what-is-a-mdc-file/50417/2 "2025-02-13T04:05:31Z")

</div>

This is what I found when I asked cursor about it with @web

This is similar to how other specialized Markdown variants have their own extensions. For example, from the search results we can see:

- .md or .markdown for standard Markdown files

- .mdc for Cursor’s rule files

- Other variants like RMarkdown have their own extensions too

The .mdc extension helps Cursor identify which files should be processed as rules, just like how .md helps systems identify regular Markdown files. It’s a way of telling Cursor “this is a rules file” rather than just a regular Markdown or YAML file.

[Source: [Using the "project-rules" in 0.45.2](https://forum.cursor.com/t/using-the-project-rules-in-0-45-2/44447)]

#You might find this helpful.

> [@My Best Practices for MDC rules and troubleshooting](https://forum.cursor.com/t/my-best-practices-for-mdc-rules-and-troubleshooting/50526):
>
> I’ve been exploring how Cursor’s MDC rules work by experimenting with the AI. I wanted to share what I learned by feeding different files into context and asking the AI what it saw. mdc\_rule\_system Situation: What’s the current state of MDC rules? So here’s the thing - based on what I understood from the official documentation, it seemed like you could throw any kind of file into the .cursor/rules folder and Cursor would just figure it out. But when I actually tried this and showed different…

---

_[View the full topic](https://forum.cursor.com/t/what-is-a-mdc-file/50417)._
