{
  "markdown": "# Gate MCP Server\n\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n[![MCP](https://img.shields.io/badge/MCP-Protocol-blue)](https://modelcontextprotocol.io)\n\n[English](README.md) | [中文](README_zh.md)\n\n---\n\nA Gate MCP (Model Context Protocol) server that enables AI agents to interact with the Gate cryptocurrency exchange for market data, trading, and account management.\n\n## Features\n\n- 🔍 **Public Market Data** - Spot, futures, margin, options, delivery, earn, alpha tickers, order books, K-line, funding rate, liquidation history (**no auth required**)\n- 💹 **Trading** - Create/cancel/amend spot, futures, options, delivery orders; price-triggered orders; trail orders\n- 💼 **Account & Wallet** - Balances, transfers, deposits, withdrawals, sub-accounts, unified account\n- 📊 **Margin & Earn** - Margin loans, earn products, multi-currency flash swap\n- 🎯 **Activity & Welfare** - Activity center, coupons, launch pool, square, welfare\n- 🌍 **TradFi, CrossEx, P2P** - Traditional finance, cross-exchange, P2P trading\n- 🌐 **DEX** - On-chain wallet, swap (single-chain & cross-chain), token info, market data across 20+ chains\n- 📰 **Info** - Coin discovery, market snapshots, technical/platform metrics, on-chain and macro data\n- 📢 **News** - Crypto news, social insights, market events, prediction markets\n- 📚 **Docs** - Research reports, papers, and documentation search\n- 🔐 **OAuth2** - Secure authorization for trading and private tools\n\n## MCP Endpoints\n\nThe service exposes the following MCP endpoints:\n\n| Endpoint | Auth | Tools |\n|----------|------|-------|\n| `https://api.gatemcp.ai/mcp` | None | Public market data (58 tools: spot, futures, margin, options, delivery, earn, alpha, activity, launch pool, square, flash swap) |\n| `https://api.gatemcp.ai/mcp/exchange` | OAuth2 | CEX trading & account (400+ tools: spot/futures/options/delivery/margin trading, wallet, unified account, sub-accounts, earn, flash swap, rebate, TradFi, CrossEx, P2P, Alpha, activity center, coupon, launch pool, square, welfare) |\n| `https://api.gatemcp.ai/mcp/dex` | Google / Gate OAuth | DEX wallet & swap (33 tools: auth, wallet, chain config, transfer, swap, market data, token info, agentic, RPC across 20+ chains) |\n| `https://api.gatemcp.ai/mcp/info` | None | Coin info & analysis (32 tools: coins, snapshots, trends, on-chain, platform metrics, macro, market detail) |\n| `https://api.gatemcp.ai/mcp/news` | None | News & research (18 tools: news/UGC/X/web, announcements, sentiment, events, prediction markets) |\n| `https://api.gatemcp.ai/mcp/docs` | None | Docs research (3 tools: research search, coin research, papers) |\n\n- **Market data only** → Use `/mcp` (no Gate account needed)\n- **CEX trading, balances, transfers** → Use `/mcp/exchange` (Gate OAuth2 required)\n- **DEX wallet, swap, on-chain** → Use `/mcp/dex` (Google / Gate OAuth required)\n- **Coin info, technical analysis** → Use `/mcp/info` (no auth)\n- **News, announcements** → Use `/mcp/news` (no auth)\n- **Research docs & papers** → Use `/mcp/docs` (no auth)\n\nTransport: Streamable HTTP (with SSE fallback).\n\n## Authorization (OAuth2)\n\n**`/mcp/exchange` requires Gate OAuth2; `/mcp/dex` requires Google or Gate OAuth.** The endpoints `/mcp`, `/mcp/info`, `/mcp/news`, and `/mcp/docs` do not require any authentication.\n\n### Using mcporter\n\n> **Prerequisites**: Node.js >= 18, npm. See [Quick Start - mcporter](#mcporter--openclaw-recommended) for full installation steps.\n\n```bash\n# Add Private MCP (trading, requires OAuth)\nmcporter config add gate-mcp --url https://api.gatemcp.ai/mcp/exchange --auth oauth\n\n# Authorize (opens browser to log in)\nmcporter auth gate-mcp\n```\n\n### Scopes (for `/mcp/exchange`)\n\n| Scope | Use |\n|-------|-----|\n| `market` | Public market data (tickers, order books, K-line, etc.) |\n| `profile` | Account info, orders, positions (read-only) |\n| `trade` | Create/cancel/amend orders |\n| `wallet` | Transfers, deposits, withdrawals |\n| `account` | Unified account, sub-accounts |\n\n## Quick Start\n\n### Prerequisites\n\n- **Gate account** (required only for `/mcp/exchange`)\n- MCP-compatible client (Cursor, Claude CLI, Trae, OpenClaw, etc.)\n- **Node.js** >= 18 (for mcporter, Trae, Qoder, and other npm-based clients)\n- **Python** >= 3.9 (optional, for Claude Desktop proxy)\n\n### Cursor\n\n#### Method 1: One-click Install (Recommended)\n\nJust paste the following into the Cursor AI chat — the agent will auto-install all Gate MCP servers and Skills:\n\n> Help me auto install Gate Skills and MCPs: https://github.com/gate/gate-skills\n\nSee [gate-skills](https://github.com/gate/gate-skills) for details.\n\n#### Method 2: Manual Configuration\n\n**For full trading (OAuth on connect):**\n\nEdit `~/.cursor/mcp.json`:\n\n```json\n{\n  \"mcpServers\": {\n    \"Gate\": {\n      \"url\": \"https://api.gatemcp.ai/mcp/exchange\",\n      \"transport\": \"streamable-http\",\n      \"headers\": {\n        \"Content-Type\": \"application/json\",\n        \"Accept\": \"application/json, text/event-stream\"\n      }\n    }\n  }\n}\n```\n\n**For market data only (no auth):**\n\n```json\n{\n  \"mcpServers\": {\n    \"Gate\": {\n      \"url\": \"https://api.gatemcp.ai/mcp\",\n      \"transport\": \"streamable-http\",\n      \"headers\": {\n        \"Content-Type\": \"application/json\",\n        \"Accept\": \"application/json, text/event-stream\"\n      }\n    }\n  }\n}\n```\n\n**For DEX (on-chain wallet, swap):**\n\n```json\n{\n  \"mcpServers\": {\n    \"Gate-Dex\": {\n      \"url\": \"https://api.gatemcp.ai/mcp/dex\",\n      \"headers\": {\n        \"x-api-key\": \"MCP_AK_8W2N7Q\",\n        \"Authorization\": \"Bearer ${GATE_MCP_TOKEN}\"\n      }\n    }\n  }\n}\n```\n\n**For Info & News (no auth):**\n\n```json\n{\n  \"mcpServers\": {\n    \"Gate-Info\": {\n      \"url\": \"https://api.gatemcp.ai/mcp/info\"\n    },\n    \"Gate-News\": {\n      \"url\": \"https://api.gatemcp.ai/mcp/news\"\n    }\n  }\n}\n```\n\nSee [Cursor setup](docs/setup-cursor.md).\n\n### mcporter / OpenClaw\n\n#### Method 1: One-click Install (Recommended)\n\nJust paste the following into the OpenClaw AI chat — the agent will auto-install all Gate MCP servers and Skills:\n\n> Help me auto install Gate Skills and MCPs: https://github.com/gate/gate-skills\n\nSee [gate-skills](https://github.com/gate/gate-skills) for details.\n\n#### Method 2: Manual Configuration\n\n##### Prerequisites (before installing mcporter)\n\n- **Node.js** >= 18 (mcporter requires npm)\n- **npm** (comes with Node.js) — verify with: `node -v` and `npm -v`\n- **Gate account** (for OAuth login when using `/mcp/exchange`)\n\n##### Install mcporter\n\n```bash\n# Global install\nnpm install -g mcporter\n\n# Verify installation\nmcporter --version\n```\n\nAlternatively, run without installing: `npx mcporter <command>` (uses current Node.js/npm).\n\n##### Add MCP and authorize\n\n```bash\n# Add Private MCP (trading, OAuth)\nmcporter config add gate-mcp --url https://api.gatemcp.ai/mcp/exchange --auth oauth\n\n# Authorize (opens browser to log in)\nmcporter auth gate-mcp\n\n# Add DEX MCP\nmcporter config add gate-dex --url https://api.gatemcp.ai/mcp/dex\n\n# Add Info MCP (no auth)\nmcporter config add gate-info --url https://api.gatemcp.ai/mcp/info\n\n# Add News MCP (no auth)\nmcporter config add gate-news --url https://api.gatemcp.ai/mcp/news\n```\n\nSee [OpenClaw setup](docs/setup-openclaw.md) for detailed steps.\n\n### Claude CLI\n\n#### Method 1: One-click Install (Recommended)\n\nJust paste the following into Claude CLI — the agent will auto-install all Gate MCP servers and Skills:\n\n> Help me auto install Gate Skills and MCPs: https://github.com/gate/gate-skills\n\nSee [gate-skills](https://github.com/gate/gate-skills) for details.\n\n#### Method 2: Manual Configuration\n\n```bash\nbrew install claude-code\n# Full trading (OAuth)\nclaude mcp add --transport http Gate https://api.gatemcp.ai/mcp/exchange\n# Restart Claude CLI after authorization is complete\n\n# Info (no auth)\nclaude mcp add --transport http Gate-Info https://api.gatemcp.ai/mcp/info\n\n# News (no auth)\nclaude mcp add --transport http Gate-News https://api.gatemcp.ai/mcp/news\n\nclaude mcp list\n```\n\n### Trae\n\nEdit Trae settings. Uses `mcp-remote` to proxy HTTP MCP (OAuth prompt on first connect for `/mcp/exchange`):\n\n```json\n{\n  \"mcpServers\": {\n    \"gate\": {\n      \"command\": \"npx\",\n      \"args\": [\n        \"-y\",\n        \"mcp-remote@latest\",\n        \"https://api.gatemcp.ai/mcp/exchange\"\n      ]\n    },\n    \"gate-info\": {\n      \"command\": \"npx\",\n      \"args\": [\n        \"-y\",\n        \"mcp-remote@latest\",\n        \"https://api.gatemcp.ai/mcp/info\"\n      ]\n    },\n    \"gate-news\": {\n      \"command\": \"npx\",\n      \"args\": [\n        \"-y\",\n        \"mcp-remote@latest\",\n        \"https://api.gatemcp.ai/mcp/news\"\n      ]\n    }\n  }\n}\n```\n\n### Qoder\n\nEdit Qoder MCP settings (e.g. `~/.qoder/mcp.json` or in Qoder settings):\n\n```json\n{\n  \"mcpServers\": {\n    \"gate\": {\n      \"command\": \"npx\",\n      \"args\": [\n        \"-y\",\n        \"mcp-remote@latest\",\n        \"https://api.gatemcp.ai/mcp/exchange\"\n      ]\n    },\n    \"gate-info\": {\n      \"command\": \"npx\",\n      \"args\": [\n        \"-y\",\n        \"mcp-remote@latest\",\n        \"https://api.gatemcp.ai/mcp/info\"\n      ]\n    },\n    \"gate-news\": {\n      \"command\": \"npx\",\n      \"args\": [\n        \"-y\",\n        \"mcp-remote@latest\",\n        \"https://api.gatemcp.ai/mcp/news\"\n      ]\n    }\n  }\n}\n```\n\n### Claude Desktop\n\nClaude Desktop requires a local stdio proxy.\n\n1. Download the [Python proxy file](gate-mcp-proxy.py)\n2. Edit `~/Library/Application Support/Claude/claude_desktop_config.json`:\n\n```json\n{\n  \"mcpServers\": {\n    \"Gate\": {\n      \"command\": \"python3\",\n      \"args\": [\"/path/to/gate-mcp-proxy.py\"]\n    }\n  }\n}\n```\n\nSee [Claude Desktop setup](docs/setup-claude-desktop.md) for detailed instructions.\n\n### Alternative: gate-local-mcp (local stdio with API keys)\n\nFor local development without OAuth, use [gate-local-mcp](https://github.com/gate/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`.\n\n**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`.\n\nFull tool list: [gate-local-mcp-tools.md](gate-exchange/gate-local-mcp-tools.md).\n\n#### LobeHub (desktop)\n\nOn the [LobeHub MCP marketplace](https://lobehub.com/zh/mcp/gate-gate-mcp) this server appears as identifier `gate-gate-mcp`. The **npm package name is `gate-mcp`** — run `npx -y gate-mcp`, not `gate-gate-mcp`.\n\nPer [LobeHub custom MCP](https://lobehub.com/zh/docs/usage/community/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.\n\n**Public endpoints only:**\n\n```json\n{\n  \"mcpServers\": {\n    \"gate-mcp\": {\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"gate-mcp\"],\n      \"type\": \"stdio\"\n    }\n  }\n}\n```\n\n**With API key authentication:**\n\n```json\n{\n  \"mcpServers\": {\n    \"gate-mcp\": {\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"gate-mcp\"],\n      \"type\": \"stdio\",\n      \"env\": {\n        \"GATE_API_KEY\": \"your-api-key\",\n        \"GATE_API_SECRET\": \"your-api-secret\"\n      }\n    }\n  }\n}\n```\n\nYou can add `GATE_MODULES`, `GATE_READONLY`, or `GATE_BASE_URL` inside `env` as needed. Click **Test connection** before saving.\n\n### Other Clients\n\n| Client | Guide |\n|--------|-------|\n| Claude.ai | [setup](docs/setup-claude-ai.md) |\n| Codex App | [setup](docs/setup-codex-app.md) |\n| Codex CLI | [setup](docs/setup-codex-cli.md) |\n| OpenClaw | [setup](docs/setup-openclaw.md) |\n| Trae | See Trae config above |\n| Qoder | See Qoder config above |\n\n### Basic Usage\n\n**Query Price**\n> What's the current price of BTC/USDT?\n\n**Get Order Book**\n> Show me the order book for ETH/USDT\n\n**K-line Data**\n> Get the daily K-line data for BTC over the last 7 days\n\n---\n\n## Available Tools\n\nAll tools use the `cex_` prefix. Tools are split between Public MCP (no auth) and Private MCP (OAuth2).\n\n### Public MCP (`/mcp` — no auth, 58 tools)\n\n| Business | Tools | Description |\n|----------|-------|-------------|\n| **Spot** | 8 | `cex_spot_list_currencies`, `cex_spot_get_currency`, `cex_spot_list_currency_pairs`, `cex_spot_get_currency_pair`, `cex_spot_get_spot_tickers`, `cex_spot_get_spot_order_book`, `cex_spot_get_spot_trades`, `cex_spot_get_spot_candlesticks` |\n| **Futures** | 14 | Contracts, order book, trades, candlesticks, tickers, funding rate, premium index, liquidation, contract stats, insurance ledger, index constituents, batch funding rates, risk limit tiers |\n| **Margin** | 3 | `cex_margin_list_uni_currency_pairs`, `cex_margin_get_uni_currency_pair`, `cex_margin_get_market_margin_tier` |\n| **Options** | 12 | Underlyings, expirations, contracts, settlements, order book, tickers, candlesticks, trades |\n| **Delivery** | 8 | Contracts, order book, trades, candlesticks, tickers, insurance ledger, risk limit tiers |\n| **Earn** | 5 | `cex_earn_list_dual_investment_plans`, `cex_earn_list_structured_products`, `cex_earn_list_uni_currencies`, `cex_earn_list_earn_fixed_term_products`, `cex_earn_list_earn_fixed_term_products_by_asset` |\n| **Alpha** | 3 | `cex_alpha_list_alpha_currencies`, `cex_alpha_list_alpha_tickers`, `cex_alpha_list_alpha_tokens` |\n| **Activity** | 1 | `cex_activity_list_activity_types` |\n| **Launch** | 1 | `cex_launch_list_launch_pool_projects` |\n| **Square** | 2 | `cex_square_list_square_ai_search`, `cex_square_list_live_replay` |\n| **Flash Swap** | 1 | `cex_fc_list_fc_currency_pairs` |\n\n### Private MCP (`/mcp/exchange` — OAuth2, 400+ tools)\n\n> **Note**: The private endpoint does not include public market data tools. Use `/mcp` for market data queries.\n\n| Business | Scope | Key Tools |\n|----------|-------|-----------|\n| **Spot** | profile / trade | Accounts, orders, trades, batch orders, price-triggered orders, countdown cancel, cross liquidate |\n| **Futures** | profile / trade | Accounts, positions, orders, trades, dual positions, trail orders, price-triggered, BBO orders |\n| **Margin** | profile / trade | Margin accounts, loans, auto-repay, uni loans |\n| **Options** | profile / trade | Account, positions, orders, MMP settings |\n| **Delivery** | profile / trade | Accounts, positions, orders, price-triggered orders |\n| **Wallet** | wallet | Total balance, transfers, deposits, withdrawals, deposit address, SA balances, small balance convert |\n| **Unified** | account | Unified accounts, mode, loans, risk units, borrowable, collateral, leverage config |\n| **Sub-account** | account | Create/list/lock/unlock SA, API keys |\n| **Account** | account | Account detail, main keys, rate limit, debit fee, STP groups |\n| **Rebate** | profile | Agency/partner/broker commission history, user info |\n| **Flash Swap** | profile / trade | `cex_fc_list_fc_currency_pairs`, `cex_fc_list_fc_orders`, `cex_fc_create_fc_order_v1`, multi-currency flash swap |\n| **Earn** | profile / trade | Dual/structured/uni products, orders, ETH2 swap, lend records |\n| **Alpha** | profile / trade | Alpha accounts, orders, quote/place |\n| **TradFi** | profile / trade | Categories, symbols, MT5 account, assets, orders, positions |\n| **CrossEx** | profile / trade | Rule symbols, account, positions, orders, transfers, convert |\n| **P2P** | profile / trade | User info, ads, chats, transactions, confirm payment/receipt |\n| **Activity** | profile | Activity types, recommended activities, user participation |\n| **Coupon** | profile | User coupons, coupon details |\n| **Launch Pool** | profile / trade | LaunchPool projects, pledge/redeem, reward records |\n| **Square** | market | AI search, live replay |\n| **Welfare** | profile | Beginner eligibility, task list and rewards |\n\nFor full tool parameters, see [Gate API Docs](https://www.gate.com/docs/developers/apiv4) or [gate-exchange-mcp](gate-exchange/gate-exchange-mcp.md).\n\n### DEX — Authentication\n\n| Tool | Description |\n|------|-------------|\n| `dex_auth_google_login_start` | Start Google OAuth login flow, returns verification URL |\n| `dex_auth_google_login_poll` | Poll login status, returns mcp_token on success |\n| `dex_auth_login_google_wallet` | Login with Google OAuth authorization code |\n| `dex_auth_gate_login_start` | Start Gate OAuth login flow, returns verification URL |\n| `dex_auth_gate_login_poll` | Poll Gate OAuth login status, returns mcp_token on success |\n| `dex_auth_login_gate_wallet` | Login directly with Gate OAuth authorization code |\n| `dex_auth_logout` | Revoke current session |\n\n### DEX — Wallet\n\n| Tool | Description |\n|------|-------------|\n| `dex_wallet_get_addresses` | Get wallet addresses for each chain (EVM, Solana) |\n| `dex_wallet_get_token_list` | Token balances with prices and pagination |\n| `dex_wallet_get_total_asset` | Total portfolio value and 24h change |\n| `dex_wallet_sign_message` | Sign a message with wallet private key (EVM / Solana) |\n| `dex_wallet_sign_transaction` | Sign a raw transaction with wallet private key |\n\n### DEX — Chain & Transactions\n\n| Tool | Description |\n|------|-------------|\n| `dex_chain_config` | Chain configuration (chain ID, capabilities) |\n| `dex_tx_gas` | Estimate gas price and gas limit |\n| `dex_tx_transfer_preview` | Preview transfer details before signing |\n| `dex_tx_approve_preview` | Token approval preview: build ERC20/SPL approve transaction |\n| `dex_tx_get_sol_unsigned` | Build unsigned Solana SOL transfer with latest blockhash |\n| `dex_tx_send_raw_transaction` | Broadcast signed transaction on-chain |\n| `dex_tx_quote` | Swap quote with route, price impact and gas estimation |\n| `dex_tx_swap` | One-click swap: quote → build → sign → submit |\n| `dex_tx_swap_detail` | Query swap order status by order ID |\n| `dex_tx_list` / `dex_tx_detail` / `dex_tx_history_list` | Transaction & swap / bridge history |\n\n### DEX — Market Data & Token Info\n\n| Tool | Description |\n|------|-------------|\n| `dex_market_get_kline` | K-line (candlestick) data: 1m, 5m, 1h, 4h, 1d |\n| `dex_market_get_tx_stats` | Trading volume and trader statistics (5m / 1h / 4h / 24h) |\n| `dex_market_get_pair_liquidity` | Liquidity pool add / remove events |\n| `dex_token_list_swap_tokens` | Available tokens for swap on a given chain |\n| `dex_token_list_cross_chain_bridge_tokens` | Bridgeable tokens for cross-chain transfers |\n| `dex_token_get_coin_info` | Token info: price, market cap, supply, holder distribution |\n| `dex_token_ranking` | 24h top gainers / top losers |\n| `dex_token_get_coins_range_by_created_at` | Discover new tokens by creation time range |\n| `dex_token_get_risk_info` | Security audit: honeypot, buy/sell tax, blacklist, permissions |\n\n### DEX — Agentic & RPC\n\n| Tool | Description |\n|------|-------------|\n| `dex_agentic_report` | Report agentic wallet addresses to wallet service |\n| `dex_rpc_call` | Execute JSON-RPC call to blockchain node |\n\nFor full DEX tool parameters, see [gate-dex-mcp](gate-dex/gate-dex-mcp.md). For the Agentic Wallet subset (auth, wallet, market data, resources), see [gate-agentic-wallet-mcp](gate-dex/gate-agentic-wallet-mcp.md).\n\n### Info (`/mcp/info` — 32 tools, no auth)\n\nPublic, read-only market research. Categories (full parameter tables: [gate-info-mcp](gate-info/gate-info-mcp.md)):\n\n| Category | Tools |\n|----------|--------|\n| Coin | `info_coin_get_coin_info`, `info_coin_search_coins`, `info_coin_get_coin_rankings` |\n| Market snapshot | `info_marketsnapshot_get_market_snapshot`, `info_marketsnapshot_batch_market_snapshot`, `info_marketsnapshot_get_market_overview`, `info_marketsnapshot_get_institutional_metrics` |\n| Market trend | `info_markettrend_get_kline`, `info_markettrend_get_indicator_history`, `info_markettrend_get_technical_analysis` |\n| On-chain | `info_onchain_get_address_info`, `info_onchain_get_address_transactions`, `info_onchain_get_transaction`, `info_onchain_get_token_onchain` |\n| Compliance | `info_compliance_check_token_security` |\n| Platform metrics | `info_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` |\n| Macro | `info_macro_get_macro_indicator`, `info_macro_get_economic_calendar`, `info_macro_get_macro_summary` |\n| Market detail | `info_marketdetail_get_orderbook`, `info_marketdetail_get_recent_trades`, `info_marketdetail_get_kline` |\n\n### News (`/mcp/news` — 18 tools, no auth)\n\nPublic, read-only news and social research. Categories (full parameter tables: [gate-news-mcp](gate-news/gate-news-mcp.md)):\n\n| Category | Tools |\n|----------|--------|\n| News feed | `news_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` |\n| Events | `news_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` |\n| Prediction | `news_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` |\n\n### MCP Resources\n\nThe `/mcp` and `/mcp/exchange` endpoints also expose MCP Resources for static reference data:\n\n| Resource URI | Description |\n|---|---|\n| `gate://spot/currency_pairs` | All spot trading pairs |\n| `gate://spot/currencies` | All supported currencies |\n| `gate://futures/contracts/usdt` | USDT-settled futures contracts |\n| `gate://futures/contracts/btc` | BTC-settled futures contracts |\n| `gate://futures/contracts/{settle}` | Futures contracts by settlement currency |\n\n---\n\n## FAQ\n\n### Q: Do I need a Gate account?\n\nA: **Only for CEX trading and DEX wallet.** `/mcp`, `/mcp/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.\n\n### Q: Does it support trading?\n\nA: 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`).\n\n### Q: How often is the data updated?\n\nA: Data is queried in real-time from Gate's API.\n\n---\n\n## Privacy & Security\n\n- OAuth2 authorization via Gate account (no API keys stored in config)\n- All API calls use HTTPS\n- See [Gate Privacy Policy](https://www.gate.com/legal/privacy-policy)\n\n---\n\n## Support & Feedback\n\n- **API Documentation**: [Gate API Docs](https://www.gate.com/docs/developers/apiv4)\n- **Issue Reporting**: Please contact Gate support\n- **Business Inquiries**: Contact Gate official channels\n\n---\n\n\n## Contributing\n\nSee [CONTRIBUTING.md](CONTRIBUTING.md).\n\n## License\n\n[MIT](LICENSE) © gate.com\n",
  "bytes": 23621,
  "sha": "0edaf7d0bfe574f4daa8739ca6f32846cacd0ac411a3e6bdbdf6a7b08891ccd2",
  "repo_slug": "gate/gate-mcp",
  "fonte": "repo",
  "truncated": false,
  "api": "https://agentalog.com/api/listings/mcp_io_github_gateio_dev_gate_exchange_9d225047/readme"
}