Gate DEX MCP

io.github.gateio-dev由 GitHub 账号 gateio-dev 发布v1.0.0更新于 Oct 29, 2026

Gate DEX MCP for wallet auth, transfers, swaps, token info, market data, and RPC access.

已验证Streamable HTTP可网页运行数据库金融

概览

AI 生成的概览

Gate DEX MCP 让助手管理链上钱包、询价并执行兑换与转账,并读取多条链上的代币与行情数据。

可以做什么
  • 通过 Google 或 Gate OAuth 设备流程登录与登出,并把 Gate 交易所 UID 绑定到会话。
  • 读取钱包地址、带价格的代币余额、链配置,以及交易与兑换历史。
  • 获取兑换报价、暂存兑换会话、签署授权与兑换交易,并广播已签名交易。
  • 生成转账与授权预览、估算 gas、获取 Solana 未签名转账,并发送原始交易。
  • 查询代币信息、安全审计、涨跌排行、新上线代币、可兑换与跨链代币列表、K 线、成交量统计和资金池流动性。
  • 代理区块链节点的 JSON-RPC 调用,并登记 agentic 钱包地址。
适用场景
当助手需要通过 Gate 关联钱包处理链上资产时使用:查看余额、研究代币与资金池,或准备并提交兑换和转账。若只需只读行情数据,Gate 另有免认证端点,无需安装此项。
运行要求
远程 streamable HTTP 端点;DEX 端点需要 Google 或 Gate OAuth 登录,README 的 DEX 客户端配置还显示 x-api-key 请求头和来自环境变量的 bearer token。DEX 钱包需要 Gate 账户。仅在使用基于 npm 的客户端或代理时需要 Node.js 18 或更高版本。
安装前请注意
该服务器可以转移资金:签名与广播工具会发送真实的链上交易,x402 请求工具可用 USDC 或 SPL 为 HTTP 请求付费。登录工具会替换已保存的会话令牌,可能把会话切换到另一个账户。请勿泄露轮询密钥,并在签名前就每笔转账、授权和兑换与用户确认。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Gate DEX MCP,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

交给智能体安装

把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。

阅读 https://sourceweft.com/mcp/io.github.gateio-dev%2Fgate-dex/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。

查看智能体所依据的安装指南

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。

{
  "mcpServers": {
    "gate-dex": {
      "type": "http",
      "url": "https://api.gatemcp.ai/mcp/dex"
    }
  }
}

README

Gate MCP Server

[License: MIT] [MCP]

English | 中文


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 data — Spot/futures standard and RPI depth, options, delivery, margin, Earn, Alpha, CFD, stocks, collateral-loan parameters, unified-account simulation and Square (no OAuth)
  • Trading and strategies — Spot/futures/options/delivery orders, POV, Chase, trigger orders, Trail and strategy bots
  • Account and wallet — Balances, account transfers, deposit/withdrawal history, deposit addresses, unified accounts and wallet-level sub-account balances/transfers
  • Earn and allocation — Auto investment, ordinary/stock dual investment, fixed-term and flexible lending, multi-collateral loans, flash swap and portfolio optimization
  • CFD and stocks — Market information and authorized account, order, position and fund operations as separate domains
  • 🌐 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:

EndpointAuthTools
https://api.gatemcp.ai/mcpNoneCEX public data and simulation (83 tools; see business table below)
https://api.gatemcp.ai/mcp/exchangeOAuth2CEX private trading/account tools (source registration ceiling 310; filtered by authorization and operational policies)
https://api.gatemcp.ai/mcp/dexGoogle / Gate OAuthDEX wallet & swap (33 tools: auth, wallet, chain config, transfer, swap, market data, token info, agentic, RPC across 20+ chains)
https://api.gatemcp.ai/mcp/infoNoneCoin info & analysis (32 tools: coins, snapshots, trends, on-chain, platform metrics, macro, market detail)
https://api.gatemcp.ai/mcp/open/infoNoneGate Info submission surface (exactly 7 tools: coin profile, market overview/snapshots, kline, order book, recent trades)
https://api.gatemcp.ai/mcp/newsNoneNews & research (18 tools: news/UGC/X/web, announcements, sentiment, events, prediction markets)
https://api.gatemcp.ai/mcp/docsNoneDocs research (3 tools: research search, coin research, papers)
  • 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.

bash
# 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

Scopes (for /mcp/exchange)

