Skip to main content

Connect your AI assistant to WunderTrading (MCP)

Written by Ben Ross

You can now link an AI assistant — like Claude, Cursor, or another AI app — directly to your WunderTrading account and manage your trading by simply talking to it. Ask it to check how your strategies are doing, review your history, or place and close trades, all in plain language. This guide explains what that is, how to set it up, and how to use it well without running up your AI bill.

What you need This feature connects your own AI app to WunderTrading. WunderTrading provides the connection (called an "MCP server"); you bring an AI assistant that supports MCP, plus a WunderTrading API key. No coding is required — just copying and pasting.


1. What is MCP, and why does WunderTrading have one?

MCP (Model Context Protocol) is a common standard that lets an AI assistant safely connect to an outside service. Think of it as a universal adapter: instead of you clicking through the WunderTrading website, your AI assistant plugs into WunderTrading and can look things up and carry out actions on your behalf.

The WunderTrading MCP is that adapter for your WunderTrading account. Once it's connected, your AI assistant can:

  • Answer questions about your account — which strategies are running, how they're performing, your trade history.

  • Take trading actions when you ask — open a strategy, adjust one, or close it.

  • Pull reports — export your strategy and order history for your own records.

In short, it turns your AI assistant into a hands-free control panel for WunderTrading. You stay in charge: the assistant only does what you ask, and (with the setup we recommend below) always confirms before it touches a live trade.


2. Before you start — create your API key

To connect, your AI app needs an API key and a Secret key from WunderTrading. These act like a username and password that let the assistant reach your account.

  1. Sign in to WunderTrading (or register first).

  2. Go to the API keys page: wundertrading.com/en/trader/open_api.

  3. Create a new API key. When you do, you choose what the key is allowed to do — this is your main safety control (see the tip below).

  4. Copy both the API key and the Secret key and keep them somewhere safe.

Read these before you create the key - The Secret key is shown only once, right after you create it. Copy it immediately — you can't see it again later. - You can have up to 10 API keys on your account. - Keys expire after 3 months — unless you lock the key to specific IP addresses when creating it, in which case it doesn't expire. - Choose the narrowest permissions you need. For everyday questions and reports, a read-only key is safest — it can look but can't trade. Only use a key with trading permission when you actually want the assistant to place or close trades.


3. How to connect (install)

Connecting means pasting one small settings block into your AI app and dropping in your two keys. The same block works across AI apps that support MCP.

Paste this into your app's MCP settings, then replace the two placeholder lines with your real keys:

{
"wundertrading": {
"url": "https://wundertrading.com:2083/mcp",
"headers": {
"X-API-Key": "Your API key here",
"X-Secret-Key": "Your Secret key here"
}
}
}

What each part means, in plain terms:

  • url — the address of the WunderTrading MCP. Leave it exactly as shown.

  • X-API-Key and X-Secret-Key — paste your two keys from Step 2 here, between the quotation marks.

Where to paste it depends on your app:

AI app

Where the MCP settings live

Cursor

Settings → Tools & MCPAdd custom MCP server, paste the block, save, and restart. To check it worked, open the Command Palette (Ctrl/Cmd + Shift + P) and run MCP: List Servers.

Windsurf

Open the MCP configuration section, paste the same block, save, and restart.

VS Code (GitHub Copilot)

Add the block in the MCP configuration for Copilot.

Other MCP-compatible apps

Look for an "MCP servers" or "custom MCP" setting and paste the same block.

After you save and restart, your assistant will show the WunderTrading tools as available. That's it — you're connected.

Full instructions The official, always-current setup steps live in the docs: How to connect.


4. Give your assistant a "skill" — one instruction block

Out of the box, an assistant will use the WunderTrading tools, but it may over-explore, pull more data than needed, or act without checking with you first. You can fix all of that by giving it a short set of standing instructions once.

Most AI apps have a place for custom instructions (sometimes called a system prompt, project instructions, or rules). Paste the block below there. It teaches your assistant to be safe and economical every time — no need to repeat yourself.

