Skip to content

Service Model

This is a cloud-hosted remote MCP service. You are connecting to it over HTTPS via OAuth or Bearer token. The service runs on managed cloud infrastructure — you do not have access to the server.

Key facts:

  • The server is a multi-tenant cloud service — many users connect simultaneously, each with isolated sessions
  • Your FIX trading session runs server-side — you interact with it exclusively through MCP tools
  • Sessions are created on-demand when you authenticate and idle-timeout after 30 minutes of inactivity
  • State (positions, orders, risk counters) is rebuilt automatically from the broker on each new session

All interaction happens through MCP tools:

ActionTool
Check connectivity and statuscheck_health
Reconnect TRADE FIX sessionreconnect_trade_session
Reconnect QUOTE FIX sessionreconnect_quote_session
Change config (mode, risk, account)reset_session
View positions, orders, quotesget_positions, get_orders, get_quote
Place/modify/cancel ordersplace_order, modify_order, cancel_order
Access documentationget_knowledge

The user has NO access to the server infrastructure. Never suggest any of the following:

  • ❌ SSH into the server
  • ❌ Restart processes (PM2, systemd, Docker, etc.)
  • ❌ Check or edit environment variables
  • ❌ Read server logs or files
  • ❌ Modify server configuration files
  • ❌ Access Docker containers
  • ❌ Run shell commands on the server
  • ❌ Check server memory, CPU, or disk usage
  • ❌ Access databases directly

The user only has a URL. That is their entire interface to the service.

When something goes wrong, follow this escalation path using only the available MCP tools:

Always start here. The response tells you:

  • fixState: TRADE session status (“ACTIVE” = connected, anything else = problem)
  • quoteSession.state: QUOTE session status
  • operatingMode: paper/live/readonly
  • riskLimits: Current risk configuration
  • killSwitch: Whether trading is halted
SymptomAction
fixState != “ACTIVE”Call reconnect_trade_session
quoteSession.state != “ACTIVE”Call reconnect_quote_session
Both sessions downReconnect trade first, then quote

Common causes of disconnection:

  • Weekend market closure (Fri evening → Sun evening)
  • Broker maintenance windows
  • Network interruptions (transparent to user)
  • Session idle timeout (30 minutes without MCP requests)

If reconnect_trade_session or reconnect_quote_session returns an error:

  1. Wait 10-30 seconds and try again (broker may be temporarily unreachable)
  2. Call check_health to see the current state
  3. If the problem persists, it is likely a broker-side issue (maintenance, outage)

Tell the user:

  • “The broker’s FIX server appears to be unreachable. This is usually temporary.”
  • “Markets may be closed (weekends: Friday evening to Sunday evening).”
  • “Try again in a few minutes. If the issue persists, check with your broker.”

If the user needs to change trading mode, risk limits, broker server, or account:

  1. Call reset_session
  2. After reset, instruct the user to go to Settings → Connectors → Disconnect → Reconnect
  3. The browser will open the configuration form for new settings

If all recovery tools fail and the issue persists:

  1. Do NOT suggest infrastructure actions — the user cannot access the server
  2. Tell the user: “The cloud service may be experiencing an issue. Please try disconnecting and reconnecting your MCP connector.”
  3. If that doesn’t work: “Please try again later. If the issue persists, use submit_feedback to report it.”

→ Call check_health. If it fails, the MCP session may have expired. Tell the user to disconnect and reconnect the connector.

→ Call reconnect_trade_session. This is normal after weekends or idle periods.

→ Call reconnect_quote_session, then subscribe_quotes or get_quote to refresh.

→ Call check_health to confirm. The user needs to reset_session and reconfigure with different risk parameters or reset the kill switch.

→ Call reset_session to trigger re-authentication with new settings.

”Tool calls return authentication errors”

Section titled “”Tool calls return authentication errors””

→ Token may have expired. Tell the user to disconnect and reconnect the MCP connector to re-authenticate.