Requirements for base, spot_trade, futures_trade, earn, cfd, stock depend on the tool and account type. In ordinary matching, base includes read and asset and is not read-only. Ordinary tokens retain per-tool OR compatibility with legacy scopes; Agentic accounts have separate read/write overrides and denied operations. mcp:tools does not replace a business scope.

See the per-tool permissions and authorization/PKCE resource reference. The connected endpoint's tools/list determines visibility; default scope advertisement does not establish application choices in every environment.

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:

json
{  "mcpServers": {    "Gate": {      "url": "https://api.gatemcp.ai/mcp/exchange",      "transport": "streamable-http",      "headers": {        "Content-Type": "application/json",        "Accept": "application/json, text/event-stream"      }    }  }}

For market data only (no auth):

json
{  "mcpServers": {    "Gate": {      "url": "https://api.gatemcp.ai/mcp",      "transport": "streamable-http",      "headers": {        "Content-Type": "application/json",        "Accept": "application/json, text/event-stream"      }    }  }}

For DEX (on-chain wallet, swap):

json
{  "mcpServers": {    "Gate-Dex": {      "url": "https://api.gatemcp.ai/mcp/dex",      "headers": {        "x-api-key": "MCP_AK_8W2N7Q",        "Authorization": "Bearer ${GATE_MCP_TOKEN}"      }    }  }}

For Info & News (no auth):

json
{  "mcpServers": {    "Gate-Info": {      "url": "https://api.gatemcp.ai/mcp/info"    },    "Gate-News": {      "url": "https://api.gatemcp.ai/mcp/news"    }  }}

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 -v and npm -v
  • Gate account (for OAuth login when using /mcp/exchange)
Install mcporter
bash
# Global installnpm install -g mcporter
# Verify installationmcporter --version

Alternatively, run without installing: npx mcporter <command> (uses current Node.js/npm).

Add MCP and authorize
bash
# 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/news

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
bash
brew 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

Trae

Edit Trae settings. Uses mcp-remote to proxy HTTP MCP (OAuth prompt on first connect for /mcp/exchange):

json
{  "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"      ]    }  }}

Qoder

Edit Qoder MCP settings (e.g. ~/.qoder/mcp.json or in Qoder settings):

json
{  "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"      ]    }  }}

Claude Desktop

Claude Desktop supports remote custom connectors; a local proxy is not mandatory. Connect to https://api.gatemcp.ai/mcp for public data or use https://api.gatemcp.ai/mcp/exchange with Gate OAuth2 for authorized private tools.

The repository's Python stdio proxy is an optional public-data compatibility path, without OAuth or SSE parsing. See Claude Desktop setup.

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:

json
{  "mcpServers": {    "gate-mcp": {      "command": "npx",      "args": ["-y", "gate-mcp"],      "type": "stdio"    }  }}

With API key authentication:

json
{  "mcpServers": {    "gate-mcp": {      "command": "npx",      "args": ["-y", "gate-mcp"],      "type": "stdio",      "env": {        "GATE_API_KEY": "your-api-key",        "GATE_API_SECRET": "your-api-secret"      }    }  }}

You can add GATE_MODULES, GATE_READONLY, or GATE_BASE_URL inside env as needed. Click Test connection before saving.

Other Clients

ClientGuide
Claude.aisetup
Codex Appsetup
Codex CLIsetup
OpenClawsetup
TraeSee Trae config above
QoderSee Qoder config above

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 OAuth, 83 tools)

Inventory reference: service version v1.16.7, checked on 2026-11-04. The public name set was checked against the live directory on that date. Counts below separate the two endpoints; private does not include public tools.

BusinessPublic /mcpPrivate /mcp/exchange
Spot1027
Futures1854
Margin317
Options1217
Delivery821
Wallet122
Unified account522
Account management010
Rebate010
Flash swap18
Earn742
Alpha36
CFD / TradFi416
Stock511
Multi-collateral loan48
Strategy bots / AIHub012
Portfolio optimization / AssetSwap07
Square20
Total83310

Private MCP (/mcp/exchange — OAuth2, source ceiling 310 tools)

Token permissions, account type and operational policies determine visibility; not every user sees 310 tools. Remote sub-account/API-key administration, CrossEx, P2P, activity, coupon, welfare and Launch products are retired. Wallet-level sub-account balances/transfers remain separate from retired administration.

See the remote tool catalogue for names/permissions and CEX reference for inputs, examples, Trail responses and errors.

DEX — Authentication

