Gate MCP 标志

Gate MCP

组织
gate

An MCP (Model Context Protocol) server that exposes Gate.io trading API as tools for AI agents.

发布者gate
代码仓库gate-mcp
语言Shell
复刻数
22
星标数
44
可用工具
86
传输类型stdio
分类
许可协议MIT
链接
  • 将工具接入 AI 工作流

    Gate MCP 提供 MCP 功能,可供兼容的 AI 客户端和智能体使用。

  • 86 个可用工具

    浏览下方可调用的操作;如果服务器提供了名称和描述,也会一并显示。

  • 可直接复制的配置

    使用安装配置片段,在您首选的 MCP 客户端中配置此服务器。

  • 开源社区热度

    关联的代码仓库有 44 个 Star 和 22 个 Fork。

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

EndpointAuthTools
https://api.gatemcp.ai/mcpNonePublic market data (58 tools: spot, futures, margin, options, delivery, earn, alpha, activity, launch pool, square, flash swap)
https://api.gatemcp.ai/mcp/exchangeOAuth2CEX 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)
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)

ScopeUse
marketPublic market data (tickers, order books, K-line, etc.)
profileAccount info, orders, positions (read-only)
tradeCreate/cancel/amend orders
walletTransfers, deposits, withdrawals
accountUnified account, sub-accounts

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 install
npm install -g mcporter

# Verify installation
mcporter --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 MCP
mcporter 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 requires a local stdio proxy.

  1. Download the Python proxy file
  2. Edit ~/Library/Application Support/Claude/claude_desktop_config.json:
json
{
  "mcpServers": {
    "Gate": {
      "command": "python3",
      "args": ["/path/to/gate-mcp-proxy.py"]
    }
  }
}

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:

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 auth, 58 tools)

BusinessToolsDescription
Spot8cex_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
Futures14Contracts, order book, trades, candlesticks, tickers, funding rate, premium index, liquidation, contract stats, insurance ledger, index constituents, batch funding rates, risk limit tiers
Margin3cex_margin_list_uni_currency_pairs, cex_margin_get_uni_currency_pair, cex_margin_get_market_margin_tier
Options12Underlyings, expirations, contracts, settlements, order book, tickers, candlesticks, trades
Delivery8Contracts, order book, trades, candlesticks, tickers, insurance ledger, risk limit tiers
Earn5cex_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
Alpha3cex_alpha_list_alpha_currencies, cex_alpha_list_alpha_tickers, cex_alpha_list_alpha_tokens
Activity1cex_activity_list_activity_types
Launch1cex_launch_list_launch_pool_projects
Square2cex_square_list_square_ai_search, cex_square_list_live_replay
Flash Swap1cex_fc_list_fc_currency_pairs

Private MCP (/mcp/exchange — OAuth2, 400+ tools)

Note: The private endpoint does not include public market data tools. Use /mcp for market data queries.

BusinessScopeKey Tools
Spotprofile / tradeAccounts, orders, trades, batch orders, price-triggered orders, countdown cancel, cross liquidate
Futuresprofile / tradeAccounts, positions, orders, trades, dual positions, trail orders, price-triggered, BBO orders
Marginprofile / tradeMargin accounts, loans, auto-repay, uni loans
Optionsprofile / tradeAccount, positions, orders, MMP settings
Deliveryprofile / tradeAccounts, positions, orders, price-triggered orders
WalletwalletTotal balance, transfers, deposits, withdrawals, deposit address, SA balances, small balance convert
UnifiedaccountUnified accounts, mode, loans, risk units, borrowable, collateral, leverage config
Sub-accountaccountCreate/list/lock/unlock SA, API keys
AccountaccountAccount detail, main keys, rate limit, debit fee, STP groups
RebateprofileAgency/partner/broker commission history, user info
Flash Swapprofile / tradecex_fc_list_fc_currency_pairs, cex_fc_list_fc_orders, cex_fc_create_fc_order_v1, multi-currency flash swap
Earnprofile / tradeDual/structured/uni products, orders, ETH2 swap, lend records
Alphaprofile / tradeAlpha accounts, orders, quote/place
TradFiprofile / tradeCategories, symbols, MT5 account, assets, orders, positions
CrossExprofile / tradeRule symbols, account, positions, orders, transfers, convert
P2Pprofile / tradeUser info, ads, chats, transactions, confirm payment/receipt
ActivityprofileActivity types, recommended activities, user participation
CouponprofileUser coupons, coupon details
Launch Poolprofile / tradeLaunchPool projects, pledge/redeem, reward records
SquaremarketAI search, live replay
WelfareprofileBeginner eligibility, task list and rewards

