Use TraderX with Cursor
Add TraderX to Cursor's MCP config with a personal key kept in an environment variable.
Create a personal key
Cursor reads the key from an environment variable, so the config file never holds it.
Keep the key private
Open Settings > AI agents
Sign in to TraderX and open Settings > AI agents.
Create a key
Give it a name you will recognise later, like the machine or app it runs on.
Copy it once
The key starts with
bbtx_pat_and is shown only once. It doesn't expire; it works until you revoke it.
export TRADERX_API_KEY="bbtx_pat_..."Add TraderX to Cursor
Add this to ~/.cursor/mcp.json to use TraderX in every project, or to .cursor/mcp.json in one project. If the file already has servers, add traderx next to them.
{
"mcpServers": {
"traderx": {
"url": "https://mcp.bbtraderx.com/mcp",
"headers": {
"Authorization": "Bearer ${env:TRADERX_API_KEY}"
}
}
}
}If your version of Cursor supports signing in to MCP servers, you can leave out headers and sign in with TraderX instead when Cursor asks.
Verify the connection
Open Cursor's MCP settings and check that traderx is enabled and lists its tools. Restart Cursor if you set TRADERX_API_KEY after it was already open. Then ask the agent what the TraderX connection can do.
Try it
Start a new chat and ask about your account. A few things to try:
Review
List my TraderX strategies and tell me which are paused and why.
Monitor
Show the latest trades on my BTC strategy and explain any runs that failed this week.
Discover
Show the top published strategies on TraderX and what coins they trade.
More in Example prompts. These only read your account, so they never change your strategies.
Something else? See Any MCP client.