https://github.com/reddy-sh/mcp-hub
MCP Hub is a comprehensive framework for building, managing, and deploying Model Context Protocol (MCP) clients and servers. It provides tools and configurations to enable seamless integration and execution of end-to-end MCP workflows.
https://github.com/reddy-sh/mcp-hub
llm llmapps mcp mcp-client mcp-server modelcontextprotocol python
Last synced: 7 months ago
JSON representation
MCP Hub is a comprehensive framework for building, managing, and deploying Model Context Protocol (MCP) clients and servers. It provides tools and configurations to enable seamless integration and execution of end-to-end MCP workflows.
- Host: GitHub
- URL: https://github.com/reddy-sh/mcp-hub
- Owner: reddy-sh
- License: apache-2.0
- Created: 2025-04-06T22:59:05.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2025-04-10T04:03:50.000Z (7 months ago)
- Last Synced: 2025-04-13T08:12:14.161Z (7 months ago)
- Topics: llm, llmapps, mcp, mcp-client, mcp-server, modelcontextprotocol, python
- Language: Python
- Homepage: https://reddy.sh
- Size: 335 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-mcp-servers - **mcp-hub** - MCP Hub is a comprehensive framework for building, managing, and deploying Model Context Protocol (MCP) clients and servers. It provides tools and configurations to enable seamless integration and execution of end-to-end MCP workflows. `python` `llm` `llmapps` `mcp` `mcp-client` `pip install git+https://github.com/reddy-sh/mcp-hub` (AI/ML)
- awesome-mcp-servers - **mcp-hub** - MCP Hub is a comprehensive framework for building, managing, and deploying Model Context Protocol (MCP) clients and servers. It provides tools and configurations to enable seamless integration and execution of end-to-end MCP workflows. `python` `llm` `llmapps` `mcp` `mcp-client` `pip install git+https://github.com/reddy-sh/mcp-hub` (🤖 AI/ML)
README
# 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:
```bash
uv init
```
- Sync Python version and dependencies:
```bash
uv sync
```
For more details, visit the [UV GitHub repository](https://github.com/astral-sh/uv).
## Motivation
To understand the basics of MCP and get started with creating MCP servers, refer to the [MCP Quickstart Server Guide](https://modelcontextprotocol.io/quickstart/server).
## Getting Started
### How to Create a Sample MCP Server
1. **Create a New Project Directory**
```bash
uv init XYZ
cd XYZ
```
2. **Set Up a Virtual Environment**
```bash
uv venv
source .venv/bin/activate
```
3. **Install Dependencies**
```bash
uv add "mcp[cli]" httpx
```
4. **Create the Server File**
```bash
touch XYZ.py
```
### How to Run the MCP Server
To run the server, use the following command:
```bash
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": ""
}
}