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
uxcis installed and available inPATH.- 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
- 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 cexspotgetspottickers -h - gate-mcp-cli cexspotgetspotorderbook -h - gate-mcp-cli cexfxgetfxtickers -h - gate-mcp-cli cexfxgetfxorderbook -h
- Prefer narrow spot or futures reads with explicit instrument identifiers:
- gate-mcp-cli cexspotgetspottickers currencypair=BTCUSDT - gate-mcp-cli cexspotgetspotorderbook currencypair=BTCUSDT limit=20 - gate-mcp-cli cexfxgetfxtickers contract=BTCUSDT - gate-mcp-cli cexfxgetfxfundingrate contract=BTCUSDT
Operations
Spot
cexspotlist_currenciescexspotlistcurrencypairscexspotget_currencycexspotgetcurrencypaircexspotgetspottickerscexspotgetspotorder_bookcexspotgetspottradescexspotgetspotcandlesticks
Futures
cexfxlistfxcontractscexfxgetfxcontractcexfxgetfxtickerscexfxgetfxorder_bookcexfxgetfxtradescexfxgetfxcandlestickscexfxgetfxfunding_ratecexfxgetfxpremium_indexcexfxlistfxliq_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
currencypairvalues likeBTCUSDTfor spot andcontractvalues likeBTC_USDTfor futures unless help output indicates a different contract name. gate-mcp-cli <operation> ...is equivalent touxc 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