Skip to main content
Transform Cursor into a documentation expert that knows your components, style guide, and best practices.

Use Cursor with Mintlify

Cursor rules provide persistent context about your documentation, ensuring more consistent suggestions that fit your standards and style.
  • Project rules live in your documentation repository, so your whole team shares them.
  • User rules apply to your personal Cursor environment.
Create project rules for your docs so that all contributors have access to the same rules. Create rules files in the .cursor/rules directory of your docs repo. See the Cursor Rules documentation for complete setup instructions.

Example project rule

This rule provides Cursor with context to properly format Mintlify components and follow technical writing best practices. You can use this example as-is or customize it for your documentation:
  • Writing standards: Update language guidelines to match your style guide.
  • Component patterns: Add project-specific components or modify existing examples.
  • Code examples: Replace generic examples with real API calls and responses for your product.
  • Style and tone preferences: Adjust terminology, formatting, and other rules.
Add this rule with any modifications as an .mdc file in the .cursor/rules directory of your docs repo.

Enhance with MCP server

Connect the Mintlify MCP server to Cursor to give it access to search the Mintlify documentation while helping you write. When you connect the MCP server, Cursor searches the up-to-date Mintlify documentation for context so you don’t have to leave your IDE to reference documentation. See Model Context Protocol for complete setup instructions.