ToolDescription
dex_auth_google_login_startStart Google OAuth login flow, returns verification URL
dex_auth_google_login_pollPoll login status, returns mcp_token on success
dex_auth_login_google_walletLogin with Google OAuth authorization code
dex_auth_gate_login_startStart Gate OAuth login flow, returns verification URL
dex_auth_gate_login_pollPoll Gate OAuth login status, returns mcp_token on success
dex_auth_login_gate_walletLogin directly with Gate OAuth authorization code
dex_auth_logoutRevoke current session

DEX — Wallet

ToolDescription
dex_wallet_get_addressesGet wallet addresses for each chain (EVM, Solana)
dex_wallet_get_token_listToken balances with prices and pagination
dex_wallet_get_total_assetTotal portfolio value and 24h change
dex_wallet_sign_messageSign a message with wallet private key (EVM / Solana)
dex_wallet_sign_transactionSign a raw transaction with wallet private key

DEX — Chain & Transactions

ToolDescription
dex_chain_configChain configuration (chain ID, capabilities)
dex_tx_gasEstimate gas price and gas limit
dex_tx_transfer_previewPreview transfer details before signing
dex_tx_approve_previewToken approval preview: build ERC20/SPL approve transaction
dex_tx_get_sol_unsignedBuild unsigned Solana SOL transfer with latest blockhash
dex_tx_send_raw_transactionBroadcast signed transaction on-chain
dex_tx_quoteSwap quote with route, price impact and gas estimation
dex_tx_swapOne-click swap: quote → build → sign → submit
dex_tx_swap_detailQuery swap order status by order ID
dex_tx_list / dex_tx_detail / dex_tx_history_listTransaction & swap / bridge history

DEX — Market Data & Token Info

ToolDescription
dex_market_get_klineK-line (candlestick) data: 1m, 5m, 1h, 4h, 1d
dex_market_get_tx_statsTrading volume and trader statistics (5m / 1h / 4h / 24h)
dex_market_get_pair_liquidityLiquidity pool add / remove events
dex_token_list_swap_tokensAvailable tokens for swap on a given chain
dex_token_list_cross_chain_bridge_tokensBridgeable tokens for cross-chain transfers
dex_token_get_coin_infoToken info: price, market cap, supply, holder distribution
dex_token_ranking24h top gainers / top losers
dex_token_get_coins_range_by_created_atDiscover new tokens by creation time range
dex_token_get_risk_infoSecurity audit: honeypot, buy/sell tax, blacklist, permissions

DEX — Agentic & RPC

ToolDescription
dex_agentic_reportReport agentic wallet addresses to wallet service
dex_rpc_callExecute JSON-RPC call to blockchain node

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):

CategoryTools
Coininfo_coin_get_coin_info, info_coin_search_coins, info_coin_get_coin_rankings
Market snapshotinfo_marketsnapshot_get_market_snapshot, info_marketsnapshot_batch_market_snapshot, info_marketsnapshot_get_market_overview, info_marketsnapshot_get_institutional_metrics
Market trendinfo_markettrend_get_kline, info_markettrend_get_indicator_history, info_markettrend_get_technical_analysis
On-chaininfo_onchain_get_address_info, info_onchain_get_address_transactions, info_onchain_get_transaction, info_onchain_get_token_onchain
Complianceinfo_compliance_check_token_security
Platform metricsinfo_platformmetrics_get_platform_info, info_platformmetrics_search_platforms, info_platformmetrics_get_defi_overview, info_platformmetrics_get_stablecoin_info, info_platformmetrics_get_bridge_metrics, info_platformmetrics_get_yield_pools, info_platformmetrics_get_platform_history, info_platformmetrics_get_exchange_reserves, info_platformmetrics_get_liquidation_heatmap, info_platformmetrics_get_cex_orderbook_depth, info_platformmetrics_get_chain_activity
Macroinfo_macro_get_macro_indicator, info_macro_get_economic_calendar, info_macro_get_macro_summary
Market detailinfo_marketdetail_get_orderbook, info_marketdetail_get_recent_trades, info_marketdetail_get_kline

Open Info (/mcp/open/info — 7 tools, no auth)

ChatGPT / OpenAI Apps submission allowlist only. Full parameter tables: gate-open-info-mcp.

CategoryTools
Coininfo_coin_get_coin_info
Market snapshotinfo_marketsnapshot_get_market_overview, info_marketsnapshot_get_market_snapshot, info_marketsnapshot_batch_market_snapshot
Market detailinfo_marketdetail_get_kline, info_marketdetail_get_orderbook, info_marketdetail_get_recent_trades