You are my WunderTrading trading assistant, connected to my WunderTrading account through the WunderTrading MCP. Follow these rules at all times:1. Safety first. Never place, edit, cancel, or close any trade or strategy unless I clearly asked for that exact action in my most recent message. If I only ask a question, just read data — never trade.2. Confirm before any money moves. Before you place, change, or close anything, repeat back exactly what you are about to do (strategy, pair, size, direction) and wait for me to say "yes".3. Prefer reading. For questions about my account, use the read-only tools (live strategies, strategy details, history). Do not use the trading tools to answer a question.4. Be economical. Fetch only the data needed to answer. For long history, use the Export tools and give me the file or a short summary instead of listing every row.5. Summary first. Give me the key numbers first, then more detail only if I ask.6. Ask, don't assume. If my request is broad (e.g. "show me everything"), ask one quick question to narrow it down before pulling data.When I say "morning check", give me my live strategies, their status and profit/loss, and anything that needs my attention — read only, no changes.

You can edit the wording to taste, but keep rules 1 and 2 — they're what stop the assistant from trading without your say-so.


5. What you can do with it — examples

Here are practical ways traders use the WunderTrading MCP. The first three only read your account; the last two act, so your assistant should confirm with you first.

You say…

What happens

Type

"Morning check."

Lists your live strategies, their status and profit/loss, and flags anything odd.

Read only

"How did my strategies do last month? Export the history."

Pulls (or exports) your strategy and order history and summarises the result.

Read only

"What markets are available on Binance right now?"

Looks up supported exchanges and their markets so you can compare before deciding.

Read only

"Open a strategy on BTC with these settings…"

The assistant repeats the exact plan, waits for your "yes", then places it.

Acts — confirm first

"Close my ETH strategy now."

The assistant confirms which strategy and closes it at market.

Acts — confirm first

A good habit: keep a read-only key for everyday questions and reports, and only switch to a trade-enabled key for sessions where you actually intend to place or close trades.


6. Use it without burning through tokens

"Tokens" mean two different things here, and it's worth keeping both in check.

A) Your AI assistant's tokens (what you pay your AI provider for). Every message and every chunk of data the assistant reads costs tokens. To keep costs down:

  • Ask specific questions. "Show my 3 live strategies and their PnL" is far cheaper than "analyse my whole account."

  • Use summaries, not dumps. The instruction block in Step 4 tells the assistant to give you key numbers first — that alone saves a lot.

  • Export big history instead of reading it. For months of orders, the Export tools produce a file. That's cheaper and cleaner than having the assistant read thousands of rows into the chat.

  • Use the instruction block. A well-briefed assistant stops exploring by trial and error, which is a common source of wasted tokens.

  • Start a fresh chat for a new topic. Long chats carry all their earlier history into every new message, which quietly raises the cost.

B) WunderTrading' API rate limits (how often your assistant may contact WunderTrading). These protect the platform. If your assistant makes too many requests too quickly, WunderTrading will temporarily slow it down or block it. The current limits:

Limit

Value

Per API key

1,200 request-tokens per minute

Per IP address

2,400 request-tokens per minute

Burst limit

400 requests per 10 seconds → a 5-minute ban if exceeded

Simple requests cost fewer request-tokens; complex ones cost more, and WunderTrading notes these limits can change. In normal use you won't hit them — they only matter if an assistant loops or fires rapid repeated requests, which the "be economical" instructions above help avoid.

Details Full, current limits are in the docs: Rate limits.


7. Tools reference

The WunderTrading MCP gives your assistant 15 tools. Nine only read information; six can change your account (trade), so those should always be used with your confirmation.

Read-only (safe for questions and reports)

Tool

What it does

Get Supported Exchanges

Lists the exchanges WunderTrading supports.

Get Exchange Markets

Lists the tradable markets on an exchange.

Get API Profiles

Shows your connected API profiles.

Get Strategy

Shows the details of one strategy.

Get Live Strategies

Lists your currently running strategies.

Get Strategies History

Returns your past strategies.

Get Strategy Orders History

Returns the orders a strategy placed.

Export Strategies History

Exports your strategy history as a file.

Export Strategy Orders History

Exports your order history as a file.

Trading (changes your account — confirm first)

Tool

What it does

Place Strategy Trade

Starts a new strategy.

Edit Trade Strategy

Changes an existing strategy's settings.

Cancel Strategy

Cancels a strategy.

Close Strategy Market

Closes a strategy's position at market.

Place Strategy Market Enter

Enters the market immediately for a strategy.

Place Strategy Swing

Creates a swing-trading strategy.

Per-tool details Each tool has its own page in the docs, under MCP → Tools.


Need help?

If something doesn't connect, double-check that you pasted both keys correctly and that your key hasn't expired (keys last 3 months unless you whitelisted an IP). You can also reach the community on Discord, X, or Telegram.

Did this answer your question?