OKX Connector for AI agents.
6 live capabilities
Execute crypto trades and monitor balances with natural language.
Waiting for input…
Why people use OKX
OKX for Faster Crypto Trading
With this Connector, you just tell your agent what you want to do. You ask for your balance, tell it to place a limit order, or ask what your current positions look like. It handles the API heavy lifting, so you can focus on the strategy instead of the buttons.
What Vinkius changes
You get a hands-free way to manage your OKX account using just natural language.
Use it from Claude, ChatGPT, Cursor or another AI client you already have.
One account · 5,900+ Connectors
- Real-world use case 01
Panic Selling
A trader sees a market crash and tells the agent to cancel all pending limit orders using cancel_order.
- Real-world use case 02
Quick Entry
A developer wants to buy 0.
- Real-world use case 03
Portfolio Review
A portfolio manager asks for a summary of all active futures positions to check their current risk exposure.
Complete set · 6capabilities
The complete OKX capability set.
These are the exact actions your AI can choose when you ask it to work with OKX.
01—03
3 capabilities in this set.
Part of 6 available through OKX.
- 01 Capability
Get balance
See how much of each currency you have in your trading account. This gives you a quick snapshot of your available capital.
- 02 Capability
Cancel order
Stop a pending order from executing on the exchange. You can use this to clear your order book instantly if market conditions change.
- 03 Capability
Get instruments
See a list of all the trading pairs and types available on your account. Use this to find the correct ID for the asset you want to trade.
04—06
3 capabilities in this set.
Part of 6 available through OKX.
- 04 Capability
Get positions
View all your current active trades and their current status. It helps you monitor your exposure across different instruments.
- 05 Capability
Amend order
Update the details of an order that hasn't been filled yet. This is useful when you need to change the price or size of a pending trade.
- 06 Capability
Place order
Open a new trade by specifying the amount, price type, and side. This lets you execute market or limit orders through your agent.
Set up in minutes
One URL. Then ask OKX to work.
Claude and ChatGPT only need the Connector URL. Copy it once, add it in settings, and use OKX from the conversation.
Choose your client
Live previewAdvanced clients IDE · CLI
Claude · Web + desktop
Connector URL · ready to paste
Streamable HTTPhttps://edge.vinkius.com/vk_preview_Ax5Q8n9mhVZ6QfccMtE4K3uI7ivl5xyIu9yZEAtC/mcp - Step 01
Open Connectors
In Claude Web or Claude Desktop, open Settings and choose Connectors.
- Step 02
Add the URL
Choose Add custom connector, name it OKX, and paste the URL above.
- Step 03
Turn it on in chat
Select +, open Connectors, and enable OKX for the conversation.
ChatGPT · Web + desktop
Connector URL · ready to paste
Streamable HTTPhttps://edge.vinkius.com/vk_preview_Ax5Q8n9mhVZ6QfccMtE4K3uI7ivl5xyIu9yZEAtC/mcp - Step 01
Open MCP settings
On desktop, open Settings and MCP servers. On web, open your workspace app or connector settings.
- Step 02
Add the URL
Choose Add server with Streamable HTTP, or create a custom MCP app, then paste the OKX URL.
- Step 03
Save and start
Save the connection and enable OKX in your conversation. Desktop may ask you to restart once.
Cursor · IDE configuration
Advanced setup
{
"mcpServers": {
"okx": {
"url": "https://edge.vinkius.com/vk_preview_Ax5Q8n9mhVZ6QfccMtE4K3uI7ivl5xyIu9yZEAtC/mcp"
}
}
} - Step 01
Open MCP Settings
Press Cmd+Shift+P (macOS) or Ctrl+Shift+P (Windows/Linux) → search "MCP Settings"
- Step 02
Add the server config
Paste the JSON configuration above into the mcp.json file that opens
- Step 03
Save the file
Cursor will automatically detect the new Connector
- Step 04
Start using OKX
Open Agent mode in chat and ask: "Using OKX, help me...". 6 tools available
VS Code Copilot · IDE configuration
Advanced setup
{
"mcpServers": {
"okx": {
"url": "https://edge.vinkius.com/vk_preview_Ax5Q8n9mhVZ6QfccMtE4K3uI7ivl5xyIu9yZEAtC/mcp"
}
}
} - Step 01
Create MCP config
Create a .vscode/mcp.json file in your project root
- Step 02
Add the server config
Paste the JSON configuration above
- Step 03
Enable Agent mode
Open GitHub Copilot Chat and switch to Agent mode using the dropdown
- Step 04
Start using OKX
Ask Copilot: "Using OKX, help me...". 6 tools available
Windsurf · IDE configuration
Advanced setup
{
"mcpServers": {
"okx": {
"url": "https://edge.vinkius.com/vk_preview_Ax5Q8n9mhVZ6QfccMtE4K3uI7ivl5xyIu9yZEAtC/mcp"
}
}
} - Step 01
Open MCP Settings
Go to Settings → MCP Configuration or press Cmd+Shift+P and search "MCP"
- Step 02
Add the server
Paste the JSON configuration above into mcp_config.json
- Step 03
Save and reload
Windsurf will detect the new server automatically
- Step 04
Start using OKX
Open Cascade and ask: "Using OKX, help me...". 6 tools available
Cline · IDE configuration
Advanced setup
{
"mcpServers": {
"okx": {
"url": "https://edge.vinkius.com/vk_preview_Ax5Q8n9mhVZ6QfccMtE4K3uI7ivl5xyIu9yZEAtC/mcp"
}
}
} - Step 01
Open Cline MCP Settings
Click the Connectors icon in the Cline sidebar panel
- Step 02
Add remote server
Click "Add Connector" and paste the configuration above
- Step 03
Enable the server
Toggle the server switch to ON
- Step 04
Start using OKX
Ask Cline: "Using OKX, help me...". 6 tools available
Claude Code · Terminal command
Advanced setup
claude mcp add okx --transport http "https://edge.vinkius.com/vk_preview_Ax5Q8n9mhVZ6QfccMtE4K3uI7ivl5xyIu9yZEAtC/mcp" - Step 01
Install Claude Code
Run npm install -g @anthropic-ai/claude-code if not already installed
- Step 02
Add the Connector
Run the command above in your terminal
- Step 03
Verify the connection
Run claude mcp to list connected servers, or type /mcp inside a session
- Step 04
Start using OKX
Ask Claude: "Using OKX, show me...". 6 tools are ready
Where the request belongs
Work OKX can move forward.
The active crypto trader who's tired of clicking through dashboards at 2am, the developer building automated workflows, and the portfolio manager who needs a quick summary of risk exposure.
Active Crypto Trader
Executes quick entries and exits during volatile moves without leaving their code editor or terminal.
Trading Bot Developer
Connects trading logic to AI agents to monitor exposure and manage orders while they code.
Portfolio Manager
Gets instant summaries of balances and risk exposure across different asset classes using natural language.
Build the capability set
Add more capabilities.
Each Connector adds new actions and data without changing how you work.
Browse ConnectorsBitso Exchange
Trade dynamically on Mexico's biggest Crypto Exchange. Access live balances, order books, and command trades programmatically.
Bybit
Access real-time crypto market data. tickers, klines, orderbook, trades, funding rates and open interest.
Kraken
Access real-time crypto market data, account balances, and trade history from Kraken directly within your AI agent.
Binance
Get real-time cryptocurrency prices, order books, candlesticks and trades from Binance exchange.
Binance (Crypto Market)
Track cryptocurrency markets via Binance. get real-time prices, monitor 24h trends, analyze market movers, and audit trading volumes directly from any AI agent.
Buenbit
Automate Crypto Exchange operations via Buenbit. track balances, extract asset tickers, and execute real-time trading directly from conversational AI.
Bring your own AI
Change the model, client or framework. Keep OKX connected.
-
Claude -
ChatGPT -
Gemini -
Cursor -
VS Code -
Windsurf -
ZCode -
Cline -
Zed -
Continue -
Kiro -
Roo Code -
Zencoder -
Goose -
Void -
Augment Code -
Amp -
Qodo -
Tabnine -
Pieces -
Sourcegraph Cody -
JetBrains -
Warp -
Amazon Q -
Antigravity -
BoltAI -
Raycast -
Jan -
LM Studio -
AnythingLLM -
Open WebUI -
Msty -
Cherry Studio -
LibreChat -
TypingMind -
Chorus -
5ire -
n8n -
LangChain -
LlamaIndex -
CrewAI -
Vercel AI SDK
Before you connect
Questions about OKX.
The practical details behind the request, access and result.
How do I connect my OKX account to this Connector?
You'll need to provide your OKX API Key, Secret Key, and Passphrase in the setup. This allows your agent to securely perform actions on your behalf.
Can I trade futures using the OKX MCP?
Yes, this Connector supports futures trading. You can check your active positions and place orders across different instrument types.
Is it safe to use my API keys with this?
Yes, the Connector uses your API credentials to communicate directly with OKX. Your keys are handled securely within your local environment.
How do I cancel a pending order?
Just tell your agent to cancel a specific order. It will find the pending order and stop it from executing on the exchange.
Does the OKX MCP work with Cursor?
Yes, it works with Cursor and any other MCP-compatible client like Claude or Windsurf.
Can I see my balance for specific coins?
Yes, you can ask your agent for your balance and specify the currency, or ask for a full summary of your account holdings.
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.
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.
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.
One connection away
Give your agent a direct line to OKX.
Connect OKX once. Keep it beside 5,900+ managed Connectors when the next task needs more.
Explore every Connector No credit card required · Free tier available