News (/mcp/news — 18 tools, no auth)

Public, read-only news and social research. Categories (full parameter tables: gate-news-mcp):

CategoryTools
News feednews_feed_search_news, news_feed_web_search, news_feed_search_x, news_feed_search_ugc, news_feed_get_exchange_announcements, news_feed_get_social_sentiment, news_feed_get_mention_burst, news_feed_get_hot_topics
Eventsnews_events_get_latest_events, news_events_get_event_detail, news_events_explain_market_move, news_events_get_market_move_report, news_events_list_market_move_reports
Predictionnews_prediction_get_volume_delta_ranking, news_prediction_get_fastest_rising_ranking, news_prediction_get_market_orderbook, news_prediction_search_events, news_prediction_get_event_signal

MCP Resources

The /mcp and /mcp/exchange endpoints also expose MCP Resources for static reference data:

Resource URIDescription
gate://spot/currency_pairsAll spot trading pairs
gate://spot/currenciesAll supported currencies
gate://futures/contracts/usdtUSDT-settled futures contracts
gate://futures/contracts/btcBTC-settled futures contracts
gate://futures/contracts/{settle}Futures contracts by settlement currency

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 /mcp/exchange with Gate OAuth2 for authorized spot, futures, CFD, stock, Earn and strategy operations. Connect separately to /mcp for public data. Sub-account administration is retired; wallet-level sub-account balances/transfers have their own permissions.

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

Report documentation issues through this repository's Issues.

License

MIT © gate.com

来源:README.md,提交 4cb7acf

工具

47

dex_agentic_report

Register agentic wallet addresses with the wallet service.

输入参数wallets必填mcp_token

dex_auth_gate_login_poll

Poll Gate OAuth; returns pending/ok/error. [write] On ok: replace mcp_token unless linked_to_google_session is true. Pass auto_replace_binding=true to rebind exchange UID on new Gate session.

输入参数flow_id必填poll_secret必填auto_replace_binding

dex_auth_gate_login_start

Start Gate device login. Show verification_uri and user_code to the user. Keep poll_secret for polling and do not show it. Pass link_mcp_token on a Google session to bind Gate UID without replacing mcp_token.

输入参数link_mcp_token

dex_auth_google_login_poll

Poll Google device login; returns pending/ok/error. Requires poll_secret from start. [write] On ok: immediately replace stored mcp_token with login_result.mcp_token — new token is tied to a different account.

输入参数flow_id必填poll_secret必填

dex_auth_google_login_start

Starts Google device login. Show verification_uri and user_code to the user. Keep poll_secret for dex_auth_google_login_poll and do not show it to the user.

无需输入参数。

dex_auth_login_gate_wallet

Exchange Gate OAuth code for MCP token. [write] On success, immediately replace any stored mcp_token — new token is tied to a different account.

输入参数code必填redirect_url必填

dex_auth_login_google_wallet

Exchange Google OAuth code for MCP token. [write] On success, immediately replace any stored mcp_token — new token is tied to a different account.

输入参数code必填redirect_url必填

dex_auth_logout

Revoke the MCP session identified by mcp_token.

输入参数mcp_token必填

dex_chain_config

Returns chain config (networkKey, accountKey, chainID). Use the returned chain value in all subsequent transfer/sign/broadcast tools.

输入参数chain必填mcp_token

dex_market_get_kline

OHLCV candles by period and window. Volume aggregates→get_tx_stats. Pool events→get_pair_liquidity.

输入参数chain必填limitperiod必填end_timestart_timepair_addresstoken_address必填

dex_market_get_pair_liquidity

AMM pool deposit and withdrawal events. Candlesticks→get_kline. Volume stats→get_tx_stats.

输入参数chain必填page_sizepage_indexpair_addresstoken_address必填

dex_market_get_tx_stats

Per-interval buy/sell volume and tx counts (5m–24h). Candlesticks→get_kline. Pool events→get_pair_liquidity.

输入参数chain必填pair_addresstoken_address必填

dex_rpc_call

Proxy a JSON-RPC call to a blockchain node.

输入参数chain必填method必填paramsmcp_token

dex_token_get_coin_info

Price, market snapshot, metadata, optional top holders. Security audit→get_risk_info.

输入参数chain必填address必填include_holders

dex_token_get_coins_range_by_created_at

Tokens launched within a given time window; chain optional for all networks.

输入参数end必填chainlimitstart必填

dex_token_get_risk_info

Contract security audit (honeypot, tax, ownership flags). Price and market stats→get_coin_info.