For full tool parameters, see Gate API Docs or gate-exchange-mcp.

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

安装

TypingMind
{
  "mcpServers": {
    "gate-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "gate-mcp"
      ]
    }
  }
}

可用工具

  • list_currencies

    List all currencies supported on Gate.com

  • get_currency

    Get details of a single currency

  • list_currency_pairs

    List all available spot trading pairs

  • get_currency_pair

    Get details of a single currency pair

  • list_tickers

    Get ticker information for one or all currency pairs

  • list_order_book

    Get the order book for a currency pair

  • list_trades

    Get recent trades for a currency pair

  • list_candlesticks

    Get candlestick/OHLCV data for a currency pair

  • get_fee

    Query user trading fee rates (requires authentication)

  • list_spot_accounts

    List spot account balances (requires authentication)

  • list_orders

    List spot orders (requires authentication)

  • create_order

    Create a spot order (requires authentication) — always confirm the details with the user before calling this tool

  • get_order

    Get details of a spot order (requires authentication)

  • cancel_order

    Cancel a single spot order (requires authentication) — always confirm with the user before calling this tool

  • amend_order

    Amend (modify) an open spot order (requires authentication) — always confirm the new values with the user before calling this tool

  • cancel_orders

    Cancel all open orders for a currency pair (requires authentication) — always confirm with the user before calling this tool

  • list_my_trades

    List personal trading history (requires authentication)

  • list_all_open_orders

    List all open orders across all pairs (requires authentication)

  • list_spot_price_triggered_orders

    List price-triggered (stop) orders (requires authentication)

  • list_futures_contracts

    List all perpetual futures contracts

  • get_futures_contract

    Get details of a single futures contract

  • list_futures_order_book

    Get futures order book

  • list_futures_candlesticks

    Get futures candlestick/OHLCV data

  • list_futures_tickers

    Get ticker information for futures contracts

  • list_futures_funding_rate_history

    Get funding rate history for a futures contract

  • list_futures_accounts

    Get futures account balances (requires authentication)

  • list_positions

    List all open futures positions (requires authentication)

  • get_position

    Get a single futures position (requires authentication)

  • list_futures_orders

    List futures orders (requires authentication)

  • create_futures_order

    Create a futures order (requires authentication) — always confirm the details with the user before calling this tool

  • get_futures_order

    Get a futures order by ID (requires authentication)

  • cancel_futures_order

    Cancel a futures order (requires authentication) — always confirm with the user before calling this tool

  • amend_futures_order

    Amend an open futures order (requires authentication) — always confirm the new values with the user before calling this tool

  • get_my_futures_trades

    Get personal futures trading history (requires authentication)

  • list_position_close

    List position close history (requires authentication)

  • list_price_triggered_orders

    List futures price-triggered orders (requires authentication)

  • list_delivery_contracts

    List all delivery (expiring futures) contracts

  • get_delivery_contract

    Get a single delivery contract

  • list_delivery_order_book

    Get delivery contract order book

  • list_delivery_candlesticks

    Get delivery contract candlestick data

  • list_delivery_tickers

    Get delivery contract tickers

  • list_delivery_accounts

    Get delivery account balance (requires authentication)

  • list_delivery_positions

    List delivery positions (requires authentication)

  • list_delivery_orders

    List delivery orders (requires authentication)

  • create_delivery_order

    Create a delivery order (requires authentication) — always confirm the details with the user before calling this tool

  • cancel_delivery_order

    Cancel a delivery order (requires authentication) — always confirm with the user before calling this tool

  • get_my_delivery_trades

    Get personal delivery trading history (requires authentication)

  • list_margin_accounts

    List margin accounts (requires authentication)

  • list_margin_account_book

    List margin account balance change history (requires authentication)

  • get_auto_repay_status

    Get auto-repay status for margin loans (requires authentication)

  • set_auto_repay

    Enable or disable auto-repay for margin loans (requires authentication) — always confirm with the user before calling this tool

  • get_margin_transferable

    Get the maximum amount transferable for a margin currency (requires authentication)

  • get_total_balance

    Get total account balance across all wallets (requires authentication)

  • list_withdrawals

    List withdrawal history (requires authentication)

  • list_deposits

    List deposit history (requires authentication)

  • get_deposit_address

    Get deposit address for a currency (requires authentication)

  • transfer

    Transfer funds between accounts (requires authentication) — always confirm the amount, source, and destination with the user before calling this tool

  • list_sub_account_balances

    List sub-account balances (requires authentication)

  • get_trade_fee

    Get trading fee rates (requires authentication)

  • list_currency_chains

    List chains supported for a currency

  • list_withdraw_status

    Get withdrawal status for all currencies (requires authentication)

  • get_account_detail

    Get account profile and configuration (requires authentication)

  • get_account_rate_limit

    Get account API rate limit information (requires authentication)

  • get_debit_fee

    Get debit fee configuration (requires authentication)

  • list_options_underlyings

    List all options underlying assets

  • list_options_expirations

    List option expiration dates for an underlying

  • list_options_contracts

    List all options contracts for an underlying

  • list_options_order_book

    Get options order book

  • list_options_tickers

    Get options tickers for an underlying

  • list_options_candlesticks

    Get options candlestick data

  • list_options_account

    Get options account balance (requires authentication)

  • list_options_positions

    List options positions (requires authentication)

  • list_options_orders

    List options orders (requires authentication)

  • create_options_order

    Create an options order (requires authentication) — always confirm the details with the user before calling this tool

  • cancel_options_order

    Cancel an options order (requires authentication) — always confirm with the user before calling this tool

  • list_my_options_trades

    List personal options trading history (requires authentication)

  • list_dual_investment_plans

    List dual investment plans

  • list_dual_orders

    List dual investment orders (requires authentication)

  • list_dual_balance

    Get dual investment balance (requires authentication)

  • list_structured_products

    List structured products

  • list_structured_orders

    List structured product orders (requires authentication)

  • list_flash_swap_currency_pairs

    List all supported flash swap currency pairs

  • preview_flash_swap_order

    Preview a flash swap order to get a quote (requires authentication)

  • create_flash_swap_order

    Execute a flash swap order (requires authentication) — always confirm the swap details with the user before calling this tool

  • list_flash_swap_orders

    List flash swap order history (requires authentication)

  • get_flash_swap_order

    Get details of a flash swap order (requires authentication)

