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
- -securityFlicense-qualityProvides a scalable, containerized infrastructure for deploying and managing Model Context Protocol servers with monitoring, high availability, and secure configurations.Last updated -
- -securityAlicense-qualityA Model Context Protocol server that enables seamless execution of commands, Python code, web content fetching, and reusable task management with secure credentials handling.Last updated -2PythonMIT License
- -securityFlicense-qualityA server implementation of the Model Context Protocol (MCP) that provides REST API endpoints for managing and interacting with MCP resources.Last updated -Python
- AsecurityFlicenseAqualityA Model Context Protocol server that enables LLMs to explore and interact with API specifications by providing tools for loading, browsing, and getting detailed information about API endpoints.Last updated -4913TypeScript