Skip to main content

Prerequisites

Before installing MCPHub, ensure you have the following prerequisites:
  • Node.js 18+ (for local development)
  • Docker (recommended for production)
  • pnpm (for local development)
Optional for Smart Routing:
  • PostgreSQL with pgvector extension
  • LLM Provider (OpenAI or compatible) API Key

Installation Methods

Smart Routing Setup (Optional)

Smart Routing provides AI-powered tool discovery using vector semantic search.

Prerequisites

  1. PostgreSQL with pgvector
  2. LLM Provider (OpenAI or compatible) API Key

Database Setup

Verification

After installation, verify MCPHub is working:

Dashboard Access

Open your browser and navigate to:
Log in with username admin. On first launch, if no ADMIN_PASSWORD environment variable is set, a random password is generated and printed to the server logs.

Troubleshooting

Port already in use:
Container won’t start:
Permission errors:
Node version 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
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