Changelog
What changed in each MT-MCP release.
All notable changes to MTContext are documented here, grouped by release date. Format loosely follows Keep a Changelog.
2026-08-22
@mt-mcp/mcp — v1.2.0
Minor Changes
-
Twenty new tools and several enhancements to existing ones, mostly server-side (no EA round-trip):
- Market Character —
get_volatility_regime(compressed/expanding/trending/choppy from ATR ratio, Bollinger bandwidth, efficiency ratio),get_market_structure(up to 4 timeframes at once: HH/HL/LH/LL swing sequence, per-timeframe trend, BOS/CHoCH break events, cross-timeframe alignment),get_state_delta(returns only what changed for a symbol since the caller's last call — new bar, RSI/EMA cross, ATR regime shift, key-level break), andget_symbol_session_profile(typical session range, drift, reversal timing, event sensitivity). - Market Structure (SMC/ICT) —
detect_structure: fair value gaps, order blocks, liquidity sweeps, break of structure, change of character, as deterministic bar-derived locations (not trade signals). - Order Flow —
get_order_flow: per-bar footprint (buy/sell volume, delta, POC, imbalances) estimated from tick history. - Session Analytics —
get_session_stats: historical London/NY/Asia session range, drift, and breakout-continuation-vs-reversal rates. - Session Trading Mode —
set_mode/get_mode: per-session paper/live switch.paperforces every trading tool'sdry_runtotruefor the rest of the session;live(the default) changes nothing and is not a trading confirmation. - Trade Journal —
explain_setup(win rate, expectancy, and streak stats for a named setup) andscore_journal_entry(self-review quality score for a journal entry; optional LLM-assisted scoring is off by default). - Computed Analytics —
get_equity_curve(realized-equity time series from closed trades),get_swap_calendar(projected rollover costs),estimate_fill(spread + this license's own audited slippage for a hypothetical order). - Macro Risk —
recommend_strategy_style(trend-follow/mean-revert/breakout/stand-aside from regime + volatility) andget_event_sensitivity(historical price move per calendar event type for a symbol). - Risk Management —
get_correlation_matrix(N×N correlation across 2-12 symbols) andcheck_portfolio_exposure(aggregate currency/cluster exposure with a proceed/caution/block verdict). - Indicator —
check_confluence: evaluates up to 8 indicator conditions across timeframes into one pass/fail verdict. - AI Coaching —
simulate_ea_action(what a mechanical EA template would do right now) and an upgrade tobacktest_strategy: strategies now evaluate against real server-computed indicator series instead of a fixed stub context, plus a JSON condition-tree DSL. Legacy flat-key strategies still work but their reported results change now that they run against real data. get_economic_calendarnow tags every event with acategory;get_newsgained optional symbol/currency relevance filtering.
- Market Character —
Patch Changes
- Updated dependencies
- @mt-mcp/shared@1.1.0
@mt-mcp/gateway — v1.2.1
Patch Changes
- Updated dependencies
- @mt-mcp/shared@1.1.0
- @mt-mcp/broker@1.0.1
- @mt-mcp/license@1.2.1
@mt-mcp/license — v1.2.1
Patch Changes
- Updated dependencies
- @mt-mcp/shared@1.1.0
@mt-mcp/shared — v1.1.0
Minor Changes
-
Twenty new tools and several enhancements to existing ones, mostly server-side (no EA round-trip):
- Market Character —
get_volatility_regime(compressed/expanding/trending/choppy from ATR ratio, Bollinger bandwidth, efficiency ratio),get_market_structure(up to 4 timeframes at once: HH/HL/LH/LL swing sequence, per-timeframe trend, BOS/CHoCH break events, cross-timeframe alignment),get_state_delta(returns only what changed for a symbol since the caller's last call — new bar, RSI/EMA cross, ATR regime shift, key-level break), andget_symbol_session_profile(typical session range, drift, reversal timing, event sensitivity). - Market Structure (SMC/ICT) —
detect_structure: fair value gaps, order blocks, liquidity sweeps, break of structure, change of character, as deterministic bar-derived locations (not trade signals). - Order Flow —
get_order_flow: per-bar footprint (buy/sell volume, delta, POC, imbalances) estimated from tick history. - Session Analytics —
get_session_stats: historical London/NY/Asia session range, drift, and breakout-continuation-vs-reversal rates. - Session Trading Mode —
set_mode/get_mode: per-session paper/live switch.paperforces every trading tool'sdry_runtotruefor the rest of the session;live(the default) changes nothing and is not a trading confirmation. - Trade Journal —
explain_setup(win rate, expectancy, and streak stats for a named setup) andscore_journal_entry(self-review quality score for a journal entry; optional LLM-assisted scoring is off by default). - Computed Analytics —
get_equity_curve(realized-equity time series from closed trades),get_swap_calendar(projected rollover costs),estimate_fill(spread + this license's own audited slippage for a hypothetical order). - Macro Risk —
recommend_strategy_style(trend-follow/mean-revert/breakout/stand-aside from regime + volatility) andget_event_sensitivity(historical price move per calendar event type for a symbol). - Risk Management —
get_correlation_matrix(N×N correlation across 2-12 symbols) andcheck_portfolio_exposure(aggregate currency/cluster exposure with a proceed/caution/block verdict). - Indicator —
check_confluence: evaluates up to 8 indicator conditions across timeframes into one pass/fail verdict. - AI Coaching —
simulate_ea_action(what a mechanical EA template would do right now) and an upgrade tobacktest_strategy: strategies now evaluate against real server-computed indicator series instead of a fixed stub context, plus a JSON condition-tree DSL. Legacy flat-key strategies still work but their reported results change now that they run against real data. get_economic_calendarnow tags every event with acategory;get_newsgained optional symbol/currency relevance filtering.
- Market Character —
@mt-mcp/api — v1.0.1
Patch Changes
- Updated dependencies
- @mt-mcp/shared@1.1.0
- @mt-mcp/license@1.2.1
@mt-mcp/dashboard — v1.1.1
Patch Changes
- Updated dependencies
- @mt-mcp/shared@1.1.0
2026-08-17
@mt-mcp/api — v1.0.0
First release of a standalone REST API server (Hono, OpenAPI 3.1) that exposes the same account, market, trading, risk, and macro capabilities as the MCP tool surface over plain HTTP, for integrations that don't speak MCP:
- Authentication — license-scoped API keys (
mtmcp_api_prefix, max 5 active per license, SHA-256 hashed) are exchanged for a short-lived JWT on first use and cached per-pod for 60s; a pre-exchanged JWT also works directly. Terminal targeting is via anX-Terminal-Idheader rather than a session binding. - Coverage — market data, account/positions/orders/history, indicators, key levels & patterns, coaching (fibonacci, trade explain, backtest), analytics (stats, P&L, execution quality), risk (lot sizing, portfolio summary, correlation), macro/sentiment/news/risk-regime, and management config (alerts, equity guard, prop-firm rules, journal, news guard) — all gated by the same
read/analytics/tradecapability tiers as the MCP tools. - Trading safety — every trade-affecting endpoint (
/api/v1/orders,/api/v1/positions/*) defaultsdry_runtotrue; live execution requires an explicit"dry_run": false. - Rate limiting — Redis-backed, tier-scaled (Free 10 / Pro 60 / Team 300 / Enterprise 1000 req/min per license) on its own bucket, separate from MCP dispatch traffic; the server refuses to start in production without
REDIS_URLconfigured rather than silently serving unlimited traffic. - Docs — interactive Scalar API reference at
/api/v1/docs, OpenAPI 3.1 spec at/api/v1/openapi.json. - 57 unit tests covering routes, middleware, auth, and the gateway client; wired into CI.
@mt-mcp/dashboard — v1.1.0
- Added an API Keys management page (
Dashboard → API Keys) to create, label, and revoke REST API keys.
@mt-mcp/gateway — v1.2.0
- Added
GET/POST/DELETE /api/dashboard/api-keysso the dashboard can list, create, and revoke a license's REST API keys.
@mt-mcp/license — v1.2.0
- Added the
api_keystable and anApiKeyRepository(SHA-256 hashed keys, license-scoped, JSONB permissions reserved for future scoped-key support) backing API key issuance, lookup, and revocation.
@mt-mcp/docs — v1.1.0
- Added a REST API section (
/docs/api) covering authentication, rate limits, response format, and a full endpoint reference table grouped by capability tier — ported from the engineering getting-started guide and cross-linked from the Introduction, Overview, and Architecture pages.
2026-07-21
@mt-mcp/mcp — v1.1.0
Five new macro & risk tool groups, all EA-independent (they work with no terminal connected):
- Event & calendar risk —
get_event_riskgives a pre-trade blackout verdict (proceed | caution | block, withresume_after) for a symbol's currencies, andget_holding_riskflags event landings, weekend/holiday gap exposure, and triple-swap days across a hold window.get_economic_calendarnow falls back to a server-side calendar on MT4 or when the terminal is disconnected, and every response carries asource: "terminal" | "server"field. - Macro context —
get_risk_regime(composite risk-on/risk-off score with drivers and sizing advice),get_economic_surprise(rolling actual-vs-forecast index per currency),get_cb_stance(hawk/dove score per central bank), andget_market_context(live DXY / VIX / US10Y levels with a transparentrisk_tonetag; missing inputs are listed, never zeroed). - Rate expectations —
get_rate_expectationsreturns each G10 central bank's next meeting and countdown, current policy rate, and last decision, plus market-implied hike/hold/cut probabilities for USD when a Fed Funds futures source is configured. Every entry is taggeddata_quality: "implied" | "calendar_only"and never fabricates probabilities. - News guard —
set_news_guard/get_news_guard_status/remove_news_guard: a server-side monitor that polls news, classifies severity and affected currencies, and delivers alerts through the existingpoll_alertspath. Notify-only in this release. - Prop-firm rule tracker —
set_prop_firm_rules/get_prop_firm_status/remove_prop_firm_rules: tracks daily-loss, static/trailing drawdown, profit target, minimum trading days, and consistency rules, and returns a decision-ready verdict (ok | warning | critical | breached), per-rule headroom, and amax_safe_risk_percentfor the next trade. Ships FTMO and generic presets; advisory by default, with an optionallink_equity_guardto install matching enforcement. get_etf_flows(gold ETF creations/redemptions for GLD/IAU) is included but disabled by default behindMTMCP_ETF_FLOWS_ENABLED, pending issuer-feed licensing review.- Fixed COT report parsing for the CFTC TFF dataset (leveraged-money and asset-manager columns use no
_allsuffix).
@mt-mcp/gateway — v1.1.0
- Added
PUT/GET/DELETE /api/prop-firm-rulesbacked by aPropFirmEvaluatorsampling loop that maintains trailing watermarks, daily snapshots, and days-traded counts (reusing the equity-guard reset-timezone machinery). Requires thetradecapability; unreachable terminals fail safe toblock. - Added
PUT/GET/DELETE /api/news-guardandGET /api/cb-stance, backed by aNewsGuardMonitorpoll loop (atomic Redis URL-dedup) and aCbStanceRefresherbackground job. Both require theanalyticscapability. News fetching is gated onNEWS_API_KEYand degrades to a safe no-op when unset.
@mt-mcp/license — v1.1.0
- Added tables and stores for the new tools:
prop_firm_rulesetsandprop_firm_day_snapshots,news_guard_configs,cb_stance_snapshots,calendar_events,regime_history, andetf_flow_history(migrations 0011–0013).
2026-07-15
@mt-mcp/mcp — v1.0.0
- Extracted client origin details (
clientNameandipAddress) during connection and attached them to MCP tool execution payloads for audit tracking.
@mt-mcp/gateway — v1.0.0
- Added
GET /api/dashboard/support/identityfor secure Chatwoot user identity verification via HMAC-SHA256. - Updated the MCP execution payload processor to correctly ingest client origin metadata into the audit log.
@mt-mcp/license — v1.0.0
- Updated database schema and
AuditLogServiceto track and fetchclient_nameandip_addressfor all tool executions.
@mt-mcp/shared — v1.0.0
- Internal dependency updates for v1.0.0 release.
@mt-mcp/dashboard — v1.0.0
- Added Chatwoot live support widget with identity verification and custom context attributes.
- Added new "Origin" and "Params" columns to the Audit Log, displaying client badges, IP addresses, and expandable JSON payloads.
- Added graceful error handling for missing third-party credentials in sentiment and support widgets.
@mt-mcp/docs — v1.0.0
- Updated branding to MTContext and finalized guides for v1.0.0 release.
2026-07-10
@mt-mcp/mcp
- Added
reverse_position— close and reopen a position in a single call instead of two round trips. - Modularized risk helpers and added preflight validation to order dispatch, failing closed on invalid requests.
- Fixed the order-comment sanitizer rejecting literal dot characters.
- JWT key files are now excluded from version control to prevent accidental commits.
@mt-mcp/dashboard
- Added Myfxbook sentiment API integration.
- Reworked the dashboard design system — new widgets, layouts, and API integrations, with consistent widget container heights.
2026-07-08
@mt-mcp/mcp
- Improved JWT handling in the authenticated dispatch path to recover from terminal-ID mismatches without dropping the session.
2026-07-06
@mt-mcp/mcp
- Added indicator handlers for Parabolic SAR, Stochastic, Standard Deviation, and Williams %R.
- Removed obsolete verification scripts for HTTP transport resilience and Redis session routing (superseded by the integration test suite).
2026-07-01
@mt-mcp/gateway
- Implemented multi-replica session routing with proxy logic, so a request can reach the right MCP instance regardless of which replica receives it.
- Replaced the deprecated cross-instance Redis test with gateway-proxy and mcp-proxy tests covering session dispatch across replicas.
2026-06-28 – 2026-06-30
@mt-mcp/gateway
- Added a Redis-backed session store to support multi-replica MCP server deployments.
- Added compare-and-delete logic for the terminal → session pointer in Redis, closing a race on reconnect.
- Added HTTP terminal session management and cross-instance dispatching via Redis.
- Added an instance registry and request proxying for multi-replica MCP sessions.
- Enhanced HTTP transport resilience with a dedicated heartbeat channel.
Infra
- Adjusted replica counts and HPA configuration to right-size resource usage.
- Updated network policies to allow egress to Redis and labeled deployments for Redis client discovery.
@mt-mcp/license
- Implemented terminal-scoped key validation and updated the license service to support the new key structure — the change that made master license keys stop working for MCP/EA authentication (see the terminal key setup guide).