← 返回 Skills 市场
jolestar

Gate MCP Skill

作者 jolestar · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
184
总下载
0
收藏
1
当前安装
1
版本数
在 OpenClaw 中安装
/install gate-mcp-skill
功能描述
Use Gate MCP through UXC for public spot and futures market data workflows with a fixed streamable-http endpoint and read-first guardrails.
使用说明 (SKILL.md)

Gate MCP Skill

Use this skill to run Gate public market data workflows through uxc + MCP.

Reuse the uxc skill for shared MCP execution, output parsing, and generic auth guidance.

Prerequisites

  • uxc is installed and available in PATH.
  • Network access to https://api.gatemcp.ai/mcp.

Scope

This skill covers the official Gate MCP surface for:

  • public spot market discovery
  • public spot tickers, trades, order books, and candlesticks
  • public futures contracts, tickers, trades, order books, funding, and premium data

This skill does not cover:

  • private account or trading workflows
  • Gate REST v4 signed APIs
  • wallet, funding, or portfolio actions

Endpoint

Use Gate's official MCP endpoint:

  • https://api.gatemcp.ai/mcp

Core Workflow

  1. Use the fixed link command by default:
    • command -v gate-mcp-cli
    • If missing, create it: uxc link gate-mcp-cli https://api.gatemcp.ai/mcp
    • gate-mcp-cli -h
  2. Inspect tool and argument help before execution:
    • gate-mcp-cli cex_spot_get_spot_tickers -h
    • gate-mcp-cli cex_spot_get_spot_order_book -h
    • gate-mcp-cli cex_fx_get_fx_tickers -h
    • gate-mcp-cli cex_fx_get_fx_order_book -h
  3. Prefer narrow spot or futures reads with explicit instrument identifiers:
    • gate-mcp-cli cex_spot_get_spot_tickers currency_pair=BTC_USDT
    • gate-mcp-cli cex_spot_get_spot_order_book currency_pair=BTC_USDT limit=20
    • gate-mcp-cli cex_fx_get_fx_tickers contract=BTC_USDT
    • gate-mcp-cli cex_fx_get_fx_funding_rate contract=BTC_USDT

Operations

Spot

  • cex_spot_list_currencies
  • cex_spot_list_currency_pairs
  • cex_spot_get_currency
  • cex_spot_get_currency_pair
  • cex_spot_get_spot_tickers
  • cex_spot_get_spot_order_book
  • cex_spot_get_spot_trades
  • cex_spot_get_spot_candlesticks

Futures

  • cex_fx_list_fx_contracts
  • cex_fx_get_fx_contract
  • cex_fx_get_fx_tickers
  • cex_fx_get_fx_order_book
  • cex_fx_get_fx_trades
  • cex_fx_get_fx_candlesticks
  • cex_fx_get_fx_funding_rate
  • cex_fx_get_fx_premium_index
  • cex_fx_list_fx_liq_orders

Guardrails

  • Keep automation on the JSON output envelope; do not use --text.
  • Parse stable fields first: ok, kind, protocol, data, error.
  • Treat this v1 skill as read-only.
  • Prefer currency_pair values like BTC_USDT for spot and contract values like BTC_USDT for futures unless help output indicates a different contract name.
  • gate-mcp-cli \x3Coperation> ... is equivalent to uxc https://api.gatemcp.ai/mcp \x3Coperation> ....

References

安全使用建议
This skill appears coherent and read-only, but check the following before installing: (1) ensure you trust and review the external 'uxc' tool the skill depends on — the skill requires `uxc` in PATH; (2) the repo's validation script expects the `rg` (ripgrep) utility for local checks — that's a development-time detail, not runtime; (3) confirm the `uxc link gate-mcp-cli https://api.gatemcp.ai/mcp` command resolves to the official Gate MCP endpoint before running it (avoid redirected or spoofed links); (4) because the skill source and homepage are not provided, prefer installing only if you trust the skill publisher or after reviewing the upstream `uxc` implementation and Gate MCP docs. If you need greater assurance, ask the publisher for a homepage or source repo and a checksum/verification for any binaries you install.
功能分析
Type: OpenClaw Skill Name: gate-mcp-skill Version: 1.0.0 The gate-mcp-skill bundle provides a structured interface for accessing public cryptocurrency market data from Gate.io via the Model Context Protocol (MCP). It includes explicit read-only guardrails in SKILL.md, a comprehensive validation script (scripts/validate.sh) to enforce safety patterns, and clear usage examples in references/usage-patterns.md. The skill uses a legitimate endpoint (https://api.gatemcp.ai/mcp) and lacks any indicators of data exfiltration, unauthorized execution, or malicious intent.
能力评估
Purpose & Capability
The skill's declared purpose (public Gate MCP market data via uxc) matches the instructions and included files. Minor mismatch: registry metadata lists no required binaries, but SKILL.md correctly states that `uxc` must be installed and available in PATH — the skill will not work without that dependency. This is likely an omission in the metadata rather than malicious behavior.
Instruction Scope
SKILL.md instructs only to link and call the fixed MCP endpoint via `uxc`/`gate-mcp-cli`, to prefer help-first discovery, and to remain read-only. It does not instruct reading local secrets, arbitrary files, or sending data to unexpected endpoints; network I/O is limited to the documented Gate MCP endpoint and cited documentation links.
Install Mechanism
No install spec is present (instruction-only), so nothing is written or downloaded by the skill itself. This is the lowest-risk model and is coherent with the skill's purpose.
Credentials
The skill requests no environment variables, credentials, or config paths. The instructions explicitly avoid private/trading workflows and do not ask for API keys; this is proportionate for a public read-only market-data skill.
Persistence & Privilege
The skill is not marked 'always' and does not request elevated persistence or modification of other skills or system-wide settings. The included validation script is self-contained and used only for local checks.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install gate-mcp-skill
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /gate-mcp-skill 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of gate-mcp-skill. - Enables public spot and futures market data workflows via Gate MCP using a fixed streamable-http endpoint. - Provides core commands for market discovery, tickers, order books, trades, candlesticks, funding rates, and premium data. - Enforces read-only guardrails with a focus on stable JSON output parsing. - Reuses `uxc` skill for MCP execution, output handling, and authentication guidance. - Excludes private account, trading, and wallet/funding operations. - Includes detailed usage instructions and references for setup and usage patterns.
元数据
Slug gate-mcp-skill
版本 1.0.0
许可证 MIT-0
累计安装 1
当前安装数 1
历史版本数 1
常见问题

Gate MCP Skill 是什么?

Use Gate MCP through UXC for public spot and futures market data workflows with a fixed streamable-http endpoint and read-first guardrails. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 184 次。

如何安装 Gate MCP Skill?

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

Gate MCP Skill 是免费的吗?

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

Gate MCP Skill 支持哪些平台?

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

谁开发了 Gate MCP Skill?

由 jolestar(@jolestar)开发并维护,当前版本 v1.0.0。

💬 留言讨论