Integrations
Provides integration with Node.js for executing and managing MCP servers through the hub
Built with TypeScript, offering type-safe interfaces for connecting to and managing MCP servers
Utilizes Zod for runtime validation of configuration data and tool arguments
MCP-Hub-MCP サーバー
他の MCP (Model Context Protocol) サーバーに接続して管理するハブ サーバー。
概要
このプロジェクトは、他のMCPサーバーに接続し、ツールをリストアップして実行できるMCPハブサーバーを構築します。これは特に、Cursorの40ツールというMCP制限を回避するのに役立ちます。Cursor外でも、使用頻度の低いツールを非表示にすることでAIのミスを減らすのに役立ちます。
主な特徴
- 設定ファイルによる他のMCPサーバーへの自動接続
- 接続されたサーバー上で利用可能なツールを一覧表示する
- 接続されたサーバー上のツールを呼び出し、結果を返す
構成
mcp.json
に以下を追加します:
npxの使用
Node を使用する (例: ローカル開発または直接実行用)
npx
ローカルの変更を取得していない場合、またはビルドしたサーバーを直接実行したい場合は、次のように設定できます。
注: dist/index.js
が存在するように、プロジェクトをビルドしたことを確認してください (例: npm run build
またはpnpm build
)。
システムプロンプト(またはカーソルルール)
これにより、AI アシスタントは、ツールを使用する前に常に利用可能なツールを確認するようになります。
インストールと実行
要件
- Node.js 18.0.0以上
- npm、yarn、またはpnpm
インストール
建てる
走る
開発モード
設定ファイル
MCP-Hub-MCPサーバーは、Claude Desktop形式の設定ファイルを使用して他のMCPサーバーに自動的に接続します。設定ファイルは、以下の方法で指定できます。
- 環境変数:
MCP_CONFIG_PATH
環境変数を設定ファイルのパスに設定します - コマンドライン引数:
--config-path
オプションを使用して設定ファイルのパスを指定します - デフォルトパス: 現在のディレクトリの
mcp-config.json
ファイルを使用します
設定ファイルの形式:
例:
使用法
MCP-Hub-MCP サーバーは次のツールを提供します。
1. list-all-tools
接続されているすべてのサーバーからのツールのリストを返します。
2. call-tool
特定のサーバー上のツールを呼び出します。
serverName
: ツールを呼び出すMCPサーバーの名前toolName
: 呼び出すツールの名前toolArgs
: ツールに渡す引数
コミットメッセージの規約
このプロジェクトは、自動バージョン管理と CHANGELOG 生成のためにConventional Commitsに従います。
形式: <type>(<scope>): <description>
例:
feat: add new hub connection feature
fix: resolve issue with server timeout
docs: update API documentation
chore: update dependencies
種類:
feat
:新機能(マイナーバージョンアップ)fix
:バグ修正(PATCHバージョンのアップ)docs
: ドキュメントのみの変更style
: コードの意味に影響を与えない変更refactor
: バグを修正したり機能を追加したりしないコード変更perf
: パフォーマンスを向上させるコード変更test
: 不足しているテストを追加したり、既存のテストを修正したりするchore
: ビルドプロセスまたは補助ツールの変更
重大な変更: コミット フッターにBREAKING CHANGE:
を追加して、メジャー バージョンをアップグレードします。
技術スタック
- Node.js
- タイプスクリプト
- @modelcontextprotocol/sdk (バージョン: ^1.9.0)
- ゾッド(バージョン: ^3.22.4)
ライセンス
マサチューセッツ工科大学
This server cannot be installed
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
他の MCP サーバーに接続して管理するハブ サーバー。ユーザーは、Cursor の 40 ツール制限を回避し、あまり使用されないツールを非表示にすることで AI のミスを減らすことができます。
Related MCP Servers
- AsecurityAlicenseAqualityA central hub that aggregates multiple MCP resource servers into a single unified interface, enabling users to access tools and capabilities from multiple backend servers through one connection point.Last updated -30TypeScriptMIT License
- -securityFlicense-qualityAn MCP server that connects to the Resource Hub, allowing centralized configuration and management of tools and resources across different MCP environments.Last updated -2JavaScript
- -securityAlicense-qualityAn MCP server implementation that standardizes how AI applications access tools and context, providing a central hub that manages tool discovery, execution, and context management with a simplified configuration system.Last updated -9PythonMIT License
- -securityFlicense-qualityA tool that generates MCP servers for Smithery with Cursor IDE integration, allowing users to quickly create servers from templates such as Basic, Web Search, or Database interactions.Last updated -JavaScript