Okx Trade

70 tools. 32 can modify or destroy data without limits.

24 destructive tools with no built-in limits. Policy required.

Last updated:

32 can modify or destroy data
38 read-only
70 tools total

Verified server · catalogue entry verified 05/07/2026 · full schemas captured for 67 of 70 tools

How to control Okx Trade ↓

What Okx Trade exposes to your agents

Read (38) Write / Execute (8) Destructive / Financial (24)

What Okx Trade costs in tokens

15,051 tokens of tool definitions, loaded on every request
7.5% of a 200k context window
1,336 heaviest tool: swap_place_algo_order
Critical Risk

The most dangerous Okx Trade tools

32 of Okx Trade's 70 tools can modify, destroy, or commit something on every call — and an agent calls them with no built-in limits.

How to control Okx Trade

PolicyLayer is an MCP gateway — it sits between your AI agents and Okx Trade, and nothing reaches the server without passing your rules. These are the rules we recommend:

Block financial tools by default
{
  "account_transfer": {
    "deny_if": [
      {
        "conditions": [],
        "on_deny": "Requires human approval."
      }
    ]
  }
}

Financial tools should be explicitly enabled per use case, not open by default.

Deny destructive operations
{
  "grid_amend_order": {
    "deny_if": [
      {
        "conditions": [],
        "on_deny": "Blocked by default. Requires approval."
      }
    ]
  }
}

Destructive tools should never be available to autonomous agents without human approval.

Rate limit write operations
{
  "account_set_position_mode": {
    "limits": [
      {
        "counter": "account_set_position_mode_per_hour",
        "window": "hour",
        "max": 30,
        "scope": "grant"
      }
    ]
  }
}

Prevents bulk unintended modifications from agents caught in loops.

Cap read operations
{
  "account_get_asset_balance": {
    "limits": [
      {
        "counter": "account_get_asset_balance_per_minute",
        "window": "minute",
        "max": 60,
        "scope": "grant"
      }
    ]
  }
}

Controls API costs and prevents retry loops from exhausting upstream rate limits.

  1. Create a free account and register Okx Trade — nothing to install.
  2. Add these rules — paste them, or build them visually. Tune the limits to your setup.
  3. Point your MCP client (Claude, Cursor, anything) at your gateway URL.
ENFORCE POLICY ON OKX TRADE →

Instant setup, no code required.

All 70 Okx Trade tools

