Cursor rules MDC clarification

I am confused about how Cursor determines to attach specific MDC cursor rule files.

In the metadata, you have:

---
description: RPC Service boilerplate
globs: 
alwaysApply: false
---

But then there’s a separate section above in the Cursor interface with a dropdown for Rule Type (Always, Auto Attached, Agent Requested, Manual), and a description section.

These two sections do not seem to stay in sync and do not seem to relate to each other. How do they relate? Which one has priority? More clarification here would be very helpful. Thanks!

1 Like