OKX MCP Server for trading
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag β we're steadily working through the catalog.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
OKX_API_KEY: API key of your OKX account. Please refer to my api page regarding API Key creation.OKX_API_SECRET: API secret key of your OKX account.OKX_PASSPHRASE: API passphrase of your OKX account.OKX_TRADE_FLAG: 0: Production trading, 1: Demo tradingOKX_BASE_URL: Base URL of OKX. Default: https://www.okx.comMCP_AUTH_TOKEN: Custom token for authentication. Default same as OKX_API_KEYaccount_config - Get account configurationaccount_balance - Get account balanceaccount_positions - Get account positionsaccount_position_risk - Get account position riskplace_order - Place a new ordercancel_order - Cancel an incomplete orderget_trade_order - Get order detailsget_order_list - Get incomplete order listget_orders_history - Get Order Historyclose_positions - Liquidate all positionsmarket_tickers - Get cryptocurrency rankingsFactual signals from GitHub, npm, and our automated checks β not a rating.
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/okx-mcp-server)<a href="https://allmcps.com/mcp/okx-mcp-server"><img src="https://allmcps.com/api/badge/okx-mcp-server?style=directory" alt="OKX MCP Server on AllMCPs" /></a>