FINANCIAL 14 tools
Financial account_transfer Transfer funds between accounts (trading, funding, etc.). [CAUTION] Moves real funds. Financial grid_create_order Create grid bot (spot, USDT-margined, or coin-margined contract). [CAUTION] Locks funds. Spot: quoteSz|baseSz. Financial grid_stop_order [CAUTION] Stop a grid bot or close its remaining open position — real trades, irreversible. Workflow: (1) If t Financial option_place_algo_order Place OPTION TP/SL algo order (conditional/oco). [CAUTION] Executes real trades. conditional=single TP/SL; oco Financial option_place_order Place OPTION order. instId: {uly}-{expiry}-{strike}-C/P, e.g. BTC-USD-241227-50000-C. Before placing, use mark Financial spot_batch_orders [CAUTION] Batch place/cancel/amend up to 20 spot orders. action: place|cancel|amend. Financial spot_place_algo_order Place a spot algo order. [CAUTION] Executes real trades. conditional: single TP/SL. oco: TP+SL pair. move_orde Financial spot_place_order Place a spot order. Attach TP/SL via tpTriggerPx/slTriggerPx. [CAUTION] Executes real trades. Financial swap_batch_orders [CAUTION] Batch place/cancel/amend SWAP/FUTURES orders (max 20). action=place|cancel|amend. Financial swap_close_position [CAUTION] Close entire SWAP/FUTURES position at market. Financial swap_place_algo_order Place a SWAP/FUTURES algo order. [CAUTION] Executes real trades. conditional: single TP, single SL, or both on Financial swap_place_move_stop_order [DEPRECATED] Use swap_place_algo_order with ordType='move_order_stop' instead. Place a SWAP/FUTURES trailing s Financial swap_place_order Place SWAP/FUTURES order. Attach TP/SL via tpTriggerPx/slTriggerPx. Before placing, use market_get_instruments Financial swap_set_leverage Set leverage for a SWAP/FUTURES instrument or position. [CAUTION] Changes risk parameters. Scenarios (SWAP/FUT
READ 38 tools
Read account_get_asset_balance Get funding account balance (asset account). Different from account_get_balance which queries the trading acco Read account_get_balance Get account balance for trading account. Returns balances for all currencies or a specific one. Read account_get_balance_all One-shot snapshot of all OKX assets: trading-account equity + funding-account balances + optional cross-accoun Read account_get_bills Get account ledger: fees paid, funding charges, realized PnL, transfers, etc. Default 20 records (last 7 days) Read account_get_bills_archive Get archived account ledger (bills older than 7 days, up to 3 months). Use account_get_bills for recent 7-day Read account_get_config Get account configuration: position mode (net vs hedge), account level, auto-loan settings, etc. Note: settleC Read account_get_max_avail_size Get maximum available size for opening or reducing a position. Different from account_get_max_size which calcu Read account_get_max_size Get max buy/sell order size for a SWAP/FUTURES instrument given current balance and leverage. Useful before pl Read account_get_max_withdrawal Get maximum withdrawable amount for a currency from the trading account. Useful before initiating a transfer o Read account_get_positions Get current open positions across all instrument types (MARGIN, SWAP, FUTURES, OPTION, EVENTS). Use swap_get_p Read account_get_positions_history Get closed position history for SWAP or FUTURES. Default 20 records, max 100. Read account_get_trade_fee Get maker/taker fee rates for the account. Useful to understand your fee tier before trading. Read grid_get_order_details Get grid bot detail by algo ID. Returns config, status, PnL, and position. Read grid_get_orders List grid bots. status='active' for running; 'history' for stopped. Read grid_get_sub_orders Query sub-orders (grid trades) of a bot. type='filled' for executed; 'live' for pending. Read option_get_algo_orders Query pending or completed OPTION algo orders (TP/SL, OCO). Read option_get_fills Get OPTION fill history. archive=false: last 3 days (default); archive=true: up to 3 months. Read option_get_greeks Get implied volatility and Greeks (delta, gamma, theta, vega) for OPTION contracts by underlying. Read option_get_instruments List available OPTION contracts for a given underlying (option chain). Use to find valid instIds before placin Read option_get_order Get details of a single OPTION order by ordId or clOrdId. Read option_get_orders List OPTION orders. status: live=pending (default), history=7d, archive=3mo. Read option_get_positions Get current OPTION positions including Greeks (delta, gamma, theta, vega). Read skills_download Download a skill package from OKX Skills Marketplace to a local directory. Always call skills_search first to Read skills_get_categories List all available skill categories in OKX Skills Marketplace. Use the returned categoryId as input to skills_ Read skills_search Search for skills in OKX Skills Marketplace by keyword or category. To get valid category IDs, call skills_get Read spot_batch_amend [CAUTION] Batch amend up to 20 unfilled spot orders. Read spot_get_algo_orders Query spot algo orders (TP/SL) - pending or history. Read spot_get_fills Get spot transaction fills. archive=false(3d, default)|true(up to 3mo). Read spot_get_order Get details of a single spot order. Read spot_get_orders Query spot orders. status: open(active)|history(7d)|archive(3mo). Read swap_get_algo_orders Query pending or completed SWAP/FUTURES algo orders (TP/SL, OCO, trailing stop). Read swap_get_fills Get SWAP/FUTURES fill details. archive=false (default): last 3 days; archive=true: up to 3 months. Read swap_get_leverage Get current leverage for a SWAP/FUTURES instrument. Read swap_get_order Get details of a single SWAP/FUTURES order by ordId or clOrdId. Read swap_get_orders Query SWAP/FUTURES open orders, history (last 7 days), or archive (up to 3 months). Read swap_get_positions Get current SWAP/FUTURES positions. Read system_get_capabilities Return machine-readable server capabilities and module availability for agent planning. Read trade_get_history Query local audit log of tool calls made through this MCP server. Returns recent operations with timestamps, d

Related servers

Other MCP servers with similar tools — same risk classification, starter policies for each.

Questions about Okx Trade

Can an AI agent move money through the Okx Trade MCP server? +

Yes. The Okx Trade server exposes 14 financial tools including account_transfer, grid_create_order, grid_stop_order. Without a policy, an autonomous agent can call these with no spend caps, no rate limits, and no approval flow. PolicyLayer lets you block financial tools by default, require human approval, or set per-tool rate limits — enforced on every call.

Can an AI agent delete data through the Okx Trade MCP server? +

Yes. The Okx Trade server exposes 10 destructive tools including grid_amend_order, option_batch_cancel, option_cancel_algo_orders. These permanently remove resources with no undo. PolicyLayer blocks destructive tools by default so they never reach the upstream server.

How do I prevent bulk modifications through Okx Trade? +

The Okx Trade server has 7 write tools including account_set_position_mode, option_amend_algo_order, option_amend_order. Set a rate limit in your policy -- for example, 10 calls per hour prevents an agent from making more than 10 modifications per hour. PolicyLayer enforces this at the gateway, before calls reach Okx Trade.

How many tools does the Okx Trade MCP server expose? +

70 tools across 5 categories: Destructive, Execute, Financial, Read, Write. 38 are read-only. 32 can modify, create, or delete data.

How do I enforce a policy on Okx Trade? +

Register the Okx Trade MCP server in PolicyLayer, apply the suggested rules above (adjust the limits to your use case), and point your AI client at the PolicyLayer proxy URL instead of the server directly. Your agents keep the same tools; PolicyLayer evaluates every call against policy before it executes. Nothing to install, live in minutes.

Enforce policy on every Okx Trade tool call.

Deterministic rules across all 70 Okx Trade tools. Per-identity grants. Full audit log. Live in minutes. Nothing to install.

Instant setup, no code required.

70 Okx Trade tools catalogued and risk-classified — across an index of 43,000+ MCP servers.

// WHERE THIS COMES FROM

These policies come from Okx Trade's registry record.

The record behind this page: verified identity, auth posture, risk grade, every tool classified, recommended policy — re-checked continuously.

Teams ship this data inside their own products. See what a licence covers →

// GET IN TOUCH

Have a question or want to learn more? Send us a message.

Message sent.

We'll get back to you soon.