Use TraderX with any MCP client

Everything an MCP client needs to connect: the URL, the transport and how to authenticate.

Connection details

SettingValue
Server URLhttps://mcp.bbtraderx.com/mcp
TransportStreamable HTTP
Sign-inOAuth, with automatic client registration
Or a keyHeader Authorization: Bearer <key>

Sign in with TraderX

If your client supports OAuth for remote MCP servers, give it the URL and nothing else. It discovers the TraderX sign-in on its own, opens a TraderX page in your browser, and asks you to approve. Access lasts 60 minutes at a time and your client refreshes it without asking you again.

Use a bearer key

Clients without sign-in, and your own code, send a key in the Authorization header. Any of these work:

  • A personal key (bbtx_pat_) from Settings > AI agents. Sees your account.
  • A strategy key (bbtx_live_, bbtx_test_, bbtx_read_). Sees only that strategy.

Example config

Many clients use a JSON file shaped like this. Prefer your client's way of reading the key from the environment.

JSON config
{
  "mcpServers": {
    "traderx": {
      "type": "http",
      "url": "https://mcp.bbtraderx.com/mcp",
      "headers": { "Authorization": "Bearer <your bbtx_pat_ key>" }
    }
  }
}

Verify the connection

Your client should list at least 40 TraderX tools. Ask it to call limits_get: the answer shows the scopes the connection holds and its request limit. See Tools for the full list.

“localhost refused to connect” after Approve

Your MCP app picks up the sign-in on your computer, so this page means it had stopped waiting. Your TraderX account is fine.

  1. Sign in to TraderX first

    Open bbtraderx.com in your browser and sign in, so the approval page opens straight away.

  2. Start again from the app

    Keep Your MCP app open, start connecting again, and approve right away in a browser on the same computer.

  3. Or use a key

    A personal key skips the browser altogether: create one in Settings > AI agents and add it as an Authorization header.

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.