Use OKX OnchainOS MCP through UXC for token discovery, market data, wallet balance, and swap execution planning. Use when tasks need OKX MCP tools such as token search/ranking/holder, price/trades/candlesticks/index, balance queries, and DEX quote/swap flows with help-first schema inspection and safe auth handling.
Use this skill to run OKX MCP operations through uxc.
Reuse the uxc skill for shared protocol discovery, output parsing, and generic auth/binding flows.
uxc is installed and available in PATH.https://web3.okx.com/api/v1/onchainos-mcp.For quick read-only trial, OKX docs currently expose a shared demo key:
d573a84c-8e79-4a35-b0c6-427e9ad2478dExample:
uxc auth credential set okx-mcp --auth-type api_key --api-key-header OK-ACCESS-KEY --secret d573a84c-8e79-4a35-b0c6-427e9ad2478dUse your own key for regular usage, stability, and production workflows.
uxc https://web3.okx.com/api/v1/onchainos-mcp -huxc auth credential set okx-mcp --auth-type api_key --api-key-header OK-ACCESS-KEY --secret-env OKX_ACCESS_KEYuxc auth credential set okx-mcp --auth-type api_key --api-key-header OK-ACCESS-KEY --secret-op op://Engineering/okx/OK-ACCESS-KEYuxc auth binding add --id okx-mcp --host web3.okx.com --path-prefix /api/v1/onchainos-mcp --scheme https --credential okx-mcp --priority 100command -v okx-mcp-cliuxc link okx-mcp-cli https://web3.okx.com/api/v1/onchainos-mcpokx-mcp-cli -hokx-mcp-cli dex-okx-market-price -hokx-mcp-cli dex-okx-market-token-search -hokx-mcp-cli dex-okx-balance-total-value -hokx-mcp-cli dex-okx-dex-quote -hdex-okx-market-pricedex-okx-market-tradesdex-okx-market-candlesticksdex-okx-market-candlesticks-historydex-okx-index-current-pricedex-okx-index-historical-pricedex-okx-market-token-searchdex-okx-market-token-rankingdex-okx-market-token-holderdex-okx-market-token-basic-infodex-okx-market-token-price-infodex-okx-balance-chainsdex-okx-balance-total-valuedex-okx-balance-total-token-balancesdex-okx-balance-specific-token-balancedex-okx-dex-aggregator-supported-chainsdex-okx-dex-liquiditydex-okx-dex-quotedex-okx-dex-approve-transactiondex-okx-dex-swapdex-okx-dex-solana-swap-instruction156196501845342161Always prefer runtime discovery (dex-okx-market-price-chains / dex-okx-dex-aggregator-supported-chains / dex-okx-balance-chains) when possible.
--text.ok, kind, protocol, data, error.okx-mcp-cli as default command path.okx-mcp-cli <operation> ... is equivalent to uxc https://web3.okx.com/api/v1/onchainos-mcp <operation> ....Request header OK-ACCESS-KEY can not be empty:
uxc auth binding match https://web3.okx.com/api/v1/onchainos-mcpuxc auth credential set okx-mcp --auth-type api_key --api-key-header OK-ACCESS-KEY --secret-env OKX_ACCESS_KEY--secret-env, --secret-op, or literal --secret)dex-okx-dex-approve-transactiondex-okx-dex-swapdex-okx-dex-solana-swap-instructionSo1111111111111111111111111111111111111111211111111111111111111111111111111 may also appear in docsreferences/usage-patterns.md