Skip to main content

How to Connect ChatGPT to NinjaTrader 8

You can connect ChatGPT (or any ChatGPT-compatible MCP client) to NinjaTrader 8 through CrossTrade MCP. The setup is OAuth-based, takes about five minutes, and gives the assistant typed access to your accounts, journal, webhook signals, copier activity, NinjaScript surface, Strategy Analyzer, and (with the right scope) order placement.

This page walks you through what "connect" actually means, the requirements, and a safe order of operations.

What "connecting" actually means

There is no direct path from ChatGPT to NinjaTrader. ChatGPT does not run on your machine. NT8 is a Windows desktop application. The connection is a chain:

ChatGPT (or any MCP client)
│ OAuth-authorized request

CrossTrade hosted MCP server


CrossTrade Add-On running inside NT8 on your PC


NinjaTrader 8

ChatGPT calls a typed MCP tool. CrossTrade routes the call to the add-on inside your NT8. The result comes back the same way. Everything is OAuth-authorized and scoped.

Requirements

RequirementDetails
CrossTrade subscriptionElite tier. Non-Elite accounts can authorize but tool calls return 403.
Add-onCrossTrade Add-On v1.13.0 or newer.
NinjaTraderNT8 running and connected.
ChatGPT capabilityA ChatGPT plan and client that supports remote MCP / custom connectors. Availability changes by plan and region.
BrowserRequired for the one-time OAuth consent.

If your ChatGPT plan does not yet offer remote MCP, the equivalent path is Claude Desktop or Claude Code (see Claude + NinjaTrader) or Cursor with a paid plan.

Read-only setup

Start here, even if you intend to enable trading later.

  1. In ChatGPT, open the connectors / MCP servers settings.
  2. Add a new remote MCP server with URL https://app.crosstrade.io/v1/api/mcp.
  3. The client opens a browser tab to the CrossTrade consent screen.
  4. Approve mcp:read for now.
  5. Return to ChatGPT. The CrossTrade tools should appear in the tool inventory.
  6. Ask:

Call GetMcpCapabilities and McpSelfTest. Summarize my add-on version, backtest engine availability, and any feature flags. Stop after these two calls.

The assistant should call both tools and produce a one-paragraph summary. If anything looks off, see Troubleshooting.

First prompts (read-only)

After the connection works, try these to build trust before any trade.

Pre-session inspection

Give me a pre-session brief for Sim101. Call ListAccounts, GetConnections, ListPositions, ListOrders, GetAccountSummary, and GetWatermarks. Tell me what is open, what is working, and the day's realized P&L. Do not call any write tools.

Journal review

Pull the last 20 closed trades on Sim101 from the journal. Group by instrument and side. Report win rate, average win, average loss, and the three biggest losers. Do not expose any account identifiers.

Webhook diagnostics

Pull TradingView webhook signals from the last six hours for Sim101. For each signal, show the intended action and whether it matched an order. Highlight any that did not fill and the likely reason.

Trade-enabled setup with confirmation

Only after the read-only setup feels reliable:

  1. Revoke the mcp:read grant from the CrossTrade AI Clients page.
  2. Reauthorize ChatGPT with mcp:trade scope.
  3. Add a strict system prompt that requires state checks and confirmation before any write.

Suggested system prompt:

You are connected to CrossTrade MCP. Before any PlaceOrder, CancelOrder,
FlattenEverything, DeployStrategy, or WriteNinjaScriptFile call, you must:

1. Read ListAccounts, GetConnections, ListPositions, ListOrders,
GetAccountSummary, and GetWatermarks.
2. Restate the proposed action with account, instrument, side, and quantity.
3. Wait for me to type "confirm" before calling the write tool.

If any read fails, stop and tell me what is missing. Never act on a funded
account if you cannot first verify daily loss room and the firm's rules.

Funded account example

Funded futures accounts have firm-specific rules. Some firms prohibit automation outright. Always check the firm's official rules page before granting mcp:trade to an agent against a funded account.

For inspection-only workflows on a funded account, this is a safe pattern:

I'm on APEX1234, an Apex $50k evaluation. You have mcp:read only. Give me a risk brief: positions, working orders, account summary, watermarks. Compute how close I am to a $1,500 trailing drawdown using the high watermark and current balance. Do not place anything. Do not recommend trades.

Read-only is the right default for funded accounts.

Troubleshooting

SymptomLikely causeFix
No tools listedOAuth consent failed or scope rejected.Reauthorize from CrossTrade AI Clients.
MCP requires an Elite subscriptionAccount is below Elite.Upgrade.
Tools time outNT8 closed or add-on disconnected.Open NT8.
Add-on version too oldBelow v1.13.0.Update the add-on.
insufficient_scopeTool needs mcp:trade but token is mcp:read.Reauthorize at mcp:trade only if the workflow needs it.