Skip to main content
Glama
Trade-engine-MCP

Trade-engine-MCP

NitroStack Starter Template

Minimal template for learning NitroStack fundamentals with a calculator-focused MCP server and basic widgets.

What This Template Includes

  • calculator module with tools, resources, and prompts

  • TypeScript + Zod validation setup

  • Widget-ready project structure

  • Production-friendly npm scripts

Related MCP server: calculator

Quick Start

npx @nitrostack/cli init my-server --template typescript-starter
cd my-server
npm run dev

Common Commands

npm run dev
npm run build
npm start

NitroStudio

NitroStudio is the recommended way to test and debug this template during development.

Community

Available Tools

14 tools
analyze_chartB

Evaluate the quality of an intraday setup based on technical levels and recent candles using AI.

Inputs: atr (required), rsi (required), vwap (required), price (required), +3 more.

build_trade_planB

Calculates the trade entry details including Quantity, Stop-Loss, Target 1, Target 2, Risk in Rupees, Gross PnL, Net PnL (including daily fees), and Risk-to-Reward Ratio.

Inputs: vwap (required), price (required), action (required), capital (required), +5 more.

check_support_resistanceB

Checks the entry price relative to previous day High (PDH) and Low (PDL) to flag breakouts or warn if entry is too close to resistance/support zones.

Inputs: price (required), action (required), pdhl.

get_ai_picksB

Select the best 1-3 intraday stock picks from a list of screener candidates using AI.

Inputs: mode (required), candidates (required), capital, leverage.

get_ai_predictionsA

Fetch daily BUY/SHORT/LEAVE recommendations across 25 curated liquid NSE stocks using AI (news + technicals).

Inputs: no named parameters.

get_chart_dataA

Fetch chart candle data for a given symbol. Checks Upstox first (intraday only) and falls back to Yahoo Finance.

Inputs: symbol (required), range, interval.

get_fii_dii_dataA

Fetch FII/FPI and DII trading activity (buy, sell, net values) from NSE India.

Inputs: no named parameters.

get_macro_dataB

Fetch global index and commodity quotes from Yahoo Finance.

Inputs: no named parameters.

get_market_modeB

Calculates the weighted BUY/SHORT/CHOPPY market mode based on global and domestic market changes (Nifty, BankNifty, FII net flows, Nasdaq, Dow Jones, Nikkei, Hang Seng, PCR, India VIX).

Inputs: mkt (required), macro (required), fii, pcr.

get_news_sentimentB

Check major news and sentiment for a given stock using AI to decide if it is clear or risky for intraday trading.

Inputs: stock (required), symbol (required).

get_pcrA

Fetch option Put-Call Ratio (PCR) for Nifty 50 options. Attempts NSE first, falls back to Upstox.

Inputs: no named parameters.

get_screener_quotesC

Fetch batch stock quotes for screeners. Uses Upstox quotes if connected, otherwise Yahoo Finance.

Inputs: symbols (required).

run_backtestA

Run historical simulation of the 4-check trading algorithm on 5-minute candles over N days.

Inputs: symbol (required), days.

validate_trade_setupA

Runs the 4-check trade validation system (VWAP distance/reversal check, RSI zone/reversal check, Volume surge check, and Trade window time check) to verify if an entry signal is valid.

Inputs: rsi (required), time (required), vwap (required), price (required), +3 more.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.7/5.0

    Scored across 14 tools

    Disambiguation5/5

    Each tool targets a distinct aspect of trading: data fetching, analysis, validation, planning, and backtesting. There is no functional overlap; even similarly named tools like analyze_chart and validate_trade_setup have clearly different purposes.

    Naming Consistency5/5

    All tool names follow a consistent verb_noun pattern using snake_case (e.g., get_chart_data, analyze_chart, build_trade_plan). No mixed conventions or vague verbs.

    Tool Count5/5

    14 tools is a well-scoped count for a trading engine server. Each tool serves a clear purpose without redundancy, covering data retrieval, AI analysis, backtesting, and trade planning.

    Completeness5/5

    The tool set covers the full trading workflow: data fetching, market analysis, AI predictions, backtesting, trade validation, planning, and support/resistance checking. No obvious gaps for the intended intraday trading domain.

    Maintenance

    ActivityInactive
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      Not graded
      quality
      D
      maintenance
      This MCP server provides calculator tools, resources, and prompts for arithmetic operations, and serves as a minimal template for learning NitroStack fundamentals.
      -
    • F
      license
      Not graded
      quality
      D
      maintenance
      A calculator-focused MCP server with tools, resources, and prompts for basic arithmetic operations.
      -
    • F
      license
      Not graded
      quality
      D
      maintenance
      A calculator-focused MCP server built with the NitroStack framework, providing tools, resources, and prompts for basic arithmetic operations.
      -
    • F
      license
      Not graded
      quality
      D
      maintenance
      A calculator-focused MCP server for learning NitroStack fundamentals, providing tools, resources, and prompts.
      -