Configure HoloViz MCP for Claude Desktop¶
This guide shows you how to configure HoloViz MCP with Claude Desktop application.
Prerequisites¶
- Claude Desktop installed (Download)
- HoloViz MCP installed (Installation guide)
Locate Your Configuration File¶
Find 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 the MCP Server¶
- Open the configuration file in a text editor
- Add this configuration:
- Save the file
- Restart Claude Desktop
Existing Configuration
If your file already has other MCP servers configured, add "holoviz" to the existing mcpServers object:
Verify the Connection¶
After restarting Claude Desktop:
- Look for the MCP indicator (🔌) in the interface
- It should show "holoviz" as a connected server
If you don't see the indicator, check the troubleshooting section below.
Test Your Configuration¶
Test the configuration by asking Claude about Panel components:
- Simple Query:
- Detailed Query:
- Code Generation:
If Claude provides detailed, accurate responses with specific Panel component information, your configuration is working! 🎉
Advanced Configuration¶
Set Log Level¶
For debugging, increase the log level:
{
"mcpServers": {
"holoviz": {
"command": "holoviz-mcp",
"env": {
"HOLOVIZ_MCP_LOG_LEVEL": "DEBUG"
}
}
}
}
Custom Configuration Directory¶
Use a custom directory for configuration and data:
{
"mcpServers": {
"holoviz": {
"command": "holoviz-mcp",
"env": {
"HOLOVIZ_MCP_USER_DIR": "/path/to/custom/dir"
}
}
}
}
Troubleshooting¶
MCP Indicator Not Showing¶
Check the configuration file path - ensure you edited the correct file for your operating system.
Verify JSON syntax - ensure there are no trailing commas, missing quotes, or other syntax errors.
Restart Claude Desktop completely - quit and reopen the application.
Server Not Starting¶
Check that holoviz-mcp is installed:
Test the server directly:
Press Ctrl+C to stop it.
Claude Not Recognizing Components¶
- Verify documentation index exists:
- Recreate the index:
- Restart Claude Desktop
Configuration File Not Found¶
Create the directory if it doesn't exist:
# macOS
mkdir -p ~/Library/Application\ Support/Claude
# Linux
mkdir -p ~/.config/Claude
# Windows (PowerShell)
New-Item -Path "$env:APPDATA\Claude" -ItemType Directory -Force
Create the file with the configuration above.
Permission Errors¶
Linux/macOS: Ensure the configuration file is readable:
chmod 644 ~/Library/Application\ Support/Claude/claude_desktop_config.json # macOS
chmod 644 ~/.config/Claude/claude_desktop_config.json # Linux
Next Steps¶
- Getting Started Tutorial: Complete walkthrough for Claude Desktop
- Configuration Options: Customize HoloViz MCP behavior
- Troubleshooting Guide: Fix common issues