MCP Server Hub logo

MCP Server Hub

by weetime

MCP Server Hub extends AI assistants with thousands of capabilities through Model Context Protocol (MCP) servers. It allows users to browse, discover, and implement MCP servers to enhance AI functionality.

View on GitHub

Last updated: N/A

MCP Server Hub

MCP Server Hub is a platform that extends AI assistants with thousands of capabilities through Model Context Protocol (MCP) servers. This project allows users to browse, discover, and implement MCP servers to enhance AI functionality.

Features

  • MCP Server Directory: Browse and discover thousands of MCP servers
  • Standardized Protocol: Consistent API for connecting AI models to external tools
  • Easy Integration: Simple process for developers to add functionality to AI tools
  • Open Ecosystem: Join a growing community of developers extending AI capabilities

Project Structure

  • frontend/: Vue application with Element Plus and Tailwind CSS
  • backend/: NestJS API server
  • architecture.md: Architecture overview and design decisions

Prerequisites

  • Node.js >= 16
  • pnpm >= 7
  • PostgreSQL (local or remote)

Getting Started

Installation

# Install pnpm globally if not already installed
npm install -g pnpm

# Install all dependencies
pnpm install:all

Development

# Start both frontend and backend servers
pnpm dev

# Start only the frontend
pnpm dev:frontend

# Start only the backend
pnpm dev:backend

Building for Production

# Build both frontend and backend
pnpm build

# Build only the frontend
pnpm build:frontend

# Build only the backend
pnpm build:backend

Environment Variables

Create a .env file in the root directory with the following variables:

# Backend
PORT=4000
DB_HOST=localhost
DB_PORT=5432
DB_USERNAME=postgres
DB_PASSWORD=postgres
DB_DATABASE=mcp_server_hub
JWT_SECRET=your-jwt-secret-key

# Frontend
VITE_API_URL=http://localhost:4000/api

API Documentation

Once the backend server is running, you can access the Swagger API documentation at: http://localhost:4000/api/docs

Contributing

  1. Fork the repository
  2. Create your feature branch: git checkout -b feature/amazing-feature
  3. Commit your changes: git commit -m 'Add some amazing feature'
  4. Push to the branch: git push origin feature/amazing-feature
  5. Open a Pull Request

License

This project is licensed under the MIT License - see the LICENSE file for details.