将 Gate MCP MCP 与多个 AI 模型配合使用

TypingMind 在工作区级别连接 MCP 工具,因此连接 Gate MCP 后,您就可以在 TypingMind 中搭配不同的 AI 模型使用,无需为每个模型单独设置。 此 MCP 通过您设备上的 TypingMind MCP 连接器在本地运行。

本地连接器设置指南

如果 MCP 服务器需要访问您电脑上的本地文件、应用或私有资源,请选择此方式。

1

打开 MCP 设置

在 TypingMind 中,依次前往“设置”、“高级设置”和“模型上下文协议”,然后选择“设置连接器”。

  1. 在您的浏览器中打开 TypingMind。
  2. 点击“设置”图标。
  3. 进入“高级设置”。
  4. 打开“模型上下文协议”部分。
  5. 点击“设置连接器”,然后选择“此设备”。
TypingMind MCP 连接器设置界面,已选择“此设备”
2

运行连接器命令

选择“此设备”,从 TypingMind 复制命令并在终端中运行。使用 MCP 时,请保持该进程运行。

  1. 复制 TypingMind 显示的设置命令。
  2. 在 macOS 上打开“终端”,或在 Windows 上打开 Windows Terminal。
  3. 粘贴并运行命令。
  4. 如果终端询问您是否继续,请确认安装软件包。
  5. 使用 MCP 工具时,请保持终端窗口及其中的进程运行。
