IDE Configuration¶
This guide covers configuring HoloViz MCP with different IDEs and AI assistants.
VS Code + GitHub Copilot¶
Quick Install¶
Click to install automatically:
Manual Configuration¶
- Open VS Code
- Press
Ctrl+Shift+P(orCmd+Shift+Pon macOS) - Type "MCP: Edit Settings" and press Enter
- Add this configuration to your
mcp.json:
{
"servers": {
"holoviz": {
"type": "stdio",
"command": "uvx",
"args": ["holoviz-mcp"]
}
},
"inputs": []
}
- Save and restart VS Code
Configuration File Locations¶
- User Settings:
~/.config/Code/User/globalStorage/github.copilot/mcp.json - Workspace Settings:
.vscode/mcp.json(in your project) - Remote Settings: In remote workspace
.vscode/mcp.json
Tip: For remote development (SSH, Dev Containers, Codespaces), use Workspace or Remote settings to ensure the MCP server runs on the remote machine.
Monitor Server Status¶
- Open Output panel:
View→Output - Select "MCP: holoviz" from the dropdown
- View server logs and status messages
Claude Desktop¶
Manual Configuration¶
- Locate your Claude Desktop configuration file:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json -
Linux:
~/.config/Claude/claude_desktop_config.json -
Add this configuration:
- Save the file and restart Claude Desktop
Verify Connection¶
After restarting Claude Desktop, look for the MCP indicator (🔌) in the interface. It should show "holoviz" as a connected server.
Cursor¶
Quick Install¶
Manual Configuration¶
- Open Cursor Settings
- Navigate to
Features→Model Context Protocol - Click
Add Server - Enter the configuration:
- Save and restart Cursor
Windsurf¶
Add to your Windsurf MCP configuration:
Other MCP Clients¶
For other MCP-compatible clients, use the standard configuration:
Environment Variables¶
You can customize server behavior using environment variables:
Set Log Level¶
{
"servers": {
"holoviz": {
"type": "stdio",
"command": "uvx",
"args": ["holoviz-mcp"],
"env": {
"HOLOVIZ_MCP_LOG_LEVEL": "DEBUG"
}
}
}
}
Custom Configuration Directory¶
Use a custom directory for configuration and data:
{
"servers": {
"holoviz": {
"type": "stdio",
"command": "uvx",
"args": ["holoviz-mcp"],
"env": {
"HOLOVIZ_MCP_USER_DIR": "/path/to/custom/dir"
}
}
}
}
Testing Your Configuration¶
After configuration, test with your AI assistant:
-
Simple Query:
-
Detailed Query:
-
Code Generation:
If you get detailed, accurate responses, your configuration is working! 🎉
Troubleshooting¶
Server Not Starting¶
Check the command:
Verify uv installation:
Check Python version:
AI Assistant Not Recognizing Components¶
-
Verify documentation index exists:
-
Recreate the index:
-
Restart your IDE
Configuration File Not Found¶
VS Code: Use Command Palette → "MCP: Edit Settings" to create the file
Claude Desktop: Create the file manually at the correct location
Permission Errors¶
Linux/macOS: Ensure the configuration file is readable:
Next Steps¶
- Configuration Guide: Customize HoloViz MCP behavior
- Docker Guide: Run in a container
- Troubleshooting: Fix common issues