mcp-hub-mcp

mcp-hub-mcp
Certified

4.2

MCP-Hub-MCP Server is a hub server that connects to and manages other MCP (Model Context Protocol) servers.

The MCP-Hub-MCP Server is designed to connect to multiple MCP servers, list their tools, and execute them. It is particularly useful for overcoming the 40-tool limit imposed by Cursor and helps in reducing AI errors by concealing less frequently used tools. The server automatically connects to other MCP servers through a configuration file, lists available tools, and can call tools on connected servers to return results.

Features

  • Automatic connection to other MCP servers via configuration file
  • List available tools on connected servers
  • Call tools on connected servers and return results

MCP Tools

  • list-all-tools: Returns a list of tools from all connected servers.
  • call-tool: Calls a tool on a specific server.

Usage with Different Platforms

npx


{
  "mcpServers": {
    "other-tools": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-hub-mcp",
        "--config-path",
        "/Users/username/mcp.json"
      ]
    }
  }
}

npm

bash
# Clone repository
git clone <repository-url>
cd mcp-hub-mcp

# Install dependencies
npm install

# Build
npm run build

# Run
npm start

# Development Mode
npm run dev

yarn

bash
# Clone repository
git clone <repository-url>
cd mcp-hub-mcp

# Install dependencies
yarn install

# Build
yarn build

# Run
yarn start

# Development Mode
yarn dev

pnpm

bash
# Clone repository
git clone <repository-url>
cd mcp-hub-mcp

# Install dependencies
pnpm install

# Build
pnpm build

# Run
pnpm start

# Development Mode
pnpm dev