gate-mcp-openclaw-installer について
OpenClaw と mcporter で Gate MCP サーバーを設定するためのインストーラースキルです。全サービスの一括導入と、CEX、DEX、情報、ニュースの各エンドポイントの選択導入に対応します。
主な機能
- 01Gate サーバーの一括・選択導入
- 02ローカルとリモートの接続設定
- 03OAuth と認証情報の設定
- 04接続・認証トラブルの確認
活用シーン
- 01OpenClaw で Gate MCP サーバーを設定
- 02mcporter で導入するサーバーを選択
- 03リモート CEX の OAuth 認証
- 04接続や認証の問題を調査
MCP 対応
mcporter を使って Gate、Gate-Dex、Gate-Info、Gate-News の MCP サーバーを導入・管理します。ローカルとリモートのエンドポイントおよび認証方式を説明します。
インストール
コマンドをコピーしてターミナルで実行します。
npx skills add https:/ / github.com/ gate/ gate-skills --skill gate-mcp-openclaw-installerインストール後、Claude Code で/gate-mcp-openclaw-installerを入力して読み込まれたか確認します。
同梱ファイル
SKILL.md と一緒にインストールされる参考資料やスクリプト。
CHANGELOG.mdREADME.mdreferences/mcp.mdscripts/install.shpackage.shscripts/mcp-fragments/openclaw/servers.manifest詳細
Gate MCP(OpenClaw / mcporter)
一般ルール
⚠️ 停止 — 続行する前に、共有ランタイムルールを必ず読み、厳守してください。 すべてのルールを読み終えるまで、ツールを選択したり呼び出したりしないでください。これらのルールは最優先です。 → gate-runtime-rules.mdをお読みください
- このスキルに明示的に記載された MCP ツールのみを呼び出してください。 ここに記載されていないツールは、MCP サーバーに存在していても呼び出してはいけません。
MCP の依存関係
必須の MCP サーバー
| MCP サーバー | 状態 |
|---|---|
| Gate(メイン) | ✅ 必須 |
| Gate-Dex | ✅ 必須 |
| Gate-Info | ✅ 必須 |
| Gate-News | ✅ 必須 |
認証
- API キーが必要:いいえ
インストールの確認
- 必須:Gate(メイン)、Gate-Dex、Gate-Info、Gate-News
- インストール:お使いの IDE 用のインストーラースキルを実行します
- Cursor:
gate-mcp-cursor-installer - Codex:
gate-mcp-codex-installer - Claude:
gate-mcp-claude-installer - OpenClaw:
gate-mcp-openclaw-installer
- Cursor:
MCP モード
references/mcp.mdを読み、厳守してから、このインストーラーワークフローを実行してください。
SKILL.mdにはモードの説明、クイックスタートのセマンティクス、製品ガイダンスが記載されています。references/mcp.mdは、mcporter のインストール順序、認証ゲート、フォールバックポリシーに関する実行レイヤーの正式な情報源です。
クイックスタート
# Install all Gate MCP servers (default)
./scripts/install.sh
# Selective installation
./scripts/install.sh --select
CEX MCP モード
| モード | mcporter 名 | エンドポイント | 認証 |
|---|---|---|---|
| ローカル CEX | gate | stdio npx -y gate-mcp | GATE_API_KEY / GATE_API_SECRET(公開データのみの場合は任意) |
| リモート CEX — 公開 | gate-cex-pub | https://api.gatemcp.ai/mcp | なし |
| リモート CEX — 取引所 | gate-cex-ex | https://api.gatemcp.ai/mcp/exchange | Gate OAuth2 — 追加後に mcporter auth gate-cex-ex を実行 |
| DEX | gate-dex | https://api.gatemcp.ai/mcp/dex | x-api-key MCP_AK_8W2N7Q + Authorization: Bearer ${GATE_MCP_TOKEN} |
| 情報 | gate-info | https://api.gatemcp.ai/mcp/info | なし |
| ニュース | gate-news | https://api.gatemcp.ai/mcp/news | なし |
詳細:gate-mcp README。
MCP サーバー(概要)
| サーバー | エンドポイント | 認証 | 説明 |
|---|---|---|---|
gate | npx -y gate-mcp | API キー + シークレット | ローカル CEX(stdio) |
gate-cex-pub | https://api.gatemcp.ai/mcp | なし | リモートの公開市場データ |
gate-cex-ex | https://api.gatemcp.ai/mcp/exchange | OAuth2(mcporter auth gate-cex-ex) | リモートのプライベート CEX |
gate-dex | https://api.gatemcp.ai/mcp/dex | x-api-key + Bearer | DEX |
gate-info | https://api.gatemcp.ai/mcp/info | なし | 情報と分析 |
gate-news | https://api.gatemcp.ai/mcp/news | なし | ニュース |
インストールモード
1. すべてインストール(デフォルト)
./scripts/install.sh
設定済みのすべてのサーバーをインストールします。gate(ローカル)を追加する際に、Gate API の認証情報を求められます。
2. 選択してインストール
./scripts/install.sh --select
# or
./scripts/install.sh -s
サーバーを選択する対話型メニューです(1~6)。
よく使うコマンド
# Market / info (no auth)
mcporter call gate-info.list_tickers currency_pair=BTC_USDT
mcporter call gate-news.list_news
# Remote CEX public — list tools first, then call cex_* tools
mcporter list gate-cex-pub
# Local CEX trading (requires API keys in mcporter env)
mcporter call gate.list_spot_accounts
# Remote CEX exchange (OAuth2) — authorize first
mcporter auth gate-cex-ex
# DEX (wallet; may require web3 + OAuth)
mcporter call gate-dex.list_balances
API の設定
API キーの取得(ローカルの gate サーバー)
- https://www.gate.com/myaccount/profile/api-key/manage にアクセスします
- 必要な権限(Read / Trade / Withdraw)を設定して API キーを作成します。
Gate-Dex の認証
gate-dex のクエリが「need authorization」を返した場合:(1)必要に応じて https://web3.gate.com/ を開き、ウォレットを作成または紐付けます。(2)アシスタントが提示するリンクから OAuth を完了します。
リモート CEX 取引所(OAuth2)
インストール後、mcporter auth gate-cex-ex を実行し、ブラウザーで Gate OAuth2 を完了します。
認証情報の保存
該当する場合、インストーラーは認証情報を mcporter の設定に保存します。
トラブルシューティング
mcporter が見つからない
npm install -g mcporter
接続に失敗する
- API キーが正しいことを確認します(
gateの場合) gate-cex-exの場合は、mcporter auth gate-cex-exを実行します- daemon を使用している場合は、
mcporter daemon statusでネットワークを確認します