Create API Profile (MCP Tool)
Description
Based on: /docs/rest-api/post-api-profile-create
Create Exchange API Profile for WunderTrading.
Use to ask about:
- connect a new exchange account
- create a new API profile
- add exchange API credentials
- connect Binance, Bybit, OKX or another supported exchange
- create a trading account connection in WunderTrading
Prompt example
Create and enable Profile Api for binance with api key my_api_343deff3fse and secret my_secret_dfs23refcsdss, name: My-Binance-Api
Prompt example
Create and enable Profile Api for binance with api key my_api_343deff3fse and secret my_secret_dfs23refcsdss, name: My-Binance-Api, margin mode: isolated. Set it as favorite.
Input Schema
The Input Schema Provided to LLM.
Required: api, name, exchangeFamily
{
"inputSchema": {
"type": "object",
"properties": {
"api": {
"type": "string",
"minLength": 2,
"maxLength": 896,
"description": "Exchange API key."
},
"secret": {
"type": [
"string",
"null"
],
"minLength": 2,
"maxLength": 2048,
"description": "Optional exchange API secret key. Required by exchanges that use an API secret."
},
"enabled": {
"type": "boolean",
"default": false,
"description": "Enable the API profile after creation."
},
"name": {
"type": "string",
"minLength": 2,
"maxLength": 255,
"pattern": "^[a-zA-Z0-9_.-]+$",
"description": "API profile name. Allowed characters: letters, numbers, underscore, dot and hyphen."
},
"subaccount": {
"type": [
"string",
"null"
],
"minLength": 1,
"maxLength": 128,
"description": "Optional exchange subaccount identifier."
},
"subaccountKey": {
"type": [
"string",
"null"
],
"minLength": 1,
"maxLength": 1024,
"description": "Optional subaccount secret key."
},
"exchangeFamily": {
"type": "string",
"minLength": 1,
"maxLength": 255,
"description": "Exchange family code supported by the platform, e.g. BINANCE, BYBIT, OKEX."
},
"marginMode": {
"type": "string",
"enum": [
"cross",
"isolated"
],
"default": "cross",
"description": "Margin mode."
},
"favorite": {
"type": "boolean",
"default": false,
"description": "Whether to mark this API profile as favorite."
},
"tradeMode": {
"type": "string",
"enum": [
"auto",
"one_way_mode",
"hedge_mode"
],
"default": "one_way_mode",
"description": "Exchange trading position mode."
},
"password": {
"type": [
"string",
"null"
],
"minLength": 2,
"maxLength": 2048,
"description": "Optional API profile password/passphrase used by exchanges that require extra authentication."
},
"applicationId": {
"type": [
"string",
"null"
],
"minLength": 1,
"maxLength": 2048,
"description": "Optional application ID used by exchanges that require extra authentication."
},
"hypVault": {
"type": "boolean",
"default": false,
"description": "Set to true only when the supplied API key is a Hyperliquid vault key."
}
},
"required": [
"api",
"name",
"exchangeFamily"
],
"additionalProperties": false
}
}
We are continuously improving the platform, and new endpoints and features will be added soon to make your automated trading more flexible and efficient.