# Check what's using port 3000lsof -i :3000# Use a different portdocker run -p 8080:3000 samanhappy/mcphub
Container won’t start:
Copy
# Check container logsdocker logs mcphub# Run interactively for debuggingdocker run -it --rm samanhappy/mcphub /bin/bash
npm Installation Issues
Permission errors:
Copy
# Use npx instead of global installnpx @samanhappy/mcphub# Or fix npm permissionsnpm config set prefix ~/.npm-globalexport PATH=~/.npm-global/bin:$PATH
Node version issues:
Copy
# Check Node versionnode --version# Install Node 18+ using nvmnvm install 18nvm use 18
Network Issues
Can’t access dashboard:
Check if MCPHub is running: ps aux | grep mcphub
Verify port binding: netstat -tlnp | grep 3000
Check firewall settings
Try accessing via 127.0.0.1:3000 instead of localhost:3000
AI clients can’t connect:
Ensure the endpoint URL is correct
Check if MCPHub is behind a proxy
Verify network policies in Kubernetes/Docker environments
Smart Routing Issues
Database connection failed:
Copy
# Test database connectionpsql $DATABASE_URL -c "SELECT 1;"# Check if pgvector is installedpsql $DATABASE_URL -c "CREATE EXTENSION IF NOT EXISTS vector;"