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
- LLM Provider (OpenAI or compatible) API Key
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
- LLM Provider (OpenAI or compatible) API Key
Database Setup
- Docker PostgreSQL
- Existing PostgreSQL
- Cloud PostgreSQL
Verification
After installation, verify MCPHub is working:Dashboard Access
Open your browser and navigate to:admin. On first launch, if no ADMIN_PASSWORD environment variable is set, a random password is generated and printed to the server logs.
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:3000instead 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 LLM provider API key is valid
- Check internet connectivity
- Monitor rate limits
Next Steps
Configuration
Configure your MCP servers and settings
Quick Start
Get up and running in 5 minutes
Server Management
Learn how to manage your MCP servers
API Reference
Explore the complete API documentation