
Connect OKX to ChatGPT, Claude and Gemini
Set it up once and it works in ChatGPT, Claude, Cursor, and any other client you love. It all runs safely in the background, so you can relax and focus on what really matters. Manage your entire OKX portfolio through your AI agent.
Developed, maintained, and hosted by Vinkius.
MCP VERIFIED · PRODUCTION READY · VINKIUS GUARANTEED
Waiting for input…
Works with modern AI clients that support MCP, including ChatGPT, Claude, Cursor, and more.
Your AI does the work. We keep it safe and sound.
No other AI tool gives you this. Your workflow runs in the client you already love, your account stays protected, and you decide what the agent can and cannot do. It is the whole reason to make the switch.
Each Connector lives inside our infrastructure, the same place where your workflow runs. The three things below are already part of it, working quietly in the background so you never have to think about them. Nothing to add, nothing to set up, nothing to worry about.

Each Connector runs inside its own sealed environment.
Each Connector runs inside its own sealed V8 runtime — no access to your files, your system, or other servers. A Connector never sees past its own request.
One switch stops every agent. Instantly.
One action deactivates every Connector, revokes every token, and ends every session at once. AI Governance keeps the record.
Spending limits that pause instead of surprise.
Every user keeps their own connections and credentials, isolated from everyone else. Anything that would cross your spending limit is held for your approval, not billed.
Three controls, built into the layer your AI connects through.
Curated set · 6 capabilities
We ship only the actions that matter.
01-03
3 capabilities in this set.
Part of 6 available through OKX.
- 01
Amend order
Modifies an existing incomplete order. You'll need the instrument ID and either the order ID or client order ID.
- 02
Get balance
Fetches your real-time asset balances. You can filter the results by specific currencies.
- 03
Cancel order
Cancels an incomplete order immediately. This requires the instrument ID and the specific order or client order ID.
04-06
3 capabilities in this set.
Part of 6 available through OKX.
- 04
Get instruments
Lists available trading instruments. You can filter the list by instrument type.
- 05
Get positions
Retrieves your active positions. You can filter these by instrument type, instrument ID, or position ID.
- 06
Place order
Executes a new trade order. You must provide the instrument ID, trade mode, side, order type, and size.
Real work
What teams actually run
Rapid Order Management
Cancel a pending limit order immediately through your chat interface when market conditions change.
Portfolio Auditing
Ask your agent for a summary of all active futures positions to check your current exposure.
Automated Monitoring
Use your agent to keep track of specific asset balances while you work in a code editor.
Quick Market Entry
Place a market buy order for a specific instrument without navigating the full OKX website.
Automate a task
Put OKX to work on one thing.
Step-by-step automations your AI runs through this Connector: the workflow, the prompts to start with, and the exact capabilities behind each move.
One connector, every AI
OKX works with the most popular AI clients.
These are the most popular clients, each with a step-by-step guide: one link, set up once, with governance and visibility built in. And because everything runs on the MCP standard, the same connection also works in any other compatible client — nothing to rebuild.
Claude
ChatGPT
Gemini
Perplexity
Grok
Microsoft Copilot
Cursor
VS Code
Windsurf
JetBrains
Cline
LangChain
Vercel AI SDK
Lovable
Z.ai
Raycast
Qwen Code
Kimi Code
Le ChatBuilding your own app? The connector is yours to use.
You don't need a client to put OKX to work: the same hosted connection plugs into your own applications and agent code, with the same governance on every request. Build with it, chat with it — one connection for both.
Observed, not estimated
929ms average. Fast in production.
OKX is checked daily against the live service.
- Fastest day
- 760ms
- Slowest day
- 1109ms
- 14-day trend
- Stable-3%
Connect your client
One URL. Every client.
Activate the Connector, copy your link, and paste it into the client you already use. 6 capabilities arrive ready to run.
Preview access · not provider authentication
The vk_preview_* token belongs to Vinkius preview infrastructure. It lets Claude discover and display the capabilities of OKX, so you can see the experience inside your AI.
It does not authenticate your account with OKX. Actions requiring credentials or live account data may not run until you activate the Connector and authorize the service.
OKX Connector
You're all set. Choose your MCP client and follow the setup instructions.
https://edge.vinkius.com/vk_preview_Ax5Q8n9mhVZ6QfccMtE4K3uI7ivl5xyIu9yZEAtC/mcpClaude Desktop
Follow the steps below to connect in seconds.
- 1In Claude Desktop, open Settings → Connectors.
- 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
- 3Click Add and start a new chat — OKX capabilities are ready to use.
{
"mcpServers": {
"okx-mcp": {
"url": "https://edge.vinkius.com/vk_preview_Ax5Q8n9mhVZ6QfccMtE4K3uI7ivl5xyIu9yZEAtC/mcp"
}
}
}
Claude
ChatGPT
Cursor
VS Code
Windsurf
Claude Code
JetBrains
Cline
Step-by-step instructions for each client are in the guide. How to connect
Guided setup for Claude? Set up OKX in Claude and other AIs
Who it's for
Built for the work OKX owners hand off.
This MCP is built for anyone managing crypto assets who wants to move faster than a standard web interface allows.
- 01
Traders
Execute orders and check positions without switching between exchange tabs.
- 02
Developers
Integrate trading actions into automated workflows or code editors.
- 03
Portfolio Managers
Get quick summaries of balances and risk exposure using natural language.
FAQ
Questions OKX owners ask.
- 01
How do I connect my OKX account?
You subscribe to the MCP on Vinkius and enter your OKX API credentials, including your API Key, Secret Key, and Passphrase.
- 02
Which AI clients can I use with this MCP?
You can use any MCP-compatible client, such as Claude, Cursor, Windsurf, or VS Code.
- 03
What types of trading are supported?
The MCP supports spot, margin, futures, and options trading.
- 04
Can I cancel orders through my AI agent?
Yes, you can use the cancel_order capability to stop pending orders instantly.
- 05
Is it possible to check my specific coin balances?
Yes, the get_balance capability allows you to fetch balances and can be filtered by specific currencies.
- 06
Can I check my current balance for specific coins like BTC or USDT?
Yes! Use the get_balance capability and provide a comma-separated list of currencies in the ccy parameter. The agent will return the available and frozen balances for those specific assets.
- 07
How do I see my open positions for futures or swap markets?
You can use the get_positions capability. You can filter by instType (e.g., 'FUTURES' or 'SWAP') or provide a specific instId like 'BTC-USDT-SWAP' to see your entry price, size, and PnL.
- 08
Is it possible to cancel an order if I change my mind?
Absolutely. Use the cancel_order capability by providing the instId and the ordId of the pending order. The agent will confirm if the cancellation was successful.
Explore
More in Data Analytics
Hevo Data (ETL & Data Pipeline) AI Connector
Manage data pipelines via Hevo — list pipelines, monitor destinations, and track usage.
ViewBinance (Crypto Market) AI Connector
Track cryptocurrency markets via Binance — get real-time prices, monitor 24h trends, analyze market movers, an
ViewAmberdata (Digital Asset & Crypto Market Data API) AI Connector
Access institutional-grade crypto market data, on-chain metrics, and DeFi insights directly from your AI agent
ViewCryptoCompare (Crypto Market Data) AI Connector
Access real-time and historical cryptocurrency market data, news, and top coins directly from your AI agent.
View
Suggestions
Data Pipeline Prover AI Connector
A data team asked an AI to build an ETL pipeline. No schema contract. No idempotency. No freshness SLA. The pi
Viewdata.world AI Connector
Equip your AI agent to discover and manage data assets, projects, and queries directly via the data.world API.
ViewPE AI Data Assets Valuation AI Connector
Estimate the economic and strategic worth of proprietary AI datasets.
ViewSteam Economy & Market Intelligence AI Connector
The definitive server for Steam assets — track skin prices, inventory values, and market trends via AI.
View
Connect OKX to Claude, Cursor, ChatGPT & more
