Prerequisites
- Cursor editor installed
- Access to your documentation repository
- Your documentation site deployed (for MCP integration)
Why use Cursor with mint-tsdocs?
Connecting Cursor to your documentation helps you:- Quick reference: Access your 400+ generated API pages directly in the editor
- Consistent writing: Get suggestions based on your existing documentation patterns
- Smart linking: Auto-complete references to API classes, interfaces, and types
- Template editing: Get context-aware help when customizing Liquid templates
Connect to your documentation (MCP)
Mintlify automatically generates an MCP server at
https://your-docs-url/mcp that Cursor can use to search your documentation. This is the easiest way to give Cursor access to your entire API reference.Option 1: One-click setup (Recommended)
If you’ve enabled the contextual menu in your docs:- Visit any page in your deployed documentation
- Click the AI menu (usually in the top-right)
- Select “Install MCP in Cursor”
- Follow the prompts to complete installation
Option 2: Manual setup
Add your MCP server to Cursor’s settings. Create or edit your MCP config file: On macOS/Linux:~/.cursor/mcp.json
On Windows: %APPDATA%\Cursor\mcp.json
your-docs-url with your actual documentation URL.
Verify the connection
Open Cursor and ask in the chat:Project rules
Create project rules that all team members can use. In your documentation repository root:.cursor/rules.md:
Using your generated API reference
Once you’ve generated your API documentation withmint-tsdocs generate, Cursor can help you navigate and use your hundreds of reference pages:

