Connecting to WunderTrading MCP
Learn how to connect your AI tool to WunderTrading using MCP.
This guide walks you through connecting your AI tool to WunderTrading using the Model Context Protocol (MCP). Once connected, your tool can open and close trades, read the information on the API connections that you currently have. Get the statistics from the trading history.
API and MCP Permissions
When creating or editing an API key for MCP, you can define API key permissions to limit MCP’s access to your account.
JSON configuration code
When you create an API key, you can find the JSON configuration code in the MCP tab.
Connection Examples
- Cursor
- VS Code (GitHub Copilot)
- Windsurf
- Antigravity
- JSON configuration
- Open Cursor Settings → Tools & MCP → Add custom MCP server.
- Paste the following configuration:
{
"mcpServers": {
"wundertrading": {
"url": "https://wundertrading.com:2083/mcp",
"headers": {
"X-API-Key": "Your API key here",
"X-Secret-Key": "Your Secret key here"
}
}
}
}
- Save and restart Cursor.
- Create a
.vscode/mcp.jsonfile in your workspace. - Paste the following configuration:
{
"servers": {
"wundertrading": {
"type": "http",
"url": "https://wundertrading.com:2083/mcp",
"headers": {
"X-API-Key": "Your API key here",
"X-Secret-Key": "Your Secret key here"
}
}
}
}
- Start your MCP server.
Output example:
--------------------------------------------
2026-04-07 12:12:57.847 [info] Starting server wundertrading
2026-04-07 12:12:57.848 [info] Connection state: Starting
2026-04-07 12:12:57.848 [info] Starting server from LocalProcess extension host
2026-04-07 12:12:57.848 [info] Connection state: Running
2026-04-07 12:12:58.139 [info] Discovered 14 tools
- Open the Command Palette (Cmd+Shift+P or Ctrl+Shift+P) and run
MCP: List Servers
- Open Windsurf Settings → search for MCP
- Click View raw config to open
mcp_config.json - Add the WunderTrading server configuration:
{
"mcpServers": {
"wundertrading": {
"serverUrl": "https://wundertrading.com:2083/mcp",
"headers": {
"X-API-Key": "Your API key here",
"X-Secret-Key": "Your Secret key here"
}
}
}
}
- Save and restart Windsurf.
- Follow the Antigravity instructions for connecting custom MCP servers and add the following to your
mcp_config.json:
{
"wundertrading": {
"url": "https://wundertrading.com:2083/mcp",
"headers": {
"X-API-Key": "Your API key here",
"X-Secret-Key": "Your Secret key here"
}
}
}
- Save the configuration.
- Most MCP clients accept a JSON configuration. Use the appropriate format for your tool:
{
"wundertrading": {
"url": "https://wundertrading.com:2083/mcp",
"headers": {
"X-API-Key": "Your API key here",
"X-Secret-Key": "Your Secret key here"
}
}
}