Configure HoloViz MCP for Cursor¶
This guide shows you how to configure HoloViz MCP with Cursor IDE.
Prerequisites¶
- Cursor IDE installed (Download)
- HoloViz MCP installed (Installation guide)
Quick Install¶
Click the button below to open Cursor's MCP settings directly:
Then follow the Manual Configuration steps below.
Manual Configuration¶
- Open Cursor Settings
- Navigate to
Features→Model Context Protocol - Click
Add Server - Enter the configuration:
- Save the configuration
- Restart Cursor
Test Your Configuration¶
Test the configuration with Cursor's AI:
- Simple Query - Open Cursor's AI chat and ask:
- Detailed Query - Ask for specific information:
- Code Generation - Ask Cursor AI to generate code:
If Cursor's AI provides detailed, accurate responses with specific Panel component information, your configuration is working! 🎉
Advanced Configuration¶
Set Log Level¶
For debugging, increase the log level in your Cursor MCP settings:
Custom Configuration Directory¶
Use a custom directory for configuration and data:
{
"name": "holoviz",
"command": "holoviz-mcp",
"env": {
"HOLOVIZ_MCP_USER_DIR": "/path/to/custom/dir"
}
}
Troubleshooting¶
Server Not Showing in Cursor¶
Verify JSON syntax - ensure there are no trailing commas or syntax errors.
Restart Cursor after adding the configuration.
Check MCP settings - navigate to Features → Model Context Protocol to verify the server is listed.
Server Not Starting¶
Check that holoviz-mcp is installed:
Test the server directly:
Press Ctrl+C to stop it.
Cursor AI Not Recognizing Components¶
- Verify documentation index exists:
- Recreate the index:
- Restart Cursor
Configuration Not Saving¶
Check Cursor version - ensure you have the latest version that supports MCP.
Manually edit configuration - if the UI isn't working, you may need to manually edit Cursor's configuration file.
Working with Cursor¶
Cursor provides several ways to interact with AI:
- Cmd/Ctrl + K: Open inline AI editor to modify code
- Cmd/Ctrl + L: Open AI chat panel
- @-mentions: Reference files and code in your prompts
- Tab to accept: AI suggestions appear inline as you type
When asking about Panel or HoloViz, Cursor will use the HoloViz MCP server to provide accurate, up-to-date information!
Next Steps¶
- Getting Started Tutorial: Complete walkthrough for Cursor
- Configuration Options: Customize HoloViz MCP behavior
- Troubleshooting Guide: Fix common issues