
Gate Exchange MCP
io.github.gateio-dev由 GitHub 帳號 gateio-dev 發布v1.0.0更新於 Nov 2, 2026
OAuth Gate exchange MCP for CEX trading, account, wallet, unified account, and sub-account.
概覽
Gate 官方遠端 MCP 伺服器,讓助理讀取加密貨幣行情,並在 OAuth 授權後交易與管理 Gate 交易所帳戶或鏈上錢包。
- 可以做什麼
- 讀取公開行情:現貨、合約、槓桿、選擇權、交割、理財、Alpha 的行情、委託簿、K 線、資金費率與強平資料
- 透過 OAuth 交易與管理 Gate 帳戶:現貨、合約、選擇權、交割、槓桿下單與持倉,餘額、轉帳、入金、出金、子帳戶與統一帳戶
- 研究幣種與市場:幣種資訊、市場快照、技術分析、鏈上資料、平台指標、總體經濟指標、新聞、情緒、預測市場與文件檢索
- 操作鏈上錢包:地址、餘額、Gas 估算、轉帳與授權預覽、兌換報價與執行、代幣風險檢查,以及 20 多條鏈上的 RPC 呼叫
- 適用情境
- 當助理需要 Gate 交易所的即時行情、加密資產研究或新聞時適用;也適合希望助理在你本人 OAuth 授權下為 Gate 帳戶或鏈上錢包下單、管理部位與轉移資金的情況。
- 執行需求
- 使用 api.gatemcp.ai 上的遠端 Streamable HTTP 端點,無需安裝。公開端點不需要帳戶。交易所端點需要 Gate 帳戶並以 OAuth2 授權 market、profile、trade、wallet、account 等 scope;DEX 端點需要 Google 或 Gate OAuth。部分用戶端設定需要 Node.js 18 以上(mcporter、mcp-remote),Claude Desktop 需要 Python 代理。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Gate Exchange MCP,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。
交給代理程式安裝
把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。
閱讀 https://sourceweft.com/mcp/io.github.gateio-dev%2Fgate-exchange/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。其他 MCP 客戶端
把它新增到你客戶端的 mcpServers 設定中。
{
"mcpServers": {
"gate-exchange": {
"type": "http",
"url": "https://api.gatemcp.ai/mcp/exchange"
}
}
}README
Gate MCP Server
A Gate MCP (Model Context Protocol) server that enables AI agents to interact with the Gate cryptocurrency exchange for market data, trading, and account management.
Features
- 🔍 Public Market Data - Spot, futures, margin, options, delivery, earn, alpha tickers, order books, K-line, funding rate, liquidation history (no auth required)
- 💹 Trading - Create/cancel/amend spot, futures, options, delivery orders; price-triggered orders; trail orders
- 💼 Account & Wallet - Balances, transfers, deposits, withdrawals, sub-accounts, unified account
- 📊 Margin & Earn - Margin loans, earn products, multi-currency flash swap
- 🎯 Activity & Welfare - Activity center, coupons, launch pool, square, welfare
- 🌍 TradFi, CrossEx, P2P - Traditional finance, cross-exchange, P2P trading
- 🌐 DEX - On-chain wallet, swap (single-chain & cross-chain), token info, market data across 20+ chains
- 📰 Info - Coin discovery, market snapshots, technical/platform metrics, on-chain and macro data
- 📢 News - Crypto news, social insights, market events, prediction markets
- 📚 Docs - Research reports, papers, and documentation search
- 🔐 OAuth2 - Secure authorization for trading and private tools
MCP Endpoints
The service exposes the following MCP endpoints:
- Market data only → Use
/mcp(no Gate account needed) - CEX trading, balances, transfers → Use
/mcp/exchange(Gate OAuth2 required) - DEX wallet, swap, on-chain → Use
/mcp/dex(Google / Gate OAuth required) - Coin info, technical analysis → Use
/mcp/info(no auth) - ChatGPT / OpenAI Apps Gate Info listing → Use
/mcp/open/info(7-tool allowlist; no auth) - News, announcements → Use
/mcp/news(no auth) - Research docs & papers → Use
/mcp/docs(no auth)
Transport: Streamable HTTP (with SSE fallback).
Authorization (OAuth2)
/mcp/exchange requires Gate OAuth2; /mcp/dex requires Google or Gate OAuth. The endpoints /mcp, /mcp/info, /mcp/open/info, /mcp/news, and /mcp/docs do not require any authentication.
Using mcporter
Prerequisites: Node.js >= 18, npm. See Quick Start - mcporter for full installation steps.
Scopes (for /mcp/exchange)
Quick Start
Prerequisites
- Gate account (required only for
/mcp/exchange) - MCP-compatible client (Cursor, Claude CLI, Trae, OpenClaw, etc.)
- Node.js >= 18 (for mcporter, Trae, Qoder, and other npm-based clients)
- Python >= 3.9 (optional, for Claude Desktop proxy)
Cursor
Method 1: One-click Install (Recommended)
Just paste the following into the Cursor AI chat — the agent will auto-install all Gate MCP servers and Skills:
Help me auto install Gate Skills and MCPs: https://github.com/gate/gate-skills
See gate-skills for details.
Method 2: Manual Configuration
For full trading (OAuth on connect):
Edit ~/.cursor/mcp.json:
For market data only (no auth):
For DEX (on-chain wallet, swap):
For Info & News (no auth):
See Cursor setup.
mcporter / OpenClaw
Method 1: One-click Install (Recommended)
Just paste the following into the OpenClaw AI chat — the agent will auto-install all Gate MCP servers and Skills:
Help me auto install Gate Skills and MCPs: https://github.com/gate/gate-skills
See gate-skills for details.
Method 2: Manual Configuration
Prerequisites (before installing mcporter)
- Node.js >= 18 (mcporter requires npm)
- npm (comes with Node.js) — verify with:
node -vandnpm -v - Gate account (for OAuth login when using
/mcp/exchange)
Install mcporter
Alternatively, run without installing: npx mcporter <command> (uses current Node.js/npm).
Add MCP and authorize
See OpenClaw setup for detailed steps.
Claude CLI
Method 1: One-click Install (Recommended)
Just paste the following into Claude CLI — the agent will auto-install all Gate MCP servers and Skills:
Help me auto install Gate Skills and MCPs: https://github.com/gate/gate-skills
See gate-skills for details.
Method 2: Manual Configuration
Trae
Edit Trae settings. Uses mcp-remote to proxy HTTP MCP (OAuth prompt on first connect for /mcp/exchange):
Qoder
Edit Qoder MCP settings (e.g. ~/.qoder/mcp.json or in Qoder settings):
Claude Desktop
Claude Desktop requires a local stdio proxy.
- Download the Python proxy file
- Edit
~/Library/Application Support/Claude/claude_desktop_config.json:
See Claude Desktop setup for detailed instructions.
Alternative: gate-local-mcp (local stdio with API keys)
For local development without OAuth, use gate-local-mcp (npm: gate-mcp) — a stdio MCP server that uses GATE_API_KEY / GATE_API_SECRET (optional for public market data only). Configure it as a command-based MCP server (e.g. "command": "npx", "args": ["-y", "gate-mcp"]). By default it registers 384 tools across 22 modules (spot, futures, delivery, margin, wallet, account, options, earn, flash_swap, unified, sub_account, multi_collateral_loan, p2p, tradfi, crossex, alpha, rebate, activity, coupon, launch, square, welfare). Reduce the set with GATE_MODULES or --modules=spot,futures, or enable read-only mode with GATE_READONLY=true / --readonly.
Important: Wire-level tool names use abbreviations (futures→fx, delivery→dc, sub_account→sa, etc.); they differ from the remote api.gatemcp.ai naming. Always use the names returned by tools/list.
Full tool list: gate-local-mcp-tools.md.
LobeHub (desktop)
On the LobeHub MCP marketplace this server appears as identifier gate-gate-mcp. The npm package name is gate-mcp — run npx -y gate-mcp, not gate-gate-mcp.
Per LobeHub custom MCP, stdio servers work on the desktop app only; inject environment variables for Gate API authentication. Use Import JSON when adding a custom skill.
Public endpoints only:
With API key authentication:
You can add GATE_MODULES, GATE_READONLY, or GATE_BASE_URL inside env as needed. Click Test connection before saving.
Other Clients
Basic Usage
Query Price
What's the current price of BTC/USDT?
Get Order Book
Show me the order book for ETH/USDT
K-line Data
Get the daily K-line data for BTC over the last 7 days
Available Tools
All tools use the cex_ prefix. Tools are split between Public MCP (no auth) and Private MCP (OAuth2).
Public MCP (/mcp — no auth, 58 tools)
Private MCP (/mcp/exchange — OAuth2, 400+ tools)
Note: The private endpoint does not include public market data tools. Use
/mcpfor market data queries.
For full tool parameters, see Gate API Docs or gate-exchange-mcp.
DEX — Authentication
DEX — Wallet
DEX — Chain & Transactions
DEX — Market Data & Token Info
DEX — Agentic & RPC
For full DEX tool parameters, see gate-dex-mcp. For the Agentic Wallet subset (auth, wallet, market data, resources), see gate-agentic-wallet-mcp.
Info (/mcp/info — 32 tools, no auth)
Public, read-only market research. Categories (full parameter tables: gate-info-mcp):
Open Info (/mcp/open/info — 7 tools, no auth)
ChatGPT / OpenAI Apps submission allowlist only. Full parameter tables: gate-open-info-mcp.
News (/mcp/news — 18 tools, no auth)
Public, read-only news and social research. Categories (full parameter tables: gate-news-mcp):
MCP Resources
The /mcp and /mcp/exchange endpoints also expose MCP Resources for static reference data:
FAQ
Q: Do I need a Gate account?
A: Only for CEX trading and DEX wallet. /mcp, /mcp/info, /mcp/open/info, /mcp/news, and /mcp/docs are fully public — no account needed. /mcp/exchange (CEX trading, balances, transfers) requires Gate OAuth2. /mcp/dex (on-chain wallet, swap) requires Google or Gate OAuth.
Q: Does it support trading?
A: Yes. Connect to https://api.gatemcp.ai/mcp/exchange with OAuth2. The server supports spot and futures trading, account management, wallet transfers, and sub-accounts. Each tool requires the appropriate scope (e.g. trade, wallet).
Q: How often is the data updated?
A: Data is queried in real-time from Gate's API.
Privacy & Security
- OAuth2 authorization via Gate account (no API keys stored in config)
- All API calls use HTTPS
- See Gate Privacy Policy
Support & Feedback
- API Documentation: Gate API Docs
- Issue Reporting: Please contact Gate support
- Business Inquiries: Contact Gate official channels
Contributing
See CONTRIBUTING.md.
License
MIT © gate.com
來源:README.md,提交 801c4e3
工具
0版本歷史
1- v1.0.0最新Sep 16, 2026
評分
已滿足適用檢查項的 85%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通必需25 分
- 已宣告認證方式必需10 分
- 已列出工具必需15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分
其他 Exchange 整合
Exchange.news — Crypto offers, campaigns and news
news.exchange官方發布者
一個唯讀的遠端目錄,讓助理查詢加密貨幣註冊優惠碼、合作連結、活動日期和 Exchange.news 新聞。

ECB Currency Reference Rates — Latest Daily Cross Pairs
由 GitHub 帳號 kriton-dev 發布
託管於 Apify 的遠端 MCP 伺服器,讓助理讀取歐洲央行最新每日匯率參考價與計算出的交叉匯率。

Microsoft Exchange Online MCP
由 GitHub 帳號 Servosity 發布
非官方 MCP 伺服器,讓助理透過 REST 跨客戶租用戶稽核與管理 Microsoft Exchange Online 信箱,不需 PowerShell。

Agent Service Exchange
由 GitHub 帳號 PatrickPi1312 發布
查詢服務商;在維也納傳送經授權的安裝或清潔諮詢。無需客戶帳戶。AI 翻譯

Iran Mercantile Exchange
由 GitHub 帳號 sepehr071 發布
非官方的伊朗商品交易所唯讀 MCP 伺服器,讓助理查詢商品成交、價格、供應公告與市場彙總資料。