Cline · MCP · NinjaTrader 8

Connect Cline to NinjaTrader 8

Open-source VS Code AI assistant with MCP support. Easy UI for adding remote servers.

See it in action
cline · crosstrade mcp · sim101

Cline calling CrossTrade MCP tools against a live NinjaTrader 8 account. Run this yourself in 5 minutes →

Why Cline

Why pair Cline with CrossTrade MCP

Cline is one of the most popular VS Code AI extensions. Add CrossTrade through the MCP Servers panel (Remote Servers tab) or edit cline_mcp_settings.json directly. OAuth handled in browser.

Transport Cline panel UI or cline_mcp_settings.json with type: "streamableHttp" (camelCase)
Highlights

What this combination unlocks

UI-first

Add server via panel, no JSON editing required.

Browser OAuth

Cline pops the consent URL in your default browser.

BYOK or Cline account

Use any provider key or Cline's bundled credits.

How it works

The connection chain

Cline
   │  OAuth-authorized tool call
   ▼
CrossTrade hosted MCP server   (https://app.crosstrade.io/v1/api/mcp)
   │
   ▼
CrossTrade Add-On running inside NT8 on your PC
   │
   ▼
NinjaTrader 8

One URL, one consent screen, one read-only first prompt. The MCP server is hosted by CrossTrade; you don't run anything beyond NT8 + the CrossTrade Add-On.

Ready to set up Cline?

The full step-by-step setup lives on a dedicated page. Verified against Cline's current docs.

Open setup instructions →
Example prompts

Copy-paste prompts that work today

Journal review Pull last 20 closed trades on Sim101. Group by instrument and side.
FAQ

Common questions

Is Cline a good fit for NinjaScript development?

Yes, especially if you live in VS Code. Cline is one of the most popular VS Code AI extensions, with strong MCP support. Browser OAuth, easy UI for adding remote servers, and BYOK for any model provider.

Do I need Cline, or does Continue / Roo Code work?

All three are VS Code AI extensions with MCP. Cline is the most established (largest user base). Roo Code is a Cline fork with Architect/Code/Ask/Debug modes. Continue is multi-IDE (VS Code + JetBrains) but lacks native OAuth. Pick by feature priority.

Cost?

The extension is free, open source, BYOK. You pay the model provider directly (Anthropic, OpenAI, OpenRouter, etc.). Cline also offers a Cline Account with bundled credits as an alternative.

Why streamableHttp camelCase instead of streamable-http kebab?

Cline's JSON config uses type: "streamableHttp" (camelCase). Roo Code and Continue use streamable-http kebab-case. This means you can't share configs between them without renaming. Annoying but real — pick the right casing for your tool.

Re-auth keeps failing with "missing stored state" — fix?

Known bug after token expiry (GitHub issue #7964). Workaround: remove the server entry and re-add it; the OAuth flow restarts cleanly. Cline is working on a proper fix.

Cline vs Cursor?

Cline is a VS Code extension; Cursor is a standalone VS Code fork. If you want to keep your VS Code setup intact (other extensions, settings), Cline. If you want an AI-native editor from the ground up, Cursor.

Which model should I run with Cline?

Claude for cleanest NinjaScript drafts. GPT for strict tool calling. DeepSeek for cost-efficient iteration. Cline lets you switch mid-session; many traders default to Claude for code and DeepSeek for journal analysis.

Multi-instance — can I run Cline against multiple CrossTrade accounts?

CrossTrade tokens are per-account on CrossTrade's side. You can register multiple MCP servers in Cline (each with a different token in headers) and call them separately. Watch the 3 req/sec rate limit per token.

Connect Cline to NinjaTrader 8 in 5 minutes

Free Sim101 walkthrough. Read-only first. Upgrade scope only when a real workflow needs it.