npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

mcp-hub-server

v1.0.0

Published

MCP hub/aggregator server — expose multiple MCP servers through a single endpoint

Downloads

105

Readme

mcp-hub-server

MCP hub/aggregator server. Takes a config file listing multiple MCP servers and exposes them all through a single MCP server endpoint.

This solves the problem of managing many MCP servers in Claude Desktop, Cursor, or any other MCP client — instead of configuring 10 servers individually, point the client at a single hub.

How it works

  1. Reads a config file listing MCP servers (command + args + env)
  2. Spawns each server as a child process (stdio transport)
  3. Performs MCP initialize handshake with each child
  4. Collects all tools and resources from all servers
  5. Prefixes tool names with the server name (e.g., filesystem_read_file, github_create_issue)
  6. Exposes everything through stdout as a single MCP server
  7. Routes incoming tool calls to the correct child server based on the prefix

Install

npm install -g mcp-hub-server

Or run directly:

npx mcp-hub-server --config mcp-hub.yaml --verbose

Config

Create mcp-hub.yaml (or .json):

servers:
  - name: filesystem
    command: npx
    args: ["@anthropic/mcp-server-filesystem", "/home/user"]

  - name: github
    command: npx
    args: ["@anthropic/mcp-server-github"]
    env:
      GITHUB_TOKEN: "your-token"

  - name: custom
    command: node
    args: ["./my-server.js"]

Each server entry:

| Field | Required | Description | |-----------|----------|------------------------------------| | name | yes | Unique name, used as tool prefix | | command | yes | Executable to spawn | | args | no | Command-line arguments | | env | no | Extra environment variables |

Usage

mcp-hub-server [options]

Options:
  -c, --config <path>   Config file path (default: "mcp-hub.yaml")
  -p, --port <number>   SSE port (optional, for SSE mode)
  -v, --verbose         Verbose logging
  -V, --version         Output version number
  -h, --help            Display help

Claude Desktop config

{
  "mcpServers": {
    "hub": {
      "command": "npx",
      "args": ["mcp-hub-server", "--config", "/path/to/mcp-hub.yaml"]
    }
  }
}

This single entry replaces all individual server entries.

Tool naming

Tools are prefixed with the server name and an underscore:

  • Server filesystem tool read_file becomes filesystem_read_file
  • Server github tool create_issue becomes github_create_issue

The hub automatically routes calls back to the correct server.

License

MIT