1. Conduid
  2. Browser
  3. Nt8 MCP
MCP server · Browser

Nt8 MCP

MCP server + NinjaTrader 8 AddOn that gives an AI coding assistant eyes and a build loop for NinjaScript: offline and in-platform compile with structured errors, chart / indicator / drawing reads, Print and log capture, headless backtests, optimize and walk-forward, screenshots. Read-only by default.

53Fair

Scored 4 hours ago · breakdown

About Nt8 MCP

Nt8 MCP is an MCP server published by tbraman-dev in the Browser category: mCP server + NinjaTrader 8 AddOn that gives an AI coding assistant eyes and a build loop for NinjaScript: offline and in-platform compile with structured errors, chart / indicator / drawing reads, Print and log capture, headless backtests, optimize and walk-forward, screenshots. Read-only by default. Conduid read 97 tools from its source: nt_account, nt_analyze, nt_api, nt_api_search, nt_atm_change, nt_atm_close and 91 more. No package is published for it, so it installs from a source checkout.

The repository has 36 stars and 9 forks, and its last commit was on 29 Nov 2026. The latest release is v1.4.0 (20 Sep 2026): Order module: brackets, close, reverse, and manage-any-order. It follows v1.3.1 (20 Sep 2026), and the 4 most recent releases go back to v1.2.0 (19 Sep 2026). Its topics include backtesting, devtools, ninjascript, ninjatrader, ninjatrader8 and trading-tools.

Install

From source
git clone https://github.com/tbraman-dev/nt8-mcp

Tools (97)

