MCP-Hub MCP

by warpdev

339 downloads
Not rated
GitHub

About

A hub server that connects to and manages other MCP (Model Context Protocol) servers.

Details

Author
warpdev
Downloads
339
Categories
Productivity, Automation, API, Other

- Automatic connection to other MCP servers via configuration file
- Lists all available tools from connected servers
- Calls tools on connected servers and returns results
- Bypasses Cursor’s 40-tool MCP limit
- Reduces AI mistakes by hiding infrequently used tools

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name MCP-Hub MCP
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

Install via npx with the mcp-hub-mcp package and specify a config path. Configure the hub by providing a JSON configuration file (Claude Desktop format) via environment variable (MCP_CONFIG_PATH), CLI argument (--config-path), or a default mcp-config.json. Once connected, use the tools list-all-tools and call-tool to interact with all managed servers.

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

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

McpServers

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

A hub server that connects to and manages other MCP (Model Context Protocol) servers.

This project builds an MCP hub server that connects to and manages multiple MCP (Model Context Protocol) servers through a single interface. It helps prevent excessive context usage and pollution from infrequently used MCPs (e.g., Atlassian MCP, Playwright MCP) by allowing you to connect them only when needed. This reduces AI mistakes and improves performance by keeping the active tool set focused and manageable.

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

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

- Node.js 18.0.0 or higher
- npm, yarn, or pnpm

# Clone repository git clone <repository-url> cd mcp-hub-mcp # Install dependencies npm install # or yarn install # or pnpm install
npm run build # or yarn build # or pnpm build
npm start # or yarn start # or pnpm start

The MCP-Hub-MCP server uses a Claude Desktop format configuration file to automatically connect to other MCP servers. You can specify the configuration file in the following ways:
- Environment variable: Set theMCP_CONFIG_PATHenvironment variable to the configuration file path
- Command line argument: Use the--config-pathoption to specify the configuration file path
- Default path: Usemcp-config.jsonfile in the current directory

{ "mcpServers": { "serverName1": { "command": "command", "args": ["arg1", "arg2", ...], "env": { "ENV_VAR1": "value1", ... } }, "serverName2": { "command": "anotherCommand", "args": ["arg1", "arg2", ...] } } }
{ "mcpServers": { "filesystem": { "command": "npx", "args": [ "-y", "@modelcontextprotocol/server-filesystem", "/Users/username/Desktop", "/Users/username/Downloads" ] }, "other-server": { "command": "node", "args": ["path/to/other-mcp-server.js"] } } }

The MCP-Hub-MCP server provides the following tools:

Returns a list of tools from all connected servers.

{ "name": "list-all-tools", "arguments": {} }

- serverName: Name of the MCP server to call the tool from
- toolName: Name of the tool to call
- toolArgs: Arguments to pass to the tool

{ "name": "call-tool", "arguments": { "serverName": "filesystem", "toolName": "readFile", "toolArgs": { "path": "/Users/username/Desktop/example.txt" } } }

Find tools matching a regex pattern across all connected servers (grep-like functionality).

- pattern: Regex pattern to search for in tool names and descriptions
- searchIn: Where to search: "name", "description", or "both" (default: "both")
- caseSensitive: Whether the search should be case-sensitive (default: false)

{ "name": "find-tools", "arguments": { "pattern": "file", "searchIn": "both", "caseSensitive": false } }

- "file"- Find all tools containing "file"
- "^read"- Find all tools starting with "read"
- "(read|write).*file"- Find tools for reading or writing files
- "config$"- Find tools ending with "config"

{ "filesystem": [ { "name": "readFile", "description": "Read the contents of a file", "inputSchema": { "type": "object", "properties": { "path": { "type": "string", "description": "Path to the file to read" } }, "required": ["path"] } }, { "name": "writeFile", "description": "Write content to a file", "inputSchema": { "type": "object", "properties": { "path": { "type": "string", "description": "Path to the file to write" }, "content": { "type": "string", "description": "Content to write to the file" } }, "required": ["path", "content"] } } ] }

This project followsConventional Commitsfor automatic versioning and CHANGELOG generation.

Format:<type>(<scope>): <description>

- feat: add new hub connection feature
- fix: resolve issue with server timeout
- docs: update API documentation
- chore: update dependencies

- feat: New feature (MINOR version bump)
- fix: Bug fix (PATCH version bump)
- docs: Documentation only changes
- style: Changes that do not affect the meaning of the code
- refactor: Code change that neither fixes a bug nor adds a feature
- perf: Code change that improves performance
- test: Adding missing tests or correcting existing tests
- chore: Changes to the build process or auxiliary tools

Breaking Changes: AddBREAKING CHANGE:in the commit footer to trigger a MAJOR version bump.

Magica is your all-in-one AI platform, offering 2500+ cutting-edge tools under a single subscription.

Turn your Make scenarios into callable tools for AI assistants.

Dynamically search and call tools using UnifAI Network

Connect your AI Agents to 8,000 apps instantly.

Connect AI assistants to Automatisch for workflow automation.

Unified MCP gateway that loads 150+ AI tools into Claude Desktop via a single Docker command on Windows. Routes tool calls across specialized servers (Business Intelligence, API Hub, Content Automation, Intelligence) with centralized logging and governance. Built for teams without dedicated platform engineers.

Connect AI assistants directly to the HiveFlow automation platform.

Connect your agent to 700+ apps (Gmail, Slack, Stripe, Shopify, HubSpot, Notion, Linear) through one MCP server with four tools and OAuth sign-in.

Connects AI agents to the SS&C Next Generation REST API to automate business processes.

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.