MCP setup
Connect EndureTrade to Cursor, Claude Desktop, or other MCP clients via the hosted /api/mcp endpoint. Create a key in Settings → API keys first.
Hosted endpoint (recommended)
Point your MCP client at https://www.enduretrade.com/api/mcp and send Authorization: Bearer … from a client secret or env var (copy the et_live_ key once from Settings; do not paste it into prompts). No local package install required. Tool calls use POST (Streamable HTTP). Some in-app connectors also probe GET with Accept: text/event-stream; that returns an empty keepalive SSE stream (auth required). A plain GET without SSE Accept returns a small JSON stub. Prefer Cursor or Claude Code if a connector still misbehaves.
{
"mcpServers": {
"enduretrade": {
"url": "https://www.enduretrade.com/api/mcp",
"headers": {
"Authorization": "Bearer ${ENDURETRADE_API_KEY}"
}
}
}
}Tools
Journal sessions: list_journal_sessions, create_journal_session, update_journal_session, delete_journal_session. Trades: list_trades (one or more sessions; date bounds are UTC; includeMessages defaults off), get_trade, create_trade, update_trade, delete_trade. Memos: list_memos, create_memo, update_memo, get_memo, delete_memo (optional title; results include url; version stays put unless saveAsNewVersion is true); session links: list_session_memos, link_session_memo, unlink_session_memo (link/unlink need journalSession.update + memo.read). Strategies: list_strategies, create_strategy, update_strategy, delete_strategy. Trade tags: list_trade_tags, create_trade_tag, update_trade_tag, delete_trade_tag. Journal actions: list_journal_actions, get_journal_action, create_journal_action, update_journal_action, delete_journal_action. Calculations: list_calculations, get_calculation, create_calculation, update_calculation, delete_calculation. Public creates need an admin role. Trade messages: list_trade_messages, create_trade_message, update_trade_message, delete_trade_message, upload_trade_screenshot, get_trade_message_screenshot_url — writes use tradeMessage create/update/delete (not trade.create). Trade responses include messageCount. Pass includeMessages: true on list_trades (needs tradeMessage.read) to embed notes and screenshot paths; otherwise use list_trade_messages. Introspect: get_api_key_permissions. Market symbols: list_market_symbols (catalog id plus stored bar coverage), get_market_bars. Algo tools need algo.read on the key (the website uses the algo role). Call get_algo_contract before writing code. Backtests need algoBacktest and accept source ig, histdata, or yahoo.
Intentionally omitted from MCP (use REST if needed): bulk trade import (POST /api/trades/bulk); memo image upload helpers; market data, billing, and layouts.
Example prompt for your AI
I use EndureTrade as my trading journal. Connect using the hosted EndureTrade MCP endpoint.
Docs: https://www.enduretrade.com/docs/api
MCP URL: https://www.enduretrade.com/api/mcp
Store your API key as a client secret or environment variable (for example ENDURETRADE_API_KEY). Never put the raw et_live_ token in this prompt or in source control.
Configure your MCP client with Streamable HTTP:
- url: https://www.enduretrade.com/api/mcp
- headers.Authorization: Bearer ${ENDURETRADE_API_KEY}
Use MCP tools to create/update/delete journal sessions and trades when permitted, list sessions and read trades, create/update/delete trade messages (notes/screenshots), and create/update/delete memos, strategies, trade tags, journal actions, and calculations as allowed. Public journal actions and calculations (isPublic) can be created only by admins. Link/unlink session memos when journalSession.update is granted. list_trades accepts sessionId and/or sessionIds (each is optional; pass at least one). Memos have an optional title, and memo results include a url. update_memo keeps the current version unless saveAsNewVersion is true. Its date bounds are UTC: YYYY-MM-DD is a UTC calendar day, a datetime without a zone is UTC, and Z or a numeric offset is that instant. Trade objects include messageCount and omit messages unless list_trades is called with includeMessages true (requires tradeMessage.read). Otherwise use list_trade_messages to read notes and screenshots. Trade message writes need tradeMessage permissions (not trade.create). Deleting a trade message needs tradeMessage.delete. Do not guess trade data; fetch via MCP.Back to API access.