Price Per TokenPrice Per Token

MCPHub Server

by samanhappy

0

About

MCPHub is a unified management platform and orchestration hub for running multiple Model Context Protocol (MCP) servers. It aggregates individual MCP servers into flexible Streamable HTTP (SSE) endpoints, allowing you to access all servers, specific groups, or individual services through configurable routing strategies. Key capabilities of MCPHub include: - Centralized dashboard for monitoring and controlling multiple MCP servers from a single interface - Flexible endpoint routing that exposes all servers, server groups, or individual services via distinct HTTP/SSE URLs - AI-powered smart routing with vector semantic search for automatic tool discovery and selection - Hot-swappable configuration that enables adding, removing, or updating servers without downtime - OAuth 2.0 authentication support in both client and server modes, plus social login via GitHub and Google - Database-backed configuration with PostgreSQL support for production deployments or JSON-based file configuration - Docker-ready containerized deployment for instant setup and scaling

README

MCPHub: The Unified Hub for Model Context Protocol (MCP) Servers

English | Français | 中文版

MCPHub makes it easy to manage and scale multiple MCP (Model Context Protocol) servers by organizing them into flexible Streamable HTTP (SSE) endpoints—supporting access to all servers, individual servers, or logical server groups.

🌐 Live Demo & Docs

  • Documentation: docs.mcphubx.com
  • Demo Environment: demo.mcphubx.com
  • 🚀 Features

  • Centralized Management - Monitor and control all MCP servers from a unified dashboard
  • Flexible Routing - Access all servers, specific groups, or individual servers via HTTP/SSE
  • Smart Routing - AI-powered tool discovery using vector semantic search (Learn more)
  • Hot-Swappable Config - Add, remove, or update servers without downtime
  • OAuth 2.0 Support - Both client and server modes for secure authentication (Learn more)
  • Social Login - Seamless GitHub and Google login support with Better Auth integration (requires Database Mode)
  • Database Mode - Store configuration in PostgreSQL for production environments (Learn more)
  • Docker-Ready - Deploy instantly with containerized setup
  • 🔧 Quick Start

    Configuration

    Create a mcp_settings.json file:

    {
      "mcpServers": {
        "time": {
          "command": "npx",
          "args": ["-y", "time-mcp"]
        },
        "fetch": {
          "command": "uvx",
          "args": ["mcp-server-fetch"]
        }
      }
    }
    

    📖 See Configuration Guide for full options including OAuth, environment variables, and more.

    Docker Deployment

    # Run with custom config (recommended)
    docker run -p 3000:3000 -v ./mcp_settings.json:/app/mcp_settings.json -v ./data:/app/data samanhappy/mcphub

    Or run with default settings

    docker run -p 3000:3000 samanhappy/mcphub

    Access Dashboard

    Open http://localhost:3000 and log in with default credentials: admin / admin123

    Connect AI Clients

    Connect AI clients (Claude Desktop, Cursor, etc.) via:

    http://localhost:3000/mcp           # All servers
    http://localhost:3000/mcp/{group}   # Specific group
    http://localhost:3000/mcp/{server}  # Specific server
    http://localhost:3000/mcp/$smart    # Smart routing
    http://localhost:3000/mcp/$smart/{group}  # Smart routing within group
    

    > Security note: MCP endpoints require authentication by default to prevent accidental exposure. To allow unauthenticated MCP access, disable Enable Bearer Authentication in the Keys section. Skip Authentication only affects dashboard login. Use these only in trusted environments.

    📖 See API Reference for detailed endpoint documentation.

    📚 Documentation

    | Topic | Description | | ------------------------------------------------------------------------------ | --------------------------------- | | Quick Start | Get started in 5 minutes | | Configuration | MCP server configuration options | | Database Mode | PostgreSQL setup for production | | OAuth | OAuth 2.0 client and server setup | | Smart Routing | AI-powered tool discovery | | Docker Setup | Docker deployment guide |

    🧑‍💻 Local Development

    git clone https://github.com/samanhappy/mcphub.git
    cd mcphub
    pnpm install
    pnpm dev
    

    > For Windows users, start backend and frontend separately: pnpm backend:dev, pnpm frontend:dev

    📖 See Development Guide for detailed setup instructions.

    🔍 Tech Stack

  • Backend: Node.js, Express, TypeScript
  • Frontend: React, Vite, Tailwind CSS
  • Auth: JWT & bcrypt
  • Protocol: Model Context Protocol SDK
  • 👥 Contributing

    Contributions welcome! See our Discord community for discussions and support.

    ❤️ Sponsor

    [](https://ko-fi.com/samanhappy)

    🌟 Star History

    [](https://www.star-history.com/#samanhappy/mcphub&Date)

    📄 License

    Licensed under the Apache 2.0 License.

    Related MCP Servers

    AI Research Assistant

    AI Research Assistant

    hamid-vakilzadeh

    AI Research Assistant provides comprehensive access to millions of academic papers through the Semantic Scholar and arXiv databases. This MCP server enables AI coding assistants to perform intelligent literature searches, citation network analysis, and paper content extraction without requiring an API key. Key features include: - Advanced paper search with multi-filter support by year ranges, citation thresholds, field of study, and publication type - Title matching with confidence scoring for finding specific papers - Batch operations supporting up to 500 papers per request - Citation analysis and network exploration for understanding research relationships - Full-text PDF extraction from arXiv and Wiley open-access content (Wiley TDM token required for institutional access) - Rate limits of 100 requests per 5 minutes with options to request higher limits through Semantic Scholar

    Web & Search
    12 8
    Linkup

    Linkup

    LinkupPlatform

    Linkup is a real-time web search and content extraction service that enables AI assistants to search the web and retrieve information from trusted sources. It provides source-backed answers with citations, making it ideal for fact-checking, news gathering, and research tasks. Key features of Linkup: - Real-time web search using natural language queries to find current information, news, and data - Page fetching to extract and read content from any webpage URL - Search depth modes: Standard for direct-answer queries and Deep for complex research across multiple sources - Source-backed results with citations and context from relevant, trustworthy websites - JavaScript rendering support for accessing dynamic content on JavaScript-heavy pages

    Web & Search
    2 24
    Math-MCP

    Math-MCP

    EthanHenrickson

    Math-MCP is a computation server that enables Large Language Models (LLMs) to perform accurate numerical calculations through the Model Context Protocol. It provides precise mathematical operations via a simple API to overcome LLM limitations in arithmetic and statistical reasoning. Key features of Math-MCP: - Basic arithmetic operations: addition, subtraction, multiplication, division, modulo, and bulk summation - Statistical analysis functions: mean, median, mode, minimum, and maximum calculations - Rounding utilities: floor, ceiling, and nearest integer rounding - Trigonometric functions: sine, cosine, tangent, and their inverses with degrees and radians conversion support

    Developer Tools
    22 81