← 返回
开发者工具 中文

Gate MCP (OpenClaw / mcporter)

Gate MCP one-click installer for OpenClaw (mcporter). Use when the user asks to install or configure Gate MCP servers with OpenClaw. Triggers on 'install Gat...
Gate MCP 一键安装程序,用于 OpenClaw (mcporter)。当用户请求安装或配置 Gate MCP 服务器与 OpenClaw 时使用。触发词为 'install Gat...'
gate-exchange
开发者工具 clawhub v1.0.3 2 版本 100000 Key: 无需
★ 0
Stars
📥 804
下载
💾 58
安装
2
版本
#latest

概述

Gate MCP (OpenClaw / mcporter)

General Rules

⚠️ STOP — You MUST read and strictly follow the shared runtime rules before proceeding.

Do NOT select or call any tool until all rules are read. These rules have the highest priority.

→ Read gate-runtime-rules.md

  • Only call MCP tools explicitly listed in this skill. Tools not documented here must NOT be called, even if they

exist in the MCP server.


MCP Dependencies

Required MCP Servers

MCP ServerStatus
--------------------
Gate (main)✅ Required
Gate-Dex✅ Required
Gate-Info✅ Required
Gate-News✅ Required

Authentication

  • API Key Required: No

Installation Check

  • Required: Gate (main), Gate-Dex, Gate-Info, Gate-News
  • Install: Run installer skill for your IDE
  • Cursor: gate-mcp-cursor-installer
  • Codex: gate-mcp-codex-installer
  • Claude: gate-mcp-claude-installer
  • OpenClaw: gate-mcp-openclaw-installer

MCP Mode

Read and strictly follow references/mcp.md, then execute this installer workflow.

  • SKILL.md keeps mode descriptions, quick-start semantics, and product guidance.
  • references/mcp.md is the authoritative execution layer for mcporter install sequencing, auth gates, and fallback policy.

Quick Start

# Install all Gate MCP servers (default)
./scripts/install.sh

# Selective installation
./scripts/install.sh --select

CEX MCP modes

Modemcporter nameEndpointAuth
---------------------------------------
Local CEXgatestdio npx -y gate-mcpGATE_API_KEY / GATE_API_SECRET (optional for public-only)
Remote CEX — Publicgate-cex-pubhttps://api.gatemcp.ai/mcpNone
Remote CEX — Exchangegate-cex-exhttps://api.gatemcp.ai/mcp/exchangeGate OAuth2 — run mcporter auth gate-cex-ex after add
DEXgate-dexhttps://api.gatemcp.ai/mcp/dexx-api-key MCP_AK_8W2N7Q + Authorization: Bearer ${GATE_MCP_TOKEN}
Infogate-infohttps://api.gatemcp.ai/mcp/infoNone
Newsgate-newshttps://api.gatemcp.ai/mcp/newsNone

Details: gate-mcp README.

MCP Servers (summary)

ServerEndpointAuthDescription
-------------------------------------
gatenpx -y gate-mcpAPI Key + SecretLocal CEX (stdio)
gate-cex-pubhttps://api.gatemcp.ai/mcpNoneRemote public market data
gate-cex-exhttps://api.gatemcp.ai/mcp/exchangeOAuth2 (mcporter auth gate-cex-ex)Remote private CEX
gate-dexhttps://api.gatemcp.ai/mcp/dexx-api-key + BearerDEX
gate-infohttps://api.gatemcp.ai/mcp/infoNoneInfo & analysis
gate-newshttps://api.gatemcp.ai/mcp/newsNoneNews

Installation Modes

1. Install All (Default)

./scripts/install.sh

Installs all configured servers. Prompts for Gate API credentials when adding gate (local).

2. Selective Install

./scripts/install.sh --select
# or
./scripts/install.sh -s

Interactive menu to choose a server (1–6).

Common Commands

# 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 Configuration

Getting API Keys (Local gate server)

  1. Visit https://www.gate.com/myaccount/profile/api-key/manage
  2. Create API key with permissions as needed (Read / Trade / Withdraw).

Gate-Dex authorization

When a gate-dex query returns "need authorization": (1) Open https://web3.gate.com/ to create or bind a wallet if needed; (2) Complete OAuth via the link the assistant provides.

Remote CEX exchange (OAuth2)

After install, run mcporter auth gate-cex-ex and complete Gate OAuth2 in the browser.

Storing Credentials

The installer stores credentials in mcporter config where applicable.

Troubleshooting

mcporter not found

npm install -g mcporter

Connection failed

  • Verify API keys are correct (for gate)
  • For gate-cex-ex, run mcporter auth gate-cex-ex
  • Check network: mcporter daemon status if using daemon

References

版本历史

共 2 个版本

  • v1.0.3 当前
    2026-05-03 04:17 安全 安全
  • v1.0.0
    2026-03-19 16:52 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

developer-tools

Github

steipete
使用 `gh` CLI 与 GitHub 交互,通过 `gh issue`、`gh pr`、`gh run` 和 `gh api` 管理议题、PR、CI 运行及高级查询。
★ 666 📥 323,776
developer-tools

Gog

steipete
Google Workspace 命令行工具,支持 Gmail、日历、云端硬盘、通讯录、表格和文档。
★ 920 📥 185,723
data-analysis

Gate Exchange Trading Copilot

gate-exchange
Gate Trading Copilot L2。当用户想要执行复杂交易、杠杆借贷或查询仓位和挂单时使用,触发于“market buy”等关键词。
★ 0 📥 817