Troubleshooting¶
Common issues and their solutions.
Installation Issues¶
uv: command not found¶
Problem: The uv command is not recognized.
Solution: Install uv by following the uv installation guide:
# macOS and Linux
curl -LsSf https://astral.sh/uv/install.sh | sh
# Windows
powershell -c "irm https://astral.sh/uv/install.ps1 | iex"
Installation Takes Too Long¶
Problem: Installation seems stuck or takes forever.
Solution: This is normal! The first installation downloads many dependencies. Be patient: - First install: 1-2 minutes - Documentation indexing: 5-10 minutes - Subsequent operations are much faster
Python Version Error¶
Problem: Error about Python version.
Solution: HoloViz MCP requires Python 3.11 or newer. Check your version:
Install a newer Python version if needed.
Server Issues¶
Server Won't Start¶
Problem: MCP server fails to start.
Solution:
-
Test the server directly:
-
Check for error messages in the output
-
Verify Python version:
-
Reinstall HoloViz MCP:
Server Crashes¶
Problem: Server starts but crashes during use.
Solution:
-
Check logs (VS Code: Output → MCP: holoviz)
-
Try running with debug logging:
-
Report the issue on GitHub with logs
Port Already in Use (HTTP Mode)¶
Problem: Error: bind: address already in use
Solution:
Find what's using port 8000:
Use a different port:
Documentation Issues¶
AI Assistant Doesn't Recognize Components¶
Problem: AI provides generic responses, not Panel-specific information.
Solution:
-
Verify documentation index exists:
-
Create or recreate the index:
-
Wait for indexing to complete (5-10 minutes)
-
Restart your IDE
-
Test with a specific query:
Documentation Index Creation Fails¶
Problem: holoviz-mcp update fails or times out.
Solution:
-
Check internet connection
-
Try again with debug logging:
-
Clear existing data and retry:
-
Check GitHub API rate limits (wait an hour and retry)
Documentation Seems Outdated¶
Problem: AI provides outdated information.
Solution: Update the documentation index:
IDE Integration Issues¶
VS Code Not Detecting Server¶
Problem: MCP server doesn't appear in VS Code.
Solution:
- Verify configuration file location:
-
Command Palette → "MCP: Edit Settings"
-
Check configuration syntax:
-
Restart VS Code completely
-
Check Output panel: View → Output → MCP: holoviz
Claude Desktop Not Connecting¶
Problem: MCP server doesn't connect to Claude Desktop.
Solution:
- Verify configuration file location:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json -
Windows:
%APPDATA%\Claude\claude_desktop_config.json -
Check JSON syntax is valid
-
Restart Claude Desktop completely
-
Look for MCP indicator (🔌) in the interface
Remote Development Not Working¶
Problem: MCP server doesn't work in remote SSH/Dev Containers.
Solution:
-
Use Workspace or Remote
mcp.json, not User settings -
Ensure uv and Python are installed in the remote environment
-
Consider using HTTP transport:
Then start server in remote:
Docker Issues¶
Docker Container Won't Start¶
Problem: Container exits immediately.
Solution:
-
Check logs:
-
Verify port availability:
-
Try with debug logging:
Documentation Not Persisting in Docker¶
Problem: Documentation reindexes every time container restarts.
Solution: Ensure volume is mounted:
Verify:
Permission Errors in Docker¶
Problem: Permission denied when accessing mounted volumes.
Solution:
Linux: Adjust ownership:
Or run with specific user:
Performance Issues¶
Slow Responses¶
Problem: AI takes a long time to respond to queries.
Solution:
-
First query after startup is slower (initializing)
-
Subsequent queries should be fast
-
If consistently slow, check system resources
-
Consider recreating documentation index:
High Memory Usage¶
Problem: HoloViz MCP uses too much memory.
Solution:
-
This is expected with large documentation indices
-
For Docker, set memory limits:
-
Restart the server periodically if needed
Getting Help¶
Check Logs¶
VS Code: View → Output → MCP: holoviz
Command Line:
Docker:
Report an Issue¶
If you can't resolve the issue:
- Gather information:
- Python version:
python --version - HoloViz MCP version:
uvx holoviz-mcp --version - Operating system
-
Error messages and logs
-
Report on GitHub Issues
-
Include:
- Clear description of the problem
- Steps to reproduce
- Error messages and logs
- What you've tried
Community Support¶
- Discord: HoloViz Discord
- Discourse: discourse.holoviz.org
- GitHub Discussions: MarcSkovMadsen/holoviz-mcp
Next Steps¶
- Configuration: Adjust settings
- Updates: Keep software current
- Security: Understand security considerations