nt_accountRead-only account state: cash, realized/unrealized P&L, positions, orders. No name = all accounts.
ParameterTypeDescription
namestring
nt_analyzeBreakdowns for a saved run's trade list, or one handed in directly: by month (exit
ParameterTypeDescription
run_idstring
tradesarray
nt_apiLook up one type's real shape by reflection: kind, base type, interfaces, and its public +
ParameterTypeDescription
memberstring
type_name *string
nt_api_searchSearch the loaded NinjaTrader assemblies for public types and members whose name matches
ParameterTypeDescription
limitinteger
query *string
nt_atm_changeMove a running ATM strategy's stop and/or target to a new price.
ParameterTypeDescription
account *string
atm_id *string
confirmstring
issued_atnumber
stop_pricenumber
target_indexinteger
target_pricenumber
nt_atm_closeClose ONE ATM strategy: NinjaTrader cancels its working orders and flattens the position it
ParameterTypeDescription
account *string
atm_id *string
confirmstring
issued_atnumber
nt_atm_startSend ONE entry order under a saved ATM strategy template. This OPENS a position, and
ParameterTypeDescription
account *string
action *string
confirmstring
instrument *string
issued_atnumber
limit_pricenumber
order_type *string
quantity *integer
stop_pricenumber
template *string
tifstring
nt_atm_statusThe ATM strategies that are still working: their entry, stop and target orders with the TRUE
ParameterTypeDescription
accountstring
nt_atm_templatesList the saved ATM strategy templates and the bracket parameters that can be read from them.
nt_backtestRun a strategy backtest and wait for it to finish, returning the final status doc (summary + trades +
ParameterTypeDescription
bars_periodobject
break_at_eodboolean
chartstring
commission_templatestring
fill_limit_on_touchboolean
fill_resolutionstring
fill_resolution_typestring
fill_resolution_valueinteger
from_datestring
include_commissionboolean
include_trade_historyboolean
inputsobject
instrumentstring
max_tradesinteger
save_runboolean
slippage_ticksnumber
strategy *string
templatestring
tick_replayboolean
to_datestring
wait_sinteger
nt_backtest_cancelCancel a running backtest on the Backtest account (Terminated) and drop its record. id from nt_backtest or nt_backtests.
ParameterTypeDescription
id *string
nt_backtest_statusStatus of one backtest by id: state, and once state is done, summary + trades. id from nt_backtest or nt_backtests.
ParameterTypeDescription
id *string
nt_backtestsList all backtests (id, strategy, instrument, period, from/to dates, state).
nt_barsLast n OHLCV bars of chart's primary series, oldest first. chart id from nt_charts, or 'first'.
ParameterTypeDescription
chartstring
ninteger
nt_bridge_logLast n lines of the AddOn's own ring-buffer log (requests, errors) — for debugging the AddOn itself.
ParameterTypeDescription
ninteger
nt_cancel_orphansCancel every working order on ONE account (optionally one instrument) whose owning strategy
ParameterTypeDescription
account *string
caller *string
confirmstring
instrumentstring
issued_atnumber
nt_chart_indicator_addAdd an indicator to a chart. indicator is a short ("SMA") or full type name; unknown = error.
ParameterTypeDescription
chartstring
indicator *string
inputsobject
panelinteger
nt_chart_indicator_removeRemove an indicator from a chart, by its display name (indicator, exact match, from
ParameterTypeDescription
chartstring
forceboolean
indexinteger
indicatorstring
nt_chart_reloadReload NinjaScript on ONE chart — NinjaTrader's own Reload NinjaScript command, run inside the
ParameterTypeDescription
chartstring
nt_chart_scroll_toScroll a chart so `time` (local NT8 time, "yyyy-MM-ddTHH:mm:ss") is visible, keeping the
ParameterTypeDescription
chartstring
time *string
nt_chart_set_seriesChange a chart's primary series: instrument (a name nt_data_coverage/nt_backtest would
ParameterTypeDescription
bars_periodobject
chartstring
instrumentstring
restoreboolean
nt_chart_stateFull state of one chart: instrument, tick size, visible range, panels, strategies. chart id from nt_charts, or 'first'.
ParameterTypeDescription
chartstring
nt_chartsList open charts (id, title, instrument, period, bar count, indicators). Precondition: AddOn running.
nt_checkCompile-check files against the real NinjaTrader.Custom.csproj in a scratch build dir — same compiler and
ParameterTypeDescription
filesarray
nt_compatThe reflection-resolution table for every NT8 member this repo binds by name — what an NT8
nt_compileCompile-check every NinjaScript .cs under bin\\Custom with NinjaTrader's own compiler, through the
ParameterTypeDescription
timeout_sinteger
nt_compile_f5Cold-start compile: press F5 in NT8's NinjaScript Editor and wait for NinjaTrader.Custom.dll to be
ParameterTypeDescription
timeout_sinteger
nt_connectionsEvery connection NinjaTrader has configured or is actually running, with why each one last dropped.
ParameterTypeDescription
ninteger
sinceinteger
nt_crash_reportREAD-ONLY: what happened just before NinjaTrader last restarted. Finds the most recent
ParameterTypeDescription
ninteger
nt_data_coveragePre-flight the local data store for one instrument: which days NinjaTrader actually has on disk,
ParameterTypeDescription
from_datestring
instrument *string
kindstring
to_datestring
nt_data_downloadQueue a historical/market-replay download into NinjaTrader's own data store and return {id, state} at
ParameterTypeDescription
bigboolean
from_date *string
instrument *string
kindsarray
overwriteboolean
to_date *string
typesarray
nt_data_download_cancelCancel a queued or running data download by id. The worker stops before the next date; a date already
ParameterTypeDescription
id *string
nt_data_download_statusStatus of one data download by id (from nt_data_download): state (queued|running|done|error|cancelled|
ParameterTypeDescription
id *string
nt_data_probeHow far back the CONNECTED provider actually serves data for one instrument, at one resolution
ParameterTypeDescription
instrument *string
kindstring
wait_sinteger
nt_desk_recoverRestart recovery in one call: re-enable every allowlisted leg (desk_legs.json; `account`
ParameterTypeDescription
accountstring
caller *string
confirmstring
issued_atnumber
nt_desk_statusREAD-ONLY desk check in one call: NinjaTrader process start time and the last "Session Break"
nt_drawingsDrawing objects (lines/rays/rectangles/text) on chart, with owner and anchors.
ParameterTypeDescription
chartstring
nt_editor_openOpen NinjaTrader's NinjaScript Editor window (`POST /editor/open`), exactly as Control Center >
nt_executionsReal order fills on one live/Sim account over a date range, oldest first — the raw executions
ParameterTypeDescription
account *string
from_datestring
instrumentstring
ninteger
to_datestring
nt_feedhealthLast-tick age per instrument, to catch a feed that is frozen but still reports Connected.
ParameterTypeDescription
instruments *array
nt_flattenREDUCE-ONLY kill switch: cancel an account's working orders and flatten its open positions.
ParameterTypeDescription
account *string
confirmstring
instrumentstring
issued_atnumber
nt_grid_disableDisable ONE existing Strategies-grid row by its strategyId, with NinjaTrader's own
ParameterTypeDescription
account *string
caller *string
confirmstring
issued_atnumber
strategy_id *string
nt_grid_disable_allDisable a LIST of Strategies-grid rows by strategyId, each through nt_grid_disable. It
ParameterTypeDescription
caller *string
confirmstring
ids *array
issued_atnumber
nt_grid_enableRe-enable ONE existing Strategies-grid row by its strategyId. From then on the strategy
ParameterTypeDescription
account *string
caller *string
confirmstring
issued_atnumber
strategy_id *string
nt_grid_removeRemove ONE Strategies-grid row by its strategyId (from nt_strategies_running). Refused when
ParameterTypeDescription
account *string
caller *string
confirmstring
issued_atnumber
strategy_id *string
nt_healthAddOn health: version, NT8 version, connections, chart count. Precondition: AddOn running.
nt_indicatorsIndicators on chart with their inputs and last n plot values each. name filters by substring (case-insensitive).
ParameterTypeDescription
chartstring
ninteger
namestring
nt_installCopy .cs files into NT8's Custom/<AddOns|Strategies|SuperDomColumns|Indicators> (folder decided by class
ParameterTypeDescription
files *array
nt_install_addonInstall the whole NT8Bridge AddOn: delete orphan NT8Bridge*.cs files in NT8's Custom/AddOns (a partial
nt_leg_decisionsREAD-ONLY: each leg's own decision log — every line of the last `days` dates in
ParameterTypeDescription
daysinteger
strategystring
nt_lintStatic hazard scan of NinjaScript .cs files (files, folders or globs; folders are read recursively).
ParameterTypeDescription
paths *array
rulesarray
nt_lockTake, renew or release the local NT8 lock that nt_cancel_orphans, nt_grid_remove,
ParameterTypeDescription
caller *string
minutesnumber
releaseboolean
nt_logNinjaTrader's own log (connection, order, execution, strategy and system events) from the AddOn's ring.
ParameterTypeDescription
containsstring
levelstring
ninteger
namestring
sinceinteger
nt_matchNT8 trade match: does NinjaTrader trade the same entries as the research reference? (The >=95%
ParameterTypeDescription
backtestobject
backtest_idstring
bars_chartstring
bars_csvstring
bars_ninteger
bars_time_is_closeboolean
columnsobject
entry_tol_minnumber
exit_mapobject
from_datestring
gatestring
max_rowsinteger
news_minutesarray
nt8_columnsobject
nt8_time_shift_mininteger
nt8_tradesany
price_tol_ticksnumber
reference_csv *string
run_idstring
session_startstring
thresholdnumber
tick_sizenumber
to_datestring
nt_nrd_bookRebuild the order book from NinjaTrader market-replay .nrd files, one snapshot every step_s seconds, with
ParameterTypeDescription
contract *string
out_dir *string
replay_dirstring
session_date *string
step_sinteger
t_fromstring
t_tostring
nt_nrd_exportDecode NinjaTrader market-replay .nrd files straight to per-day L1/L2 UTC parquet — pure local Python,
ParameterTypeDescription
forceboolean
instrument_glob *string
levelsarray
out_dir *string
replay_dirstring
nt_optimizeGrid-search a strategy's inputs by running one ordinary backtest per combination and ranking the results.
ParameterTypeDescription
bars_periodobject
chartstring
commission_templatestring
fill_limit_on_touchboolean
fill_resolutionstring
fill_resolution_typestring
fill_resolution_valueinteger
fitnessstring
from_datestring
include_commissionboolean
include_tradesboolean
inputsobject
instrumentstring
max_combosinteger
max_runsinteger
min_tradesinteger
params *any
slippage_ticksnumber
strategy *string
tick_replayboolean
to_datestring
top_ninteger
wait_sinteger
nt_order_bracketSubmit an entry with its stop loss and its profit target(s) under ONE plan and ONE confirm.
ParameterTypeDescription
account *string
action *string
confirmstring
instrument *string
issued_atnumber
limit_pricenumber
order_type *string
quantity *integer
stop_loss_pricenumber
stop_loss_ticksinteger
stop_pricenumber
targetsarray
tifstring
nt_order_cancelCancel ANY live order on a Simulator or Playback account, by order id.
ParameterTypeDescription
account *string
confirmstring
issued_atnumber
order_id *string
nt_order_changeChange the quantity and/or the prices of ANY live order on a Simulator or Playback account.
ParameterTypeDescription
account *string
confirmstring
issued_atnumber
limit_pricenumber
order_id *string
quantityinteger
stop_pricenumber
nt_order_submitSubmit ONE order on ONE Simulator or Playback account. This can OPEN a position.
ParameterTypeDescription
account *string
action *string
confirmstring
instrument *string
issued_atnumber
limit_pricenumber
order_type *string
quantity *integer
stop_pricenumber
tifstring
nt_outputNinjaScript Print() output from the AddOn's ring buffer, whether or not the Output window is open.
ParameterTypeDescription
containsstring
ninteger
sinceinteger
tabinteger
nt_output_windowLast n lines SCRAPED from the NinjaScript Output window (tabs 1+2 merged, tagged). Precondition: the
ParameterTypeDescription
ninteger
nt_performanceRound-trip trades and performance metrics for real fills on one live/Sim account — the same
ParameterTypeDescription
account *string
from_datestring
instrumentstring
ninteger
to_datestring
nt_playbackRead NinjaTrader's Market Replay transport: whether the Playback connection is connected, whether
ParameterTypeDescription
budget_sinteger
coverageboolean
instrumentstring
nt_playback_runRun Market Replay as a bounded job and wait for it to finish. Positions the clock at `from_time`
ParameterTypeDescription
from_timestring
speedinteger
to *string
wait_sinteger
nt_playback_run_cancelCancel a queued or running playback run: the AddOn pauses the clock, reports what it saw, and
ParameterTypeDescription
id *string
nt_playback_run_statusStatus of one playback run by id (from nt_playback_run): "state" (queued|running|done|error|
ParameterTypeDescription
id *string
nt_playback_seekMove the Market Replay clock to `time` (US Eastern, e.g. "2026-08-10T09:30:00" — the same basis
ParameterTypeDescription
time *string
wait_sinteger
nt_playback_speedSet the Market Replay playback speed. speed=0 pauses; a positive whole number plays at that
ParameterTypeDescription
speed *integer
nt_position_closeCancel the working orders of ONE instrument on ONE Simulator or Playback account, then flatten
ParameterTypeDescription
account *string
confirmstring
instrument *string
issued_atnumber
nt_position_reverseCancel the working orders of ONE instrument on ONE Simulator or Playback account, flatten that
ParameterTypeDescription
account *string
confirmstring
instrument *string
issued_atnumber
nt_reconcileReconcile a backtest's trades against a Market Replay run's real fills — the check no other
ParameterTypeDescription
backtest_idstring
backtest_run_idstring
backtest_tradesarray
playback_executionsarray
playback_run_idstring
tick_sizenumber
tolerance_secondsnumber
tolerance_ticksnumber
nt_reload_assemblyCompile for real AND make NinjaTrader swap the running assembly (`POST /compile?reload=1`), so new and
ParameterTypeDescription
timeout_sinteger
nt_reportStats — and optionally a one-page PDF — for a finished backtest: equity curve, drawdown, KPI tiles.
ParameterTypeDescription
idstring
pdf_pathstring
status_docobject
nt_runOne saved run in full: the original request, inputs, cost settings, from/to and barsFrom/barsTo,
ParameterTypeDescription
id *string
nt_run_compareDiff two saved runs by id (from nt_runs): differing inputs, differing cost settings, the
ParameterTypeDescription
a *string
b *string
nt_runsList saved backtest runs (newest first), one compact row each: id (pass to nt_run/nt_run_compare),
ParameterTypeDescription
limitinteger
strategystring
nt_screenshotScreenshot of chart's window content, returned as a PNG image. chart id from nt_charts, or 'first'.
ParameterTypeDescription
chartstring
nt_shotScreenshot a top-level window by title substring (empty = whole virtual screen), returned as a PNG
ParameterTypeDescription
outstring
titlestring
nt_statusIs the running assembly newer than the newest .cs on disk (GET /ntstatus), PLUS an
nt_strategiesList strategies available to backtest (name, full type name, [NinjaScriptProperty] inputs with defaults).
nt_strategies_runningRead the Control Center's Strategies grid: the strategy population that is NOT on a chart and
ParameterTypeDescription
materializeboolean
nt_strategy_runsThe strategies THIS server started, read back off the running instances: state, position,
nt_strategy_startAdd a strategy to NinjaTrader's Strategies grid on a Simulator or Playback account and enable
ParameterTypeDescription
account *string
bars_period *object
break_at_eodboolean
confirmstring
days_to_loadinteger
inputsobject
instrument *string
issued_atnumber
strategy *string
trading_hoursstring
nt_strategy_stopDisable and remove a strategy THIS server started, by the id nt_strategy_start returned.
ParameterTypeDescription
account *string
confirmstring
id *string
issued_atnumber
nt_templatesList the NinjaTrader strategy templates saved for one strategy, for use as nt_backtest(template=...).
ParameterTypeDescription
strategy *string
nt_traceLast n lines of the newest NT8 trace file and the newest NT8 log file, tagged by source.
ParameterTypeDescription
ninteger
nt_trade_shotScreenshot of `chart` scrolled to one trade's entry time. run_id is a saved run id (nt_runs)
ParameterTypeDescription
chartstring
run_id *string
trade_index *integer
nt_walkforwardWalk-forward test: slice from_date..to_date into in-sample/out-of-sample windows, optimize on each
ParameterTypeDescription
anchoredboolean
bars_periodobject
chartstring
commission_templatestring
fill_limit_on_touchboolean
fill_resolutionstring
fill_resolution_typestring
fill_resolution_valueinteger
fitnessstring
from_datestring
include_commissionboolean
include_tradesboolean
inputsobject
instrumentstring
max_backtestsinteger
max_combosinteger
max_runsinteger
min_tradesinteger
optimization_period_daysinteger
params *any
slippage_ticksnumber
strategy *string
test_daysinteger
test_period_daysinteger
tick_replayboolean
to_datestring
train_daysinteger
wait_sinteger
nt_window_shotPNG of one NinjaTrader window, captured in-process with PrintWindow and returned as an image.
ParameterTypeDescription
chartstring
hwndinteger
pathstring
windowstring
nt_windowsList NT8 top-level windows (title, kind). Precondition: AddOn running.
nt_workspaceThe loaded NinjaTrader workspace and every window the AddOn can see, in one read: `name` (the
nt_workspace_closeClose an open workspace with no click needed (WorkspaceOptions.CloseWorkspace,
ParameterTypeDescription
name *string
saveboolean
nt_workspace_openOpen a workspace FILE from NinjaTrader's workspaces folder (WorkspaceOptions.OpenWorkspace),
ParameterTypeDescription
activateboolean
name *string
nt_workspace_save_asSave an OPEN workspace under a new name with no dialog (WorkspaceOptions.SaveWorkspaceAs).
ParameterTypeDescription
name *string
new_name *string
overwriteboolean
nt_workspace_switchMake an OPEN NinjaTrader workspace the active one (WorkspaceOptions.SwitchToWorkspace).
ParameterTypeDescription
name *string

Security checks

6 checks have not been run yet.

Releases

v1.4.0nt8-mcp 1.4.0 · 20 Sep 2026Added Order module: brackets, close, reverse, and manage-any-order. `nt_order_bracket` sends an entry plus a stop and any number of targets under one plan and one confirm; exits are sized to the entry's real fill, not the requested…
v1.3.1nt8-mcp 1.3.1 · 20 Sep 2026Fixed A backtest that never ran can no longer report `done`. A strategy that never started, no bars loaded, or a multi-series strategy asked for High fill resolution ends as `state:"error"` with the reason (NinjaTrader's own dialog text…
v1.3.0nt8-mcp 1.3.0 · 19 Sep 2026Added Order entry on Simulator and Playback accounts only, as its own opt-in module (`addon/NT8BridgeOrders.cs`), disarmed by default: `GET /orders/status`, `POST /orders/submit`, `POST /orders/change`, `POST /orders/cancel`, and the…
v1.2.0v1.2.0: compile loop, chart eyes, headless backtests · 19 Sep 2026nt8-mcp 1.2.0 Give your AI assistant eyes and a build loop on NinjaTrader 8. An MCP server (47 tools) plus a small AddOn that runs inside NinjaTrader. Built for developing indicators and strategies, not for placing trades. Read-only by…
Questions

About Nt8 MCP

How do I install Nt8 MCP?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is Nt8 MCP safe to use with an AI agent?

Its trust score is 53 out of 100 (fair). Conduid hasn't run static security checks on this repository yet, so review the source yourself before granting it credentials. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Nt8 MCP still maintained?

Yes — the latest release is v1.4.0 (20 Sep 2026), and the last commit was 2 days ago. The repository has 36 stars.

What tools does Nt8 MCP provide?

Conduid read 97 tools from the source: nt_account, nt_analyze, nt_api, nt_api_search, nt_atm_change, nt_atm_close, nt_atm_start, nt_atm_status and 89 more. 84 of them publish their parameters, listed under Tools above.