How to connect ChatGPT to DT Terminal with MCP

By DT Terminal · Published

ChatGPT connects to DT Terminal as a custom connector, which needs a ChatGPT account with Developer mode turned on. In DT Terminal, open the AI page and press Connect to ChatGPT, which copies the connector URL and opens ChatGPT's settings. In ChatGPT, open Settings, then Plugins, then Developer mode, and turn it on. Then open Plugins in ChatGPT's sidebar, press +, choose Add custom MCP server, then Create MCP App, and paste https://dtterminal.app/api/mcp as the Server URL with OAuth. ChatGPT sends you to DT Terminal to sign in and shows what it is asking for. Reading your profile, journal, backtests and connected accounts is ticked; writing is not until you tick it, and nothing can place a trade at your broker. Tick the box that says your data will leave DT Terminal and press Allow. Turn the connector on in a new chat and ask about your trades. The AI page lists every call ChatGPT makes, and Disconnect stops it at once.

Step by step

You need a ChatGPT account with Developer mode turned on. The rest takes a few minutes.

01Copy the connector URL

Open DT Terminal, go to Settings and choose MCP. The connector URL sits at the top: https://dtterminal.app/api/mcp. Connect to ChatGPT copies it for you and opens ChatGPT's Plugins settings.

MCP works on every DT Terminal plan, Free included: the app can read your account and, when you allow it, write to your journal. You need an account before you connect, because the app you connect signs in to it.

  • Settings, then MCP, then Copy next to the connector URL
  • Or press the button for your app and skip the copying
DT Terminal the AI page: the connector URL with a Copy button, then Claude, ChatGPT, Claude Code, Cursor and VS Code, each with its logo and a connect button.
The AI page. One URL, and a button for each app.

02Create the connector in ChatGPT

Custom connectors in ChatGPT need a ChatGPT account and Developer mode. To connect DT Terminal to ChatGPT:

  1. In ChatGPT, open "Settings", go to "Plugins", then "Developer mode", and turn Developer mode on.
  2. Open "Plugins" in ChatGPT's sidebar, press "+" and choose "Add custom MCP server".
  3. Skip the upload box and press "Create MCP App".
  4. Name it "DT Terminal", leave Connection on "Server URL" and paste the URL below.
    https://dtterminal.app/api/mcp
  5. Keep Authentication on "OAuth", tick "I understand and want to continue", then press "Create".
  6. ChatGPT opens DT Terminal in your browser. Sign in there and check the request, as below.

03Sign in and check the request

DT Terminal shows who is asking, the account it will act as and where your data is sent. For ChatGPT that address is chatgpt.com. DT Terminal does not check who runs an app, since anyone can register one and pick its name, so deny it if the address is not chatgpt.com.

  • The screen says ChatGPT wants to connect
  • It sends to chatgpt.com
  • Deny anything you did not just set up
The DT Terminal permission screen for ChatGPT: ChatGPT wants to connect, sends to chatgpt.com, read only by default, with a box to tick before Allow.
What ChatGPT asks for, on DT Terminal's own screen.

04Choose what ChatGPT can do

Reading is ticked and writing is not. Press Customise to see every permission: read your profile; read and change your journal, your backtests, your charts, and what Edge remembers and watches; read your connected accounts and add notes to their orders; read your practice; and read your progress and change its settings. Deleting journal entries, backtests, chart items, or Edge alerts and routines is its own permission: it stays off unless you tick it, and All does not tick it.

Tick a write only if you want ChatGPT to log trades, write reflections or add notes to your broker orders for you. No permission can place a trade at your broker. Then tick the box that says your data will leave DT Terminal, and press Allow.

  • Reads are on, writes stay off until you tick them
  • Nothing you allow can place a trade
  • What ChatGPT reads is handled under its own terms from then on
The DT Terminal permission list opened with Customise: four reads ticked, and journal, backtest and account writes unticked, each marked READ or WRITE.
Customise opens the full list. Writes start unticked.

05What to ask ChatGPT

Ask about your trades the way you would ask Edge, the assistant inside DT Terminal. ChatGPT reads the same journal, so its answers come from your own trades and notes rather than from trading in general.

Turn the connector on in a new chat before you ask. If ChatGPT answers without it, name it in the question, for example "Using DT Terminal, find my leaks from the last 90 days".

  • What can you do?
  • Where am I losing money?
  • Compare my winning and losing trades: what's different?

06See what it did, and disconnect

The AI page lists ChatGPT with when you connected it, when it was last used and what it may do. Under it, What your AI read lists the latest calls, newest first, and whether each one worked.

Disconnect stops ChatGPT at once. Every token it held stops working, and it cannot read or change anything until you connect it again. What it already read stays with it.

  • Every call it made, newest first
  • Disconnect cuts it off straight away
Connected apps in DT Terminal: Claude, ChatGPT, Claude Code and Cursor with their permissions and a Disconnect button each, above the list of their recent calls.
Connected apps and their recent calls, from the demo account.

FAQ

The Model Context Protocol is an open standard for connecting an AI app to a tool it can read and use. An app that speaks it can work with any product that publishes a connector, without a separate integration for each one.

Any ChatGPT account where Developer mode shows up under Settings, Plugins. If it is missing, your plan or your workspace admin may not offer it. On the DT Terminal side every plan works, Free included, reading and writing.

Only if you tick a write permission for it, on any plan. Reading is the default. With journal write it can log trades, write notes and reflections, and edit them. Deleting is a separate permission that stays off unless you tick it, and anything it deletes goes to Recently Deleted. Every call it makes is listed on the AI page.

No. An AI app can never place, change or close a trade. The accounts write permission only adds your own notes to orders synced from your broker and reports when an account last synced, and no permission opens order execution, whatever the app asks for.

Check that Developer mode is on and that the URL is exactly https://dtterminal.app/api/mcp, with nothing added. Then delete the connector in ChatGPT and create it again, so it signs in afresh.

Open the AI page in DT Terminal and press Disconnect next to ChatGPT. Its access stops at once. Delete the connector in ChatGPT as well, so it stops asking.

Claude, ChatGPT, Claude Code, Cursor and VS Code each have a button on the AI page and a page like this one. Any other app that supports remote MCP servers with sign in can connect with the same URL.

Bring your trades, then bring ChatGPT.

Start free and connect your broker, then connect from AI, on any plan.

All guides