← 返回 Skills 市场
gate-exchange

Gate MCP (OpenClaw / mcporter)

作者 Gate · GitHub ↗ · v1.0.3 · MIT-0
cross-platform ✓ 安全检测通过
330
总下载
0
收藏
0
当前安装
4
版本数
在 OpenClaw 中安装
/install gate-mcp-openclaw-installer
功能描述
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...
使用说明 (SKILL.md)

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 Server Status
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

Mode mcporter name Endpoint Auth
Local CEX gate stdio npx -y gate-mcp GATE_API_KEY / GATE_API_SECRET (optional for public-only)
Remote CEX — Public gate-cex-pub https://api.gatemcp.ai/mcp None
Remote CEX — Exchange gate-cex-ex https://api.gatemcp.ai/mcp/exchange Gate OAuth2 — run mcporter auth gate-cex-ex after add
DEX gate-dex https://api.gatemcp.ai/mcp/dex x-api-key MCP_AK_8W2N7Q + Authorization: Bearer ${GATE_MCP_TOKEN}
Info gate-info https://api.gatemcp.ai/mcp/info None
News gate-news https://api.gatemcp.ai/mcp/news None

Details: gate-mcp README.

MCP Servers (summary)

Server Endpoint Auth Description
gate npx -y gate-mcp API Key + Secret Local CEX (stdio)
gate-cex-pub https://api.gatemcp.ai/mcp None Remote public market data
gate-cex-ex https://api.gatemcp.ai/mcp/exchange OAuth2 (mcporter auth gate-cex-ex) Remote private CEX
gate-dex https://api.gatemcp.ai/mcp/dex x-api-key + Bearer DEX
gate-info https://api.gatemcp.ai/mcp/info None Info & analysis
gate-news https://api.gatemcp.ai/mcp/news None News

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

安全使用建议
Before installing, review the install.sh script and ensure you trust mcporter and the Gate endpoints (gate.com / api.gatemcp.ai). Be aware the installer will prompt you to enter Gate API Key and Secret and will store them in mcporter's config — back up your mcporter config if needed. Confirm the embedded DEX API key (MCP_AK_8W2N7Q) is intended to be public; if unsure, ask the skill author. Note: the script expects a servers.manifest at scripts/mcp-fragments/openclaw/servers.manifest which is not included here; the installer may fail unless that file exists in your repository. Run the installer in a controlled environment (or inspect/modify the script) if you have concerns about where credentials are stored or configuration changes.
功能分析
Type: OpenClaw Skill Name: gate-mcp-openclaw-installer Version: 1.0.3 The bundle is a functional installer for Gate MCP (Model Context Protocol) servers, designed to work with the `mcporter` CLI tool. The core logic in `scripts/install.sh` automates the configuration of various financial data and trading endpoints (CEX, DEX, News) and correctly handles sensitive inputs like API keys using secure prompts. While the `SKILL.md` uses authoritative language to direct the AI agent and references external runtime rules, these instructions appear aimed at ensuring a successful installation workflow rather than performing malicious actions or exfiltrating data.
能力评估
Purpose & Capability
The name/description match the provided behavior: an installer that configures Gate MCP servers via mcporter. The script only requires mcporter and interactively-collected Gate API credentials for the local 'gate' server, which is proportionate to the stated purpose.
Instruction Scope
SKILL.md and references describe running scripts/install.sh and follow-up auth flows; the installer script implements those steps. Two notes: (1) the install script expects a manifest at scripts/mcp-fragments/openclaw/servers.manifest, but that manifest is not present in the provided package (this will cause runtime failure unless the manifest exists elsewhere in the repo). (2) The script adds API keys/secrets into mcporter config (via mcporter config add) — this is expected for an installer but means credentials will be stored in mcporter's configuration.
Install Mechanism
No remote downloads or package installs are embedded in the skill; it's instruction-only with bundled shell scripts. Nothing is fetched from untrusted URLs or extracted on disk by the skill itself.
Credentials
The skill declares no required env vars. At runtime it prompts the user for Gate API Key and Secret when needed and places them into mcporter config — appropriate for a CEX installer. It also uses a hard-coded DEX API key (GATE_DEX_API_KEY=MCP_AK_8W2N7Q) embedded in the script; verify that this key is intended to be public before trusting it. The script references a token placeholder (GATE_MCP_TOKEN) for Authorization headers but does not itself request or exfiltrate other credentials.
Persistence & Privilege
The skill does not request always:true, does not attempt to modify other skills, and its persistence is limited to writing configuration into mcporter (its intended target). This is within expected scope for an installer.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install gate-mcp-openclaw-installer
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /gate-mcp-openclaw-installer 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.3
- No changes detected in this release. - Version number and SKILL.md content remain unchanged.
v1.0.2
- No changes detected in this release. - Version and documentation remain the same as previous version.
v1.0.1
### Changed - mcporter server names shortened to **`gate-cex-pub`** and **`gate-cex-ex`** (replacing `gate-cex-public` / `gate-cex-exchange`). - Docs/examples updated; OAuth2 flow: `mcporter auth gate-cex-ex`.
v1.0.0
- Initial release of gate-mcp-openclaw-installer. - Provides a one-click installer for all Gate.com MCP servers including spot/futures trading, DEX, market info, and news. - Supports full or selective installation modes via install script. - Integrates mcporter for managing and calling Gate MCP endpoints. - Includes detailed instructions for API key setup, authentication, and troubleshooting.
元数据
Slug gate-mcp-openclaw-installer
版本 1.0.3
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 4
常见问题

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... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 330 次。

如何安装 Gate MCP (OpenClaw / mcporter)?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install gate-mcp-openclaw-installer」即可一键安装,无需额外配置。

Gate MCP (OpenClaw / mcporter) 是免费的吗?

是的,Gate MCP (OpenClaw / mcporter) 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Gate MCP (OpenClaw / mcporter) 支持哪些平台?

Gate MCP (OpenClaw / mcporter) 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Gate MCP (OpenClaw / mcporter)?

由 Gate(@gate-exchange)开发并维护,当前版本 v1.0.3。

💬 留言讨论