Getting Started with Cursor
Connect your Collate instance to Cursor IDE for AI-powered metadata exploration.Prerequisites
Before you begin, ensure you have:- Collate v1.8.0+ running (e.g.,
http://localhost:8585) - MCP Application installed in Collate
- Navigate to
<YOUR-Collate-SERVER>/marketplace/apps/ - Install McpApplication if not already installed
- Navigate to
- MCP Application and Personal Access Token - Follow this guide to generate your PAT
- Cursor IDE installed with MCP support
Configure Cursor MCP Server
Cursor locates the MCP configuration file at: macOS/Linux:.cursor directory if it doesn’t exist, then create the configuration file:
<YOUR-Collate-SERVER> with your server URL and <YOUR-Collate-PAT> with your Personal Access Token from the Prerequisites step.
Project-Specific Configuration: You can also create .cursor/mcp.json in your project root directory. Project-specific configuration takes precedence over global configuration.
Restart Cursor
Save the configuration file and restart Cursor completely to load the MCP server:- macOS:
Cmd+Qor Cursor → Quit Cursor - Windows/Linux: Close all Cursor windows and reopen
Try It Out
Once Cursor restarts, test your connection by asking questions in Cursor’s chat:“Imagine you’re a data analyst tasked with building a customer retention dashboard. You need tables that track customer transactions, engagement metrics, and churn indicators. Find relevant customer and transaction tables in the metadata catalog.”You should see Cursor using the Collate MCP tools to search and retrieve information from your metadata catalog.
Troubleshooting
If you encounter connection issues:- Verify Collate is running:
curl <YOUR-Collate-SERVER>/api/health - Check MCP endpoint:
curl <YOUR-Collate-SERVER>/mcp(should return 401) - Verify MCP Application is installed: Visit
<YOUR-Collate-SERVER>/marketplace/apps/McpApplication - Check configuration file syntax: Ensure JSON is valid and file path is correct
- Token expired: Generate a new PAT and update your configuration
- Restart Cursor after making configuration changes