输入参数lanchain必填ignoreaddress必填

dex_token_list_cross_chain_bridge_tokens

Receivable assets on target chain for a source token. Same-chain trading→list_swap_tokens.

输入参数chain必填searchwalletaccount_idsearch_authsource_chain必填source_address必填

dex_token_list_swap_tokens

Tradable assets on a chain; tag selects favorites or recommendations. Bridge targets→list_cross_chain_bridge_tokens.

输入参数tagchainsearchwalletweb3_keyaccount_idsearch_authignore_bridge

dex_token_ranking

Top movers by 24h price change; direction selects gainers vs losers. Single token→get_coin_info.

输入参数chaintop_ndirection必填

dex_tx_approve_preview

Build ERC20/SPL approve or revoke tx (does not broadcast). Sign with dex_wallet_sign_transaction after user confirmation.

输入参数chainnonceowner必填actionamount必填spender必填mcp_tokentoken_minttoken_contracttoken_decimals必填max_fee_per_gasmax_priority_fee_per_gas另有 1 个

dex_tx_detail

Fetch transaction detail by on-chain hash. → swap_detail for swap order detail by order ID.

输入参数hash_id必填mcp_tokenfrom_wallet

dex_tx_gas

Estimate on-chain gas price and gas limit for a given tx.

输入参数to必填datafrom必填chain必填valuenetworkmcp_token

dex_tx_get_sol_unsigned

Solana native only: build a fresh unsigned SOL transfer with a confirmed blockhash. Call only after the user confirms, then dex_wallet_sign_transaction and dex_tx_send_raw_transaction in the same turn. Do not reuse dex_tx_transfer_preview output.

输入参数to必填from必填amount必填mcp_tokenpriority_fee_micro_lamports

dex_tx_list

List wallet transaction history (transfers). → swap_history_list for swap/bridge orders. → tx_detail for single tx by hash.

输入参数cursoraddressend_timepage_nummcp_tokenpage_sizeaccount_id必填start_time

dex_tx_send_raw_transaction

Broadcast a signed tx to the chain. [write] Requires user confirmation after transfer preview and prior signing via dex_wallet_sign_transaction. Solana: pass last_valid_block_height from dex_tx_get_sol_unsigned; an expired blockhash is rejected before the upstream send. account_id/address are auto-filled from the login session when omitted.

输入参数memochain必填nonceaddressnetworkmcp_tokensigned_tx必填account_idtoken_addrtoken_nametrans_timetrans_type另有 9 个

dex_tx_swap_checkin_preview

Returns check-in fields for a swap stage (approve or swap). Call after prepare and before terminal tx-checkin script.

输入参数stage必填mcp_token必填swap_session_id必填

dex_tx_swap_detail

Fetch swap order detail by order ID from swap_submit. → tx_detail for detail by on-chain hash.

输入参数mcp_tokentx_order_id必填

dex_tx_swap_history_list

List swap/bridge order history with pagination; includes single-chain and cross-chain. → tx_list for transfer history.

输入参数end_timepage_numdst_chainmcp_tokenpage_sizesrc_chainaccount_id必填start_time

dex_tx_swap_prepare

Stage a swap session (server-side build only); returns swap_session_id. Does not sign or submit. Call after quote confirmed by user.

输入参数amount必填slippage必填token_in必填mcp_tokennative_in必填to_wallettoken_out必填account_id必填native_out必填chain_id_in必填user_wallet必填chain_id_out必填

dex_tx_swap_quote

Returns swap route and pricing. Call before swap_prepare; show result to user before proceeding. → transfer_preview for direct token send (not exchange).

输入参数amount必填slippage必填token_in必填mcp_tokennative_in必填to_wallettoken_out必填native_out必填chain_id_in必填user_wallet必填chain_id_out必填

dex_tx_swap_sign_approve

[write] Sign the ERC20 approve tx for a staged EVM swap. Requires need_approved=true in prepare result.

输入参数mcp_tokencheckin_token必填swap_session_id必填

dex_tx_swap_sign_swap

[write] Sign the main swap tx for a staged session. EVM: call sign_approve first if need_approved=true. Solana: generates a fresh signable payload.

输入参数mcp_tokencheckin_token必填swap_session_id必填

dex_tx_swap_submit

[write] Broadcast a staged swap to the chain. Does not sign. Requires all signing steps complete (sign_approve if EVM+approval, then sign_swap).

输入参数mcp_tokenswap_session_id必填

dex_tx_transfer_preview

