Prerequisites
Before installing MCPHub, ensure you have the following prerequisites:- Node.js 18+ (for local development)
- Docker (recommended for production)
- pnpm (for local development)
- PostgreSQL with pgvector extension
- OpenAI API Key or compatible embedding service
Installation Methods
- Docker (Recommended)
- npm Package
- Local Development
- Kubernetes
Smart Routing Setup (Optional)
Smart Routing provides AI-powered tool discovery using vector semantic search.Prerequisites
- PostgreSQL with pgvector
- OpenAI API Key (or compatible embedding service)
Database Setup
- Docker PostgreSQL
- Existing PostgreSQL
- Cloud PostgreSQL
Verification
After installation, verify MCPHub is working:Dashboard Access
Open your browser and navigate to:Troubleshooting
Docker Issues
Docker Issues
Port already in use:Container won’t start:
npm Installation Issues
npm Installation Issues
Permission errors:Node version issues:
Network Issues
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 oflocalhost:3000
- Ensure the endpoint URL is correct
- Check if MCPHub is behind a proxy
- Verify network policies in Kubernetes/Docker environments
Smart Routing Issues
Smart Routing Issues
Database connection failed:Embedding service errors:
- Verify OpenAI API key is valid
- Check internet connectivity
- Monitor rate limits