Skip to main content
Glama
prop-firm-guard

prop-firm-guard

Prop Firm Guard

An MCP server that answers one question for an FTMO 2-Step trader: how much room do I have left before I break a rule?

It shows headroom numbers. It never says PASS or FAIL — right math on stale numbers is false confidence, and false confidence blows accounts. Stale data is always labelled. Every answer carries the rule it used, where that rule came from, and when it was last verified.

What it does

  • ftmo_headroom — daily floor, room left today, total floor, room left in total, profit-target distance, and the time until the daily reset (00:00 CE(S)T, shown in your own timezone too).

  • ftmo_trade_check — a planned trade against both floors: worst-case equity if every stop hits, and the room left after it.

  • read_mt5_report — reads an MT5 account report file saved on your own machine and pulls balance and equity out of it. Local and read-only. No broker login, no password, no sync.

  • rule_info — the rule set, its source, and its freshness.

Related MCP server: mt5-mcp

The rule it uses (FTMO 2-Step)

  • Daily loss amount: 5% of your starting account size. Fixed.

  • Daily floor: your balance at 00:00 CE(S)T minus that 5%. Your equity must never touch it. Floating losses count.

  • Total floor: 90% of your starting size. It never moves.

Source: FTMO Trading Objectives (ftmo.com/en/trading-objectives), verified 2026-11-16, cross-checked 2026-11-18. Rules change — the server warns you when its rule set is more than 30 days old.

Run it

Python 3.10+, no dependencies, no API keys, no network.

python3 server.py

Claude Desktop config: see examples/claude_desktop_config.json.

Test it

python3 test_server.py   # 34 checks, including the floor-touch boundary

Scope — read this before trusting it

  • FTMO 2-Step only. Not 1-Step, not Instant, not other firms.

  • It does arithmetic on numbers you (or your MT5 report) give it. It cannot see your account. Wrong or old inputs give wrong answers, and the tool says so when the data is stale.

  • It is not financial advice and it cannot keep an account safe by itself. It is a ruler, not a guard rail.

Tool Schema Changelog

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

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      Not graded
      quality
      C
      maintenance
      MCP server for Hyperliquid perpetual DEX with 48 tools for trading, monitoring, risk management, and security. Enables real-time market data, order management, risk validation, and automated trading strategies.
      -
    • A
      license
      A
      quality
      B
      maintenance
      An MCP server that lets an AI agent read your MetaTrader 5 account and place trades over the Model Context Protocol, with a configurable human approval gate.
      15
      496 PyPI
      7
      MIT