Connect ChatGPT
You can connect B2Trader to ChatGPT as a connector. It uses the same B2Trader MCP URL and OAuth sign-in as every other agent. Pick the surface you need first — see Overview:
- Read-only:
https://<your-broker-domain>/mcp-read-only - Full access:
https://<your-broker-domain>/mcp-full-access
Ask your broker for the exact base URL for your platform. The read-only connector may also be discoverable directly in ChatGPT's connector directory. Connector availability depends on your ChatGPT plan.
Connect the B2Trader connector
- In ChatGPT, open Settings → Connectors.
- Choose to add a connector by URL (custom connector).
- Paste the B2Trader MCP URL for the surface you want (read-only or full access).
- Confirm. ChatGPT reads the endpoint's OAuth metadata and opens the sign-in page for your platform in your browser.
- Sign in with the credentials you normally use. Depending on how your broker set up your platform, this is either the B2Trader sign-in form or the sign-in page of the portal you normally use to access your account. Authentication uses OAuth 2.1 with PKCE — no API key is pasted into ChatGPT.
- Full access only: approve the consent screen (see The full-access consent screen).
- ChatGPT lists the connector as connected, and the B2Trader tools become available to it.
The full-access consent screen
When you connect the full-access surface, B2Trader shows an explicit consent screen before issuing a token. It reads:
Connecting this AI agent lets it place, cancel and close orders and set triggers on your account directly, with no per-action confirmation. These actions are irreversible. This differs from the in-terminal AI chat, which confirms each trade.
- Approve — ChatGPT receives a token carrying the
mcp:tradescope and can trade on your account. - Decline — no token is issued and ChatGPT stays disconnected from the full-access surface.
The read-only surface does not show this screen — it only grants the mcp:read scope.
Before approving full access, read Full-access safety.
What "connected" looks like
- The connector appears as connected in ChatGPT's settings.
- B2Trader tools are available to ChatGPT in your chats.
- On read-only, no order-placing or position-closing tools appear — they are not part of that surface.
Disconnecting
- In ChatGPT, remove the connector to stop it calling B2Trader.
- To revoke B2Trader's side of the grant, use the account console — see How to stop your agent.
Last updated on