How to connect Cursor to Toobit
With TraderWAI, Cursor's Agent gets live market data and your Toobit account as MCP tools: get_ohlc for candles, get_quote, get_positions, get_broker_accounts, modify_position and more. Pull data into your project, prototype and backtest a strategy, check your positions and prepare orders with stop loss and take profit that you approve. One click or one entry in mcp.json, no API key.
Toobit: Crypto derivatives exchange with USDT perpetuals on crypto, gold, indices and stocks.
Step 1: add TraderWAI to Cursor
Works in Cursor (Agent).
- In Cursor go to Settings → Tools & MCP → «Add new MCP server».
- Or paste the configuration below into ~/.cursor/mcp.json.
- Click «Login» / «Connect» next to traderwai and sign in with Google.
- Use the chat in Agent mode and ask for what you need.
Or paste this into ~/.cursor/mcp.json (or .cursor/mcp.json in your project):
{
"mcpServers": {
"traderwai": {
"url": "https://mcp.traderwai.com"
}
}
}Step 2: connect your Toobit account
In TraderWAI go to Settings → Broker accounts → Add account and choose Toobit.
Create an API key in Toobit (Profile → API Management → Create API) with only «Contract» read and trade permissions (never withdrawals or transfers), restricted to IP 187.7.69.7, and paste the key and secret. Toobit asks for advanced identity verification (KYC) and Google Authenticator to create a trading key, and keys expire after 90 days. Live accounts only (beta).
Toobit works on the free plan: unlimited charts and analysis, and 5 order executions per day.
Step 3: ask Cursor
Open the chat in Agent mode and try, for example:
- «Use TraderWAI's get_ohlc to fetch the last 500 H1 candles of BTC/USDT, save them as a CSV in data/ and write a Python script that tests an EMA 20/50 crossover on them.»
- «Call get_broker_accounts and get_positions and write a short report of my open Toobit positions with the risk of each one.»
- «If any open Toobit position is at least 1R in profit, move its stop loss to break-even with modify_position. Show me the change before applying it.»
- «Run backtest_strategy on BTC/USDT: buy on H1 when a candle closes above the previous day's high, stop below that candle, 2R target. Then turn the rules into a function in my project.»
How Cursor works with Toobit
TraderWAI connects to Toobit USDT-M perpetual futures (longs and shorts) with an API key limited to «Contract» read and trade, and exposes it to Cursor as an MCP server. Besides crypto, Toobit lists gold, indices, oil and stocks as USDT perpetuals. The leverage is the one you set in Toobit for each pair, and the stop loss and take profit are attached to the position on Toobit itself. Toobit support is in beta.
- In Toobit go to your profile → API Management → Create API. To create a trading key Toobit requires advanced identity verification (KYC) and Google Authenticator.
- Give it only «Contract» read and trade permissions, never withdrawals or transfers, and restrict it to IP 187.7.69.7 (our European server).
- In TraderWAI go to Settings → Broker accounts → Add account → Toobit and paste the API key and secret.
- Toobit works on the free plan (beta), with live accounts only: its API has no demo, so you can start with a small balance in futures. Toobit keys expire after 90 days: then create a new one and update it in TraderWAI.
Example prompt for Cursor
«Show me BTC/USDT and ETH/USDT on H1 on Toobit. If BTC breaks above yesterday's high, prepare a long with a stop below the breakout candle and a 2R target, risking 0.5% of my balance.»
Every order carries a stop loss, is checked against your risk limits and waits for your approval unless you turn on auto-execution for that symbol.
What Cursor can do with your Toobit account
- Read live charts in any timeframe, with the indicators you ask for.
- Check your balance, open positions and pending orders.
- Backtest a strategy idea on historical data before risking anything.
- Prepare market, limit and stop orders with stop loss and take profit that you approve.
- Leave conditional orders that TraderWAI watches every minute.
- Respect your risk limits: maximum daily loss and drawdown, risk per trade, size and number of trades.
Questions
Can my own bot use the same data and account?
Inside Cursor, the Agent calls TraderWAI's tools while you work: it can save candles to files in your project and write and test code with them. For something that runs on its own, use TraderWAI's conditional orders, which are checked every minute even with Cursor closed, or connect your own agent to https://mcp.traderwai.com with an MCP client that supports OAuth. Every order goes through your risk limits.
Which TraderWAI tools can Cursor use?
All of them: get_ohlc, get_quote and get_chart for market data; get_broker_accounts, get_positions and get_account_info for your accounts; execute_trade, suggest_order, modify_position and close_position for orders; backtest_strategy for backtests and create_conditional_order for rules TraderWAI watches. Cursor asks before running a tool unless you allow it to run automatically.
What can Cursor trade on Toobit?
USDT perpetual futures, long or short: crypto such as BTC and ETH, and also gold, indices, oil and stocks listed as perpetuals. Sizes are in units of the asset; the minimum for BTC is 0.0001 BTC. Spot and inverse contracts are not connected.
Can I practise on a Toobit demo account?
Not through TraderWAI. Toobit's demo exists only on its website and app, and its API only works with live accounts. Start with a small balance and a low risk per trade; your risk limits and the stop loss on every order still apply.
Why did my Toobit connection stop working?
Toobit API keys expire after 90 days. Create a new key with the same permissions («Contract» read and trade) and the IP 187.7.69.7, and replace it in Settings → Broker accounts.
Is it free to connect Cursor to Toobit?
Yes. The free plan includes unlimited charts and analysis and 5 order executions per day.
Does Cursor place orders on its own?
Only if you want it to. By default every order needs your approval. You can also allow automatic execution for specific symbols, always within the risk limits you set.
Is my Toobit account safe?
Your credentials are encrypted (AES-256) and the key is kept on a separate server. TraderWAI only acts on your account as you instruct and never requests withdrawal permissions.
Does it work with demo accounts?
Not with TraderWAI: Toobit's API only allows live accounts (its demo exists only on its own website and app). You can start with a small balance; your risk limits are checked before every order.
Related guides
Other AIs with Toobit
Cursor with other platforms
- How to connect Cursor to MetaTrader 5
- How to connect Cursor to MetaTrader 4
- How to connect Cursor to TradeLocker
- How to connect Cursor to cTrader
- How to connect Cursor to Match-Trader
- How to connect Cursor to DXtrade
- How to connect Cursor to Capital.com
- How to connect Cursor to eToro
- How to connect Cursor to tastytrade
- How to connect Cursor to Binance
- How to connect Cursor to Bybit
- How to connect Cursor to Kraken
Trading involves risk. TraderWAI is a technology tool: it does not provide investment advice and AI analysis is not a recommendation; you decide every order.