# .mdc files show blank description and globs in MDC Editor

**URL:** <https://forum.cursor.com/t/mdc-files-show-blank-description-and-globs-in-mdc-editor/50680>\
**Category:** Help\
**Created:** [February 13, 2025, 1:36pm UTC](https://forum.cursor.com/t/mdc-files-show-blank-description-and-globs-in-mdc-editor/50680 "2025-02-13T13:36:07Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![sanjeed5](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/sanjeed5/32/9610_2.png) [@sanjeed5](https://forum.cursor.com/u/sanjeed5)\
**Post date:** [February 13, 2025, 1:36pm UTC](https://forum.cursor.com/t/mdc-files-show-blank-description-and-globs-in-mdc-editor/50680/1 "2025-02-13T13:36:07Z")

</div>

My .mdc file is as below:

* * *

name: Python Data Analysis Scripts  
version: “1.0”  
globs:

- “\*.py”  
triggers:
- file\_change

* * *

rule\_definition:  
description: “Provides guidelines for data analysis and visualization using pandas, matplotlib, seaborn, and numpy in Python scripts.”  
content: |  
You are an expert in data analysis, visualization, and Jupyter Notebook development, with a focus on Python libraries such as pandas, matplotlib, seaborn, and numpy.

and so on

Here is how it comes up in the MDC editor:

 ![Screenshot 2025-02-13 at 7.04.37 PM](https://us1.discourse-cdn.com/cursor1/original/3X/b/5/b587cb2066455494ffd59a0f82e9e4e6d7087ef0.png)

Is it a bug or am I doing something wrong?

---

<div class="post-metadata">

**Author:** ![deanrie](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/deanrie/32/1263_2.png) [@deanrie](https://forum.cursor.com/u/deanrie)\
**Post date:** [February 13, 2025, 2:24pm UTC](https://forum.cursor.com/t/mdc-files-show-blank-description-and-globs-in-mdc-editor/50680/2 "2025-02-13T14:24:02Z")

</div>

Hey, I don’t quite understand what your issue is. Did you create this file? Can you fill in the Description and Globs in the fields at the top?

---

<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, 3:14pm UTC](https://forum.cursor.com/t/mdc-files-show-blank-description-and-globs-in-mdc-editor/50680/3 "2025-02-13T15:14:19Z")

</div>

I have found that this happens when I try to use composer to update or create rules. If I close out cursor it will ask me if I want to overrwrite when I accept sometimes I can then see the changes right away other times I have to close it fully.

---

<div class="post-metadata">

**Author:** ![sanjeed5](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/sanjeed5/32/9610_2.png) [@sanjeed5](https://forum.cursor.com/u/sanjeed5)\
**Post date:** [February 14, 2025, 8:26am UTC](https://forum.cursor.com/t/mdc-files-show-blank-description-and-globs-in-mdc-editor/50680/4 "2025-02-14T08:26:03Z")

</div>

i had already created the file manually, file’s content is given in the above post.  
the MDC editor doesn’t pickup globs which are already in the file

---

<div class="post-metadata">

**Author:** ![condor](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/condor/32/73148_2.png) [@condor](https://forum.cursor.com/u/condor)\
**Post date:** [February 14, 2025, 7:42pm UTC](https://forum.cursor.com/t/mdc-files-show-blank-description-and-globs-in-mdc-editor/50680/6 "2025-02-14T19:42:57Z")

</div>

the file you have shown at begin has no description in the header (before globs). Thats why it shows no description in MDC editor. As with any code editing it may need rules for what the requirements for Cursors MDC are…

Sample header (not complete, just edit one MDC file manually in MDC editor and then see the structure in text editor\_

```mdc
---
name: My Awesome Document
description: An example of MDC file
glob:
---

rest of content

```

---

<div class="post-metadata">

**Author:** ![sanjeed5](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/sanjeed5/32/9610_2.png) [@sanjeed5](https://forum.cursor.com/u/sanjeed5)\
**Post date:** [February 17, 2025, 3:08pm UTC](https://forum.cursor.com/t/mdc-files-show-blank-description-and-globs-in-mdc-editor/50680/7 "2025-02-17T15:08:55Z")

</div>

thank you all, got my mistake.

fixed it and did what I was trying to do:

> [@Created a collection of 879 .mdc Cursor Rules files for you all](https://forum.cursor.com/t/created-a-collection-of-879-mdc-cursor-rules-files-for-you-all/51634):
>
> I’m sure most of you know about awesome-cursorrules I used @ericzakariasson 's cursor-workshop template and created a script to convert .cursorrules files into .mdc files using LLMs according to instructions given in the [docs](https://docs.cursor.com/context/rules-for-ai). Here’s the link: [awesome-cursor-rules-mdc/awesome-cursor-rules-mdc at main · sanjeed5/awesome-cursor-rules-mdc · GitHub](https://github.com/sanjeed5/awesome-cursor-rules-mdc/tree/main/awesome-cursor-rules-mdc) The script and prompts are open source in the same repo. I’ll also raise a PR in the original awesome-cursorrules repo because it’s all thanks to tha…
