How-to ยท Step-by-step ยท Verified

CrossTrade MCP How-To Guides for NinjaTrader 8

Practical, step-by-step tutorials for connecting AI agents to NinjaTrader 8 through CrossTrade MCP. Every guide shows screenshots, exact prompts, scope choices, troubleshooting tables, and a safety block. Start with the client you use, then layer on the workflows that pay off first.

Connect an AI client

Choose your AI client

ChatGPT

For ChatGPT plans that support remote MCP connectors. OAuth-based, one server URL.

Connect ChatGPT to NinjaTrader 8 โ†’

Claude Desktop

The original MCP client. Best for interactive trading sessions and journal review.

Connect Claude to NinjaTrader 8 โ†’

Claude Code

CLI for NinjaScript authoring. Edits local files and calls MCP tools in one session.

Use Claude Code with NinjaTrader 8 โ†’

Cursor

AI coding IDE with MCP support. Multi-file workspace for strategy drafts.

Use Cursor with NinjaTrader 8 โ†’

Cline

Open AI coding assistant with MCP support.

Use Cline with NinjaTrader 8 โ†’

Continue

Open-source IDE assistant with MCP support.

Use Continue with NinjaTrader 8 โ†’

Authenticate

Authenticate CrossTrade MCP

OAuth 2.1 setup

One URL, one consent screen, no pasted bearer tokens. Dynamic client registration per RFC 7591.

Authenticate CrossTrade MCP โ†’

Pick the right scope

mcp:read for inspection, mcp:trade for writes. The OAuth scope is the floor.

Choose mcp:read vs mcp:trade โ†’

Revoke access

Immediate revocation from the CrossTrade AI Clients page.

Revoke AI client access โ†’

Troubleshoot 401, 403, 408

The three most common errors and the fix for each.

Troubleshoot 401, 403, and 408 โ†’

Start read-only

Run your first read-only AI trading agent

Read-only is where every trader should start. The OAuth scope makes write actions impossible. The workflows that pay off most are inspection-only anyway.

Vibe code NinjaScript

Vibe code, compile, and backtest in one conversation

The compile loop runs inside the chat. The agent calls real NT8 symbols, compiles in memory, repairs errors, writes the file with confirmation, and runs Strategy Analyzer.

Funded futures

Funded futures safety and rule-aware workflows

Funded futures rewards discipline. AI does not change that. CrossTrade MCP gives the agent the scope, state checks, and confirmation gates that make it safer to use, but the firm's rules are still binding.

Order management

Trade-enabled workflows with confirmation gates

Trade-enabled means the agent can place, cancel, or flatten. Every irreversible action should be restated and confirmed before the agent calls the tool.

Pick a tutorial. Run it on Sim101 first.

Every guide is read-only first, confirmation-gated for writes, and rule-aware for funded accounts.