gate-mcp-openclaw-installer
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
- Cursor:
MCP Mode
Read and strictly follow references/mcp.md, then execute this installer workflow.
SKILL.mdkeeps mode descriptions, quick-start semantics, and product guidance.references/mcp.mdis 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)
- Visit https://www.gate.com/myaccount/profile/api-key/manage
- 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, runmcporter auth gate-cex-ex - Check network:
mcporter daemon statusif using daemon
References
More from gate/gate-skills
gate-exchange-futures
Gate Exchange USDT perpetual futures trading skill. Use when the user wants to trade contracts, open/close perpetual positions, or manage futures leverage. Triggers on 'open long', 'close short', 'USDT perpetual', 'futures TP/SL'.
125gate-exchange-spot
Gate spot trading and account operations skill. Use when the user asks to buy/sell crypto on spot, check account value, list spot balances, or place conditional/trigger orders. Triggers on 'buy coin', 'sell spot', 'take profit', 'stop loss', 'cancel order', 'my spot balance', '查看我的现货账户余额', or '现货账户余额'.
113gate-exchange-marketanalysis
Gate Exchange market analysis tool. Use when the user asks for deep market metrics like liquidity, slippage, funding arbitrage, or manipulation risk. Triggers on 'liquidity', 'depth', 'slippage', 'momentum', 'buy/sell pressure', 'squeeze', 'funding rate', 'arbitrage', 'basis', 'premium'.
102gate-news-briefing
News briefing. Use this skill ONLY when the user's query is exclusively about recent news or headlines with no other analysis dimensions. Trigger phrases: what happened recently, today's highlights, crypto news, any new updates. If the query ALSO mentions coin analysis, risk check, technicals, or any other analysis dimension, use gate-info-research instead — it handles multi-dimension queries in a single unified report.
95gate-info-trendanalysis
Trend and technical analysis. Use this skill ONLY when the user's query is exclusively about technical indicators or trend analysis for one coin with no other analysis dimensions. Trigger phrases: technical analysis, K-line, RSI, MACD, trend, support, resistance. If the query ALSO mentions fundamentals, risk, news, sentiment, or any other analysis dimension, use gate-info-research instead — it handles multi-dimension queries in a single unified report.
84gate-dex-market
On-chain DEX market data queries via Gate: token prices/价格, K-line/OHLC candlestick charts, token rankings, security risk audits, new token discovery, holder analysis, and trading volume stats. Read-only — no transactions. Use when the user asks for 'token price', 'price of ETH', 'check SOL price', '查价格', 'K线', 'candlestick', 'OHLC', 'top gainers', 'trending tokens', 'is this token safe', 'honeypot check', 'new tokens', 'trading volume', or 'liquidity events'. Do NOT use for swap/trade execution (use gate-dex-trade) or wallet balance/account queries (use gate-dex-wallet).
76