cex_alpha_list_alpha_currencies
List Alpha currencies.
pagelimitcurrency
io.github.gateio-dev由 GitHub 帳號 gateio-dev 發布v1.0.0更新於 Nov 3, 2026
Public Gate market data MCP for spot, futures, margin, options, delivery, earn, and alpha.
Gate 的遠端 MCP 伺服器,讓助理取得唯讀加密貨幣行情,並可選擇透過 OAuth 進行 CEX 交易、DEX 錢包與兌換、幣種研究與新聞查詢。
Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。
把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。
閱讀 https://sourceweft.com/mcp/io.github.gateio-dev%2Fgate-mcp/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。把它新增到你客戶端的 mcpServers 設定中。
{
"mcpServers": {
"gate": {
"type": "http",
"url": "https://api.gatemcp.ai/mcp"
}
}
}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.
The service exposes the following MCP endpoints:
/mcp (no Gate account needed)/mcp/exchange (Gate OAuth2 required)/mcp/dex (Google / Gate OAuth required)/mcp/info (no auth)/mcp/open/info (7-tool allowlist; no auth)/mcp/news (no auth)/mcp/docs (no auth)Transport: Streamable HTTP (with SSE fallback).
/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.
Prerequisites: Node.js >= 18, npm. See Quick Start - mcporter for full installation steps.
/mcp/exchange)/mcp/exchange)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.
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.
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.
node -v and npm -v/mcp/exchange)Alternatively, run without installing: npx mcporter <command> (uses current Node.js/npm).
See OpenClaw setup for detailed steps.
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.
Edit Trae settings. Uses mcp-remote to proxy HTTP MCP (OAuth prompt on first connect for /mcp/exchange):
Edit Qoder MCP settings (e.g. ~/.qoder/mcp.json or in Qoder settings):
Claude Desktop requires a local stdio proxy.
~/Library/Application Support/Claude/claude_desktop_config.json:See Claude Desktop setup for detailed instructions.
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.
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.
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
All tools use the cex_ prefix. Tools are split between Public MCP (no auth) and Private MCP (OAuth2).
/mcp — no auth, 58 tools)/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.
For full DEX tool parameters, see gate-dex-mcp. For the Agentic Wallet subset (auth, wallet, market data, resources), see gate-agentic-wallet-mcp.
/mcp/info — 32 tools, no auth)Public, read-only market research. Categories (full parameter tables: gate-info-mcp):
/mcp/open/info — 7 tools, no auth)ChatGPT / OpenAI Apps submission allowlist only. Full parameter tables: gate-open-info-mcp.
/mcp/news — 18 tools, no auth)Public, read-only news and social research. Categories (full parameter tables: gate-news-mcp):
The /mcp and /mcp/exchange endpoints also expose MCP Resources for static reference data:
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.
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).
A: Data is queried in real-time from Gate's API.
See CONTRIBUTING.md.
MIT © gate.com
來源:README.md,提交 801c4e3
List Alpha currencies.
pagelimitcurrencyList Alpha tickers.
pagelimitcurrencyList Alpha tokens.
pagechainaddresslaunch_platformList all TradFi instrument categories
無需輸入參數。
Get kline/OHLCV data for a TradFi symbol
limitsymbol必填end_timebegin_timekline_type必填Get latest ticker for a TradFi symbol
symbol必填List all available TradFi trading symbols
無需輸入參數。
Get delivery contract.
settle必填contract必填List delivery candlesticks.
tofromlimitsettle必填contract必填intervalList delivery contracts.
settle必填List delivery insurance ledger.
limitsettle必填Get delivery order book.
limitsettle必填with_idcontract必填intervalList delivery risk limit tiers.
limitoffsetsettle必填contractList delivery tickers.
settle必填contractList delivery trades.
tofromlimitsettle必填last_idcontract必填Get recommendations for stock dual investment products
coinmodetypehistory_pidsGet Simple Earn currency details.
currency必填List dual investment plans.
coinpagesorttypeplan_idpage_sizequote_currencyList stock dual investment products
coinpagesorttypeplan_idpage_sizequote_currencyList fixed-term Earn products.
page必填typeassetlimit必填statusshow_statusList fixed-term Earn products by asset.
typeasset必填List Simple Earn currencies.
無需輸入參數。
List all supported flash swap currency pairs
pagelimitcurrencyGet futures candlestick/OHLCV data
tofromlimitsettle必填contract必填intervaltimezoneGet details of a single futures contract
settle必填contract必填Get funding rate history for a futures contract
tofromlimitsettle必填contract必填Get futures order book
limitsettle必填with_idcontract必填intervalGet premium index (mark price minus index price) history for a contract
tofromlimitsettle必填contract必填intervalGet a specific risk limit tier table by table ID.
settle必填table_id必填Get ticker information for futures contracts
settle必填contractGet recent public trades for a futures contract
tofromlimitoffsetsettle必填last_idcontract必填Get constituent assets and weights for a futures index
index必填settle必填Get current funding rates for multiple contracts in one request
settle必填contracts必填Get contract statistics (open interest, long/short ratio, etc.)
fromlimitsettle必填contract必填intervalList market-level ADL risk states List the current ADL risk states of all futures markets for the specified settlement currency
settle必填List all perpetual futures contracts
limitoffsetsettle必填Query all contract information (including delisted)
limitoffsetsettle必填Get futures insurance fund history
limitsettle必填Get personal futures liquidation history.
tofromlimitsettle必填contractGet risk limit tiers for a futures contract
limitoffsetsettle必填contractQuery futures RPI order book Bids will be sorted by price from high to low, while asks sorted reversely
limitsettle必填with_idcontract必填intervalGet margin leverage tiers for a currency pair
currency_pair必填Get details of a specific unified margin currency pair
currency_pair必填List all currency pairs supported for unified margin lending
無需輸入參數。
Get current interest rates for specified currencies in multi-collateral loans (public)
vip_levelcurrencies必填Get available fixed interest rates for multi-collateral loans (public)
無需輸入參數。
Get LTV (Loan-to-Value) ratios for multi-collateral loans (public)
無需輸入參數。
List all supported currencies for multi-collateral loans (public)
無需輸入參數。
Get details of a single options contract
contract必填Get a single options settlement record
at必填contract必填underlying必填Get options candlestick data
tofromlimitcontract必填intervalList all options contracts for an underlying
expirationunderlying必填List option expiration dates for an underlying
underlying必填Get options order book
limitwith_idcontract必填intervalList options settlement history for an underlying
tofromlimitoffsetunderlying必填Get options tickers for an underlying
underlying必填List public options trades
tofromtypelimitoffsetcontractGet candlestick data for an options underlying index
tofromlimitintervalunderlying必填Get ticker data for all contracts under an underlying
underlying必填List all options underlying assets
無需輸入參數。
Get details of a single currency
currency必填Get details of a single currency pair
currency_pair必填Get candlestick/OHLCV data for a currency pair
tofromlimitintervalcurrency_pair必填Get spot insurance fund history for a currency
to必填from必填pagelimitbusiness必填currency必填Get the order book for a currency pair
limitwith_idintervalcurrency_pair必填Get ticker information for one or all currency pairs
timezonecurrency_pairGet recent trades for a currency pair
tofrompagelimitlast_idreversecurrency_pair必填List all currencies supported
無需輸入參數。
List all available spot trading pairs
無需輸入參數。
Get the RPI order book Get the RPI order book, with bids sorted by descending price and asks by ascending price.
limitwith_idintervalcurrency_pair必填List live stream replays from Gate Square
tagcoinsortlimitSearch Gate Square content using AI (posts, analysis, signals)
pagesortlimitkeywordcurrencytime_rangeQuery supported exchanges Query stock spot supported exchanges and whether stock transfers are supported. Rate limit: 5 qps.
無需輸入參數。
Query fee rates for Japanese and Korean stocks Query fee rates for Japanese and Korean stocks. Rate limit: 5 qps.
無需輸入參數。
Query market order book Rate limit: 5 qps.
symbol必填Query symbol details Rate limit: 5 qps.
pagesymbolsexchangepage_sizeQuery symbol list Rate limit: 5 qps.
pagesymbolsexchangepage_sizewith_desc_i18nCalculate portfolio margin for hypothetical positions (read-only simulation).
body必填Get historical loan rates for a currency.
pagetierlimitcurrency必填List currency discount tiers for unified account collateral
無需輸入參數。
List loan margin tiers for unified account
無需輸入參數。
List currencies supported in unified account.
currencyList chains supported for a currency
currency必填已滿足適用檢查項的 100%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
# Add Private MCP (trading, requires OAuth)mcporter config add gate-mcp --url https://api.gatemcp.ai/mcp/exchange --auth oauth
# Authorize (opens browser to log in)mcporter auth gate-mcp{ "mcpServers": { "Gate": { "url": "https://api.gatemcp.ai/mcp/exchange", "transport": "streamable-http", "headers": { "Content-Type": "application/json", "Accept": "application/json, text/event-stream" } } }}{ "mcpServers": { "Gate": { "url": "https://api.gatemcp.ai/mcp", "transport": "streamable-http", "headers": { "Content-Type": "application/json", "Accept": "application/json, text/event-stream" } } }}{ "mcpServers": { "Gate-Dex": { "url": "https://api.gatemcp.ai/mcp/dex", "headers": { "x-api-key": "MCP_AK_8W2N7Q", "Authorization": "Bearer ${GATE_MCP_TOKEN}" } } }}{ "mcpServers": { "Gate-Info": { "url": "https://api.gatemcp.ai/mcp/info" }, "Gate-News": { "url": "https://api.gatemcp.ai/mcp/news" } }}# Global installnpm install -g mcporter
# Verify installationmcporter --version# Add Private MCP (trading, OAuth)mcporter config add gate-mcp --url https://api.gatemcp.ai/mcp/exchange --auth oauth
# Authorize (opens browser to log in)mcporter auth gate-mcp
# Add DEX MCPmcporter config add gate-dex --url https://api.gatemcp.ai/mcp/dex
# Add Info MCP (no auth)mcporter config add gate-info --url https://api.gatemcp.ai/mcp/info
# Add News MCP (no auth)mcporter config add gate-news --url https://api.gatemcp.ai/mcp/newsbrew install claude-code# Full trading (OAuth)claude mcp add --transport http Gate https://api.gatemcp.ai/mcp/exchange# Restart Claude CLI after authorization is complete
# Info (no auth)claude mcp add --transport http Gate-Info https://api.gatemcp.ai/mcp/info
# News (no auth)claude mcp add --transport http Gate-News https://api.gatemcp.ai/mcp/news
claude mcp list{ "mcpServers": { "gate": { "command": "npx", "args": [ "-y", "mcp-remote@latest", "https://api.gatemcp.ai/mcp/exchange" ] }, "gate-info": { "command": "npx", "args": [ "-y", "mcp-remote@latest", "https://api.gatemcp.ai/mcp/info" ] }, "gate-news": { "command": "npx", "args": [ "-y", "mcp-remote@latest", "https://api.gatemcp.ai/mcp/news" ] } }}{ "mcpServers": { "gate": { "command": "npx", "args": [ "-y", "mcp-remote@latest", "https://api.gatemcp.ai/mcp/exchange" ] }, "gate-info": { "command": "npx", "args": [ "-y", "mcp-remote@latest", "https://api.gatemcp.ai/mcp/info" ] }, "gate-news": { "command": "npx", "args": [ "-y", "mcp-remote@latest", "https://api.gatemcp.ai/mcp/news" ] } }}{ "mcpServers": { "Gate": { "command": "python3", "args": ["/path/to/gate-mcp-proxy.py"] } }}{ "mcpServers": { "gate-mcp": { "command": "npx", "args": ["-y", "gate-mcp"], "type": "stdio" } }}{ "mcpServers": { "gate-mcp": { "command": "npx", "args": ["-y", "gate-mcp"], "type": "stdio", "env": { "GATE_API_KEY": "your-api-key", "GATE_API_SECRET": "your-api-secret" } } }}