3

将 Gate MCP 添加为服务器

当连接器状态为“就绪”时,点击“编辑服务器”,然后粘贴 MCP 服务器配置。

  1. 等待连接器状态显示为“就绪”。
  2. 点击“编辑服务器”。
  3. 粘贴 Gate MCP MCP 服务器配置。
  4. 保存服务器列表。
  5. 如需确认连接器是否仍处于就绪状态,请刷新。
TypingMind MCP 设置界面,显示正在运行的服务器和“编辑服务器”按钮
{
  "mcpServers": {
    "gate-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "gate-mcp"
      ]
    }
  }
}
4

在不同模型中使用同一连接

保存服务器列表,打开“插件”,启用 Gate MCP MCP 工具,然后在 TypingMind 中选择任意受支持的 AI 模型,即可在聊天中使用这些工具,或将其分配给智能体。

  1. 在 TypingMind 中打开“插件”页面。
  2. 启用 Gate MCP MCP 工具。
  3. 开始聊天并选择您想使用的 AI 模型。
  4. 在聊天中使用 MCP 工具,或将其分配给 AI 智能体。
  5. 根据需要随时切换到其他 AI 模型,无需重新连接 MCP。
在 TypingMind 聊天中使用已启用的 MCP 工具和选定的 AI 模型
您能使用 Gate MCP 帮我完成这项任务吗?
Gate MCP
当然。我已阅读。
以下是我使用 Gate MCP 得到的结果。

常见问题

Gate MCP MCP 服务器有什么用途?

Gate MCP 是一个 MCP 服务器,可让兼容的 AI 客户端连接外部工具并获取上下文。在 TypingMind 中,只需添加一次此 MCP 服务器,即可在您的 AI 工作区中使用其工具。

可以在 TypingMind 中让多个 AI 模型使用 Gate MCP MCP 吗?

可以。TypingMind 在工作区层面连接 MCP 工具,因此您可以让 Claude、ChatGPT、Gemini 等不同 AI 模型,或您在 TypingMind 中配置的其他模型使用 Gate MCP,而无需为每个模型单独配置 MCP 服务器。

为什么在 TypingMind 中使用 Gate MCP MCP?

TypingMind 将多个 AI 模型、提示词、插件、AI 智能体、API 密钥和 MCP 工具整合到同一个工作区中,是优秀的大语言模型聊天前端之一。连接 Gate MCP 后,您可以在偏好的不同模型中使用其 MCP 工具,同时在 TypingMind 中井然有序地管理聊天工作流程。

如何将 Gate MCP MCP 连接到 TypingMind?

Gate MCP 通过 TypingMind 本地 MCP 连接器运行。当 MCP 服务器需要访问您计算机上的本地文件、桌面应用、命令行工具或私有资源时,这种方式最合适。

Gate MCP MCP 在 TypingMind 中提供哪些工具?

Gate MCP 提供 86 个 MCP 工具,您可以在 TypingMind 的插件页面启用这些工具,然后在聊天中使用,或将其分配给 AI 智能体。

使用 Gate MCP MCP 需要向 TypingMind 提供我的 API 密钥吗?

不需要。TypingMind 采用本地优先的设计,让您自行掌控模型提供商、API 密钥、提示词和 MCP 配置。如果 Gate MCP 需要身份验证,请在创建连接时,为该 MCP 服务器添加所需的请求头、OAuth 设置或本地配置。

相关 MCP 服务器

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