Cursor Integration
📚 Navigation: ← Back to Agent Context Kit | Claude Integration → | Copilot Studio Integration →
Connect Cursor to DataHub so the AI agent can search your data catalog, inspect schemas, and trace lineage — all without leaving the editor.
Prerequisites
- Cursor v1.1+
- A DataHub instance (Cloud v0.3.12+ or self-hosted) and a personal access token
DataHub Cloud
Navigate to Cursor → Settings → Cursor Settings → MCP, add a new server, and paste:
{
"mcpServers": {
"datahub-cloud": {
"url": "https://<tenant>.acryl.io/integrations/ai/mcp/",
"headers": {
"Authorization": "Bearer <token>"
}
}
}
}
Replace <tenant> with your DataHub Cloud tenant name and <token> with your personal access token.
If your MCP config is checked into version control, reference an environment variable instead of a literal token:
"Authorization": "Bearer ${DATAHUB_TOKEN}"
Self-Hosted DataHub
Install uv (curl -LsSf https://astral.sh/uv/install.sh | sh), then add a new MCP server in Cursor settings with:
{
"mcpServers": {
"datahub": {
"command": "uvx",
"args": ["mcp-server-datahub@latest"],
"env": {
"DATAHUB_GMS_URL": "<your-datahub-url>",
"DATAHUB_GMS_TOKEN": "<your-datahub-token>"
}
}
}
}
Verify
After saving, the MCP settings page should show a green dot and list the DataHub tools. If the dot doesn't appear, check that:
- The JSON is valid (no trailing commas).
- For self-hosted:
uvxis on Cursor's PATH — runwhich uvxand use the full path incommandif needed.
For general troubleshooting, see the MCP server guide.