Skip to main content
Glama

MCP Hub

by arberrexhepi

mcpburst

Host an express app of streamablehttp and stdio MCP servers that you can use from your own website. (comes with a mini chat dialog to check responses)

Table of Contents

Features

  • Streamable HTTP MCP transport server built on Model Context Protocol SDK
  • Demo stdio MCP transport server
  • Built-in demo tool (echo) for testing
  • Express façade handling JSON-RPC at /mcp and health checks at /health
  • Mini front-end chat UI to test MCP responses

Prerequisites

  • Node.js v16 or higher
  • npm (included with Node.js)

Installation

  1. Clone the repository:
    git clone https://github.com/arberrexhepi/mcpburst.git cd mcpburst
  2. Install root dependencies in root:
    npm install
  3. Install hub and server dependencies:
    cd hub && npm install && cd ..

Configuration

Create environment variable files in both hub/ and server/ directories:

hub/.env

PORT=4000 HOST=localhost MCP_REQUIRE_AUTH=false # set to 'true' to require Bearer auth NOTE: Work in Progress GITHUB_API_KEY= # optional: GitHub Token for tool examples

server/.env

PORT=3500 CLIENT_ORIGIN=http://localhost:3000 MCP_ENDPOINT=http://localhost:4000/mcp OPENAI_API_KEY=YOUR_OPENAI_API_KEY

Usage

  1. Build and start the MCP hub server:
    npm run start:hub
  2. Start the front-end proxy server:
    npm run start:server
  3. Open your browser at http://localhost:3000 to access the chat UI.
  4. The hub JSON-RPC endpoint is available at http://localhost:4000/mcp.

Directory Structure

├── LICENSE ├── package.json # root package config and scripts ├── README.md ├── hub/ # MCP hub server │ ├── package.json │ ├── tsconfig.json │ ├── src/ (TypeScript sources output to dist/) │ ├── installToolsFeature.ts │ ├── bridgeBuilder.ts │ ├── bridgeHttp.ts │ ├── bridgeStdio.ts │ └── hub.ts ├── server/ # proxy and front-end assets │ ├── index.js │ ├── extractContent.js │ └── public/ │ ├── index.html │ ├── css/ │ │ └── styles.css │ └── js/ │ └── chat.js └── hub/bridges/ # sample tool definitions └── hub.yaml

Scripts

All scripts are defined in the root package.json:

  • npm run build : Compile TypeScript in hub and copy bridge files
  • npm run copy:bridges: Copy bridge YAML definitions to hub/dist
  • npm run start:hub : Build then run the MCP hub server
  • npm run start:server: Run the Express static server with chat UI

License

  • This project is licensed under the Apache License 2.0. See the LICENSE file for details.
-
security - not tested
A
license - permissive license
-
quality - not tested

hybrid server

The server is able to function both locally and remotely, depending on the configuration or use case.

An Express server implementation of Model Context Protocol that allows websites to connect to LLMs through streamable HTTP and stdio transports, with a built-in chat UI for testing responses.

  1. Table of Contents
    1. Features
      1. Prerequisites
        1. Installation
          1. Configuration
            1. hub/.env
            2. server/.env
          2. Usage
            1. Directory Structure
              1. Scripts
                1. License

                  Related MCP Servers

                  • -
                    security
                    A
                    license
                    -
                    quality
                    A Model Context Protocol server that allows LLMs to interact with web content through standardized tools, currently supporting web scraping functionality.
                    Last updated -
                    Python
                    MIT License
                    • Linux
                    • Apple
                  • -
                    security
                    A
                    license
                    -
                    quality
                    A Model Context Protocol Server that enables LLMs to interact with and execute REST API calls through natural language prompts, supporting GET/PUT/POST/PATCH operations on configured APIs.
                    Last updated -
                    5
                    Python
                    Apache 2.0
                  • -
                    security
                    F
                    license
                    -
                    quality
                    A Model Context Protocol server that enables LLMs to fetch and process web content in multiple formats (HTML, JSON, Markdown, text) with automatic format detection.
                    Last updated -
                    TypeScript
                    • Apple
                  • -
                    security
                    A
                    license
                    -
                    quality
                    A Model Context Protocol server that enables LLMs to interact with databases (currently MongoDB) through natural language, supporting operations like querying, inserting, deleting documents, and running aggregation pipelines.
                    Last updated -
                    TypeScript
                    MIT License
                    • Apple

                  View all related MCP servers

                  MCP directory API

                  We provide all the information about MCP servers via our MCP API.

                  curl -X GET 'https://glama.ai/api/mcp/v1/servers/arberrexhepi/mcp-hub'

                  If you have feedback or need assistance with the MCP directory API, please join our Discord server