gate-mcp-skill
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseGate MCP Skill
Gate MCP Skill
Use this skill to run Gate public market data workflows through + MCP.
uxcReuse the skill for shared MCP execution, output parsing, and generic auth guidance.
uxc使用该Skill通过 + MCP运行Gate公开市场数据工作流。
uxc复用 Skill以实现共享MCP执行、输出解析和通用身份验证指引。
uxcPrerequisites
前提条件
- is installed and available in
uxc.PATH - Network access to .
https://api.gatemcp.ai/mcp
- 已安装且可在
uxc中访问。PATH - 能够访问网络。
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
该Skill涵盖Gate MCP官方支持的以下功能:
- 公开现货市场发现
- 公开现货行情、交易、订单簿和K线数据
- 公开期货合约、行情、交易、订单簿、资金费率和溢价数据
该Skill不涵盖以下内容:
- 个人账户或交易工作流
- Gate REST v4签名API
- 钱包、资金或投资组合操作
Endpoint
端点
Use Gate's official MCP endpoint:
https://api.gatemcp.ai/mcp
使用Gate官方MCP端点:
https://api.gatemcp.ai/mcp
Core Workflow
核心工作流
- 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
- Inspect tool and argument help before execution:
gate-mcp-cli cex_spot_get_spot_tickers -hgate-mcp-cli cex_spot_get_spot_order_book -hgate-mcp-cli cex_fx_get_fx_tickers -hgate-mcp-cli cex_fx_get_fx_order_book -h
- Prefer narrow spot or futures reads with explicit instrument identifiers:
gate-mcp-cli cex_spot_get_spot_tickers currency_pair=BTC_USDTgate-mcp-cli cex_spot_get_spot_order_book currency_pair=BTC_USDT limit=20gate-mcp-cli cex_fx_get_fx_tickers contract=BTC_USDTgate-mcp-cli cex_fx_get_fx_funding_rate contract=BTC_USDT
- 默认使用固定链接命令:
command -v gate-mcp-cli- 若未找到,创建链接:
uxc link gate-mcp-cli https://api.gatemcp.ai/mcp gate-mcp-cli -h
- 执行前查看工具和参数帮助:
gate-mcp-cli cex_spot_get_spot_tickers -hgate-mcp-cli cex_spot_get_spot_order_book -hgate-mcp-cli cex_fx_get_fx_tickers -hgate-mcp-cli cex_fx_get_fx_order_book -h
- 优先使用明确的工具标识符进行精准的现货或期货数据读取:
gate-mcp-cli cex_spot_get_spot_tickers currency_pair=BTC_USDTgate-mcp-cli cex_spot_get_spot_order_book currency_pair=BTC_USDT limit=20gate-mcp-cli cex_fx_get_fx_tickers contract=BTC_USDTgate-mcp-cli cex_fx_get_fx_funding_rate contract=BTC_USDT
Operations
操作
Spot
现货
cex_spot_list_currenciescex_spot_list_currency_pairscex_spot_get_currencycex_spot_get_currency_paircex_spot_get_spot_tickerscex_spot_get_spot_order_bookcex_spot_get_spot_tradescex_spot_get_spot_candlesticks
cex_spot_list_currenciescex_spot_list_currency_pairscex_spot_get_currencycex_spot_get_currency_paircex_spot_get_spot_tickerscex_spot_get_spot_order_bookcex_spot_get_spot_tradescex_spot_get_spot_candlesticks
Futures
期货
cex_fx_list_fx_contractscex_fx_get_fx_contractcex_fx_get_fx_tickerscex_fx_get_fx_order_bookcex_fx_get_fx_tradescex_fx_get_fx_candlestickscex_fx_get_fx_funding_ratecex_fx_get_fx_premium_indexcex_fx_list_fx_liq_orders
cex_fx_list_fx_contractscex_fx_get_fx_contractcex_fx_get_fx_tickerscex_fx_get_fx_order_bookcex_fx_get_fx_tradescex_fx_get_fx_candlestickscex_fx_get_fx_funding_ratecex_fx_get_fx_premium_indexcex_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 values like
currency_pairfor spot andBTC_USDTvalues likecontractfor futures unless help output indicates a different contract name.BTC_USDT - is equivalent to
gate-mcp-cli <operation> ....uxc https://api.gatemcp.ai/mcp <operation> ...
- 自动化操作仅针对JSON输出格式;请勿使用参数。
--text - 优先解析稳定字段:、
ok、kind、protocol、data。error - 该v1版本Skill仅用于读取操作。
- 现货优先使用这类
BTC_USDT值,期货优先使用currency_pair这类BTC_USDT值,除非帮助输出显示不同的合约名称。contract - 等同于
gate-mcp-cli <operation> ...。uxc https://api.gatemcp.ai/mcp <operation> ...
References
参考资料
- Usage patterns:
references/usage-patterns.md - Official Gate for AI / MCP docs: https://www.gate.com/gate-mcp-skills
- Gate MCP setup article: https://www.gate.com/ru/help/gateforai/gateforaibasics/50102/gate-for-ai-one-click-integration-with-major-ai-agents-no-api-keys-required-zero-barriers
- 使用模式:
references/usage-patterns.md - Gate for AI / MCP官方文档:https://www.gate.com/gate-mcp-skills
- Gate MCP设置指南:https://www.gate.com/ru/help/gateforai/gateforaibasics/50102/gate-for-ai-one-click-integration-with-major-ai-agents-no-api-keys-required-zero-barriers