MCP サーバー - クラスター API v1
これは、Clusters API v1 用の Model Context Protocol (MCP) サーバー実装です。認証、クラスター管理、名前登録などのエンドポイントを提供します。
依存関係
設定
- 依存関係をインストールします:
- CLUSTERS_API_KEY={CLUSTERS_API_KEY} を含む
.env
ファイルを作成します。 - サーバーをビルドして起動します。
エンドポイントのテスト
このサーバーはStdioServerTransport
を使用しているため、JSON-RPC メッセージを stdin 経由で送信する必要があります。各エンドポイントをテストするためのコマンド例を以下に示します。
認証エンドポイント
メッセージを取得
トークンを取得
トークンを検証する
クラスター管理エンドポイント
クラスターの作成
IDでクラスターを取得
名前でクラスターを取得
アドレスでクラスターIDを取得する
ウォレットを追加
ウォレットを生成する
ウォレットを更新する
ウォレットを削除する
ウォレットを確認する
アドレス↔名前解決エンドポイント
住所でデータを取得
住所による一括データ取得
名前で一括データを取得する
登録エンドポイント
名前の空き状況を確認する
登録サインデータを取得する
取引ステータスを取得する
注記
- プレースホルダー値(
0x123...
、your-auth-key
など)を実際の値に置き換えます testnet
パラメータはほとんどのエンドポイントではオプションです- すべての応答はJSON-RPC 2.0形式になります
- 認証されたエンドポイントの場合は、有効な
authKey
を取得して含めるようにしてください。 - サーバーは設定に環境変数を使用します
.env
ファイルが正しく設定されていることを確認してください。
代替試験方法
テストを容易にするために、stdioではなくHTTPトランスポートを使用するようにサーバーを変更することができます。これにより、echoパイプの代わりにcurlコマンドを使用できるようになります。HTTPトランスポートへの切り替えをご希望の場合はお知らせください。
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.
ウォレットベースの認証、クラスター管理、および名前登録サービスのエンドポイントを提供するモデル コンテキスト プロトコル サーバー実装。
Related MCP Servers
- AsecurityFlicenseAqualityA Model Context Protocol server implementation for interacting with Salesforce through its REST API.Last updated -434TypeScript
- AsecurityFlicenseAqualityA Model Context Protocol server that provides tools to manage Keycloak users and realms, allowing you to create and delete users, list available realms, and view users in specific realms.Last updated -43612TypeScript
UseGrant MCP Serverofficial
AsecurityAlicenseAqualityA Model Context Protocol server that provides tools for managing providers, clients, tenants, and access tokens through the UseGrant platform.Last updated -26116JavaScriptMIT License- -securityFlicense-qualityA Model Context Protocol server that enables interactions with the Hedera network, providing tools for wallet creation, balance checking, transaction building, and sending signed transactions.Last updated -JavaScript