Build a transfer summary (sender, recipient, amount, gas). Does not broadcast. Solana native: returns key_info only — after the user confirms, call dex_tx_get_sol_unsigned and sign that result immediately. Do not sign a Solana transaction built before confirmation. EVM: returns unsigned_tx_hex and txBundle. → swap_quote/swap_prepare for token exchange.

输入参数to必填from必填chainnoncetokenamount必填mcp_tokentoken_minttoken_contracttoken_decimalsmax_fee_per_gasmax_priority_fee_per_gas另有 1 个

dex_tx_x402_checkin_preview

Prepare Gate Verify tx_checkin for x402 (EVM exact / EIP-3009 only): returns tx_checkin.message (64-hex digest) and x402_payment_required_b64 without signing. Flow: 1) this tool 2) Gate Verify tx_checkin with returned tx_checkin fields 3) dex_tx_x402_fetch with same url/body/headers, checkin_token, and the same x402_payment_required_b64. If x402_payment_required_b64 is omitted, performs one HTTP call and requires HTTP 402.

输入参数url必填bodymethodheadersmcp_tokenx402_preferred_networkx402_payment_required_b64

dex_tx_x402_fetch

[write] Send an HTTP request to the given URL. If the server responds with 402 Payment Required, pay via x402 (Coinbase-style: USDC EIP-3009 / Permit2 on EVM, SPL on Solana), retry with PAYMENT-SIGNATURE. REQUIRED: Gate Verify tx_checkin before signing; pass checkin_token. For EVM EIP-3009, use dex_tx_x402_checkin_preview first so the agent does not build digest manually; then pass checkin_token and the same x402_payment_required_b64 from preview. CoinGecko Pro x402: do not send x-cg-pro-api-key; default network Base unless x402_preferred_network=solana.

输入参数url必填bodymethodheadersmcp_tokencheckin_token必填x402_preferred_networkx402_payment_required_b64

dex_wallet_bind_exchange_uid

Bind Gate exchange UID to session. Standalone Gate session only; gateUid must equal login_result.gate_uid from Gate OAuth. → replace_binding to rebind.

输入参数gateUid必填mcp_token

dex_wallet_get_addresses

Returns address map by chain type (EVM, SOL, etc.). Call before transfer/swap tools to get the sender address.

输入参数mcp_tokenaccount_id必填

dex_wallet_get_bindings

Returns current Gate UID binding for the session wallet.

输入参数mcp_token

dex_wallet_get_token_list

Token balances and prices with pagination; filter by network_keys. → get_total_asset for portfolio summary only.

输入参数pagemcp_tokenpage_sizeaccount_idnetwork_keys

dex_wallet_get_total_asset

Total portfolio value and 24h change. → get_token_list for per-token balance detail.

输入参数mcp_tokenaccount_id

dex_wallet_get_wallet_type

Returns walletAddress, walletType, gateUid. With for_withdraw_to_exchange or for_gate_oauth_bind, also starts Gate OAuth when gateUid is missing.

输入参数mcp_tokenaccount_idwallet_addressfor_gate_oauth_bindfor_withdraw_to_exchange

dex_wallet_google_gate_bind_start

Google sessions only: starts Gate OAuth to bind Gate exchange UID to this session. mcp_token stays unchanged after poll.

输入参数mcp_token

dex_wallet_replace_binding

Rebind Gate exchange UID. [write] newUid must equal login_result.gate_uid from a fresh Gate OAuth. Blocked for gate_mcp/gate_quick sessions and Google sessions.

输入参数newUid必填mcp_token

dex_wallet_sign_message

Sign a 32-byte hex message with wallet key. [write] Requires checkin_token from terminal tx-checkin. → sign_transaction for raw tx signing.

输入参数chain必填message必填mcp_tokencheckin_token必填

dex_wallet_sign_transaction

Sign a raw unsigned transaction. [write] Requires user confirmation after transfer preview and checkin_token from terminal tx-checkin. → dex_tx_send_raw_transaction to broadcast.

输入参数chain必填raw_tx必填mcp_tokencheckin_token必填

dex_withdraw_deposit_address

Fetch Gate exchange deposit address for the session-bound Gate UID. [write] amount must be ≥ min_deposit_amount; do not pass uid — it is resolved from the session.

输入参数amount必填mcp_tokenchain_name必填coin_symbol必填token_address

版本历史

1
  1. v1.0.0最新Sep 16, 2026

评分

已满足适用检查项的 100%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通必需25 分
  • 已声明认证方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分