Author avatar

mcp-hub

by reddy-sh

Tags

#llm #mcp #mcp-server #python #llmapps #mcp-client #modelcontextprotocol
4.8 (120)

MCP Hub Documentation

Overview

MCP Hub is a framework for creating and managing Model Context Protocol (MCP) servers and clients. It leverages the uv tool for fast package installation and configuration management.

Why Use UV?

UV simplifies package management and configuration with blazing-fast commands. Learn a few commands to get started, and you're good to go:

  • Initialize a project:
    uv init
    
  • Sync Python version and dependencies:
    uv sync
    

For more details, visit the UV GitHub repository.

Motivation

To understand the basics of MCP and get started with creating MCP servers, refer to the MCP Quickstart Server Guide.

Getting Started

How to Create a Sample MCP Server

  1. Create a New Project Directory

    uv init XYZ
    cd XYZ
    
  2. Set Up a Virtual Environment

    uv venv
    source .venv/bin/activate
    
  3. Install Dependencies

    uv add "mcp[cli]" httpx
    
  4. Create the Server File

    touch XYZ.py
    

How to Run the MCP Server

To run the server, use the following command:

uv run XYZ.py

Example: Creating a New XYZ Server

Follow the steps outlined above to create and run a new XYZ server. Replace XYZ with your desired project name.

"github": { "command": "docker", "args": [ "run", "-i", "--rm", "-e", "GITHUB_PERSONAL_ACCESS_TOKEN", "ghcr.io/github/github-mcp-server" ], "env": { "GITHUB_PERSONAL_ACCESS_TOKEN": "<YOUR API KEY>" } }

Related Services

playwright-mcp

Server

4.8 (120)
View Details →

blender-mcp

Server

4.8 (120)
View Details →

tavily-mcp

Server

4.8 (120)
View Details →