MCP + on-site agent · read-only v1
Connect AI to Your Trading Journal (MCP + On-Site Assistant)
Ask questions about your trades, win rate, and journals using bring-your-own LLM tools (MCP) or TradeJournal's on-site agent—one data layer, two ways to connect.
Connect AI settings
Create and revoke personal MCP tokens—scoped to your account only.
- Account Settings → Connect AI
- Label tokens (e.g. Cursor)
- Revoke if leaked
Quick summary
- Connect AI: Create a personal MCP token at Account Settings → Connect AI (Pro / AI Assist).
- Set up Cursor: Create a token in Connect AI, then follow the Cursor MCP setup guide (mcp.json + localhost gateway).
- Start with context: Tell your AI to call
get_runtime_contextfirst, then ask about stats or trades.
Cursor mcp.json server URL:
https://tradejournal.co/mcp
(protocol endpoint). This HTML guide lives at /mcp-guide/.
Key takeaway
TradeJournal.co offers an AI trading journal MCP connector and on-site assistant that read only your account's trades, stats, and published posts using the same secure tool layer; generate a personal token under Connect AI for external LLMs, or use the in-browser agent with your login session (14-day free trial and included pro trader onboarding call with subscription).
MCP vs on-site agent vs spreadsheet
| Surface | Auth | Best for | Data scope |
|---|---|---|---|
| External MCP (BYO LLM) | Personal token (Connect AI) | Cursor, Claude Desktop, automation in your IDE | Your account only; read-only v1 |
| On-site agent | Django session (login) | Quick questions in the browser; no mcp.json | Same tools via mcp_services; no token in JS |
| Spreadsheet export | Manual export | Static analysis; no live AI | Stale the moment you export |
Spec reference: Model Context Protocol. Engineering details: internal gameplan (not duplicated on this marketing page).
Choose your AI app
Most traders start with Cursor: create a token in
Connect AI, paste it into mcp.json, and connect on localhost.
Other clients below; no MCP install? Use on-site AI chat.
Read-only tools (v1)
Always ask your AI to call get_runtime_context first. Tools never access other users or Django admin data.
Full tools reference (parameters).
| Tool | Purpose |
|---|---|
| get_runtime_context | User portfolios, active portfolio, plan flags, privacy rules. Call this first in every session. |
| list_portfolios | Portfolio id and name list for disambiguation. |
| list_trades | Filtered trade list (portfolio, symbol, status, limit). User-owned rows only. |
| get_trade | Single trade by id (must belong to the authenticated user). |
| get_trade_stats | Aggregate win rate, profit, and related stats for the user. |
| get_dashboard_stats | High-level public/private trade and post rollups. |
| list_posts | Published posts metadata for the user. |
| get_post | One published post by id. |
| get_portfolio_stats | Per-portfolio performance rollup. |
Get your MCP token (Connect AI)
Pro / AI Assist subscribers can generate personal tokens in account settings. Tokens are shown once—store them in your MCP client only.
Copy token once
After Generate token, copy the secret immediately—it is not shown again.
- Use as Bearer in mcp.json
- Never commit to git
- Prefix: tj_mcp_u_…
On-site AI chat
Ask about win rate, setups, or stats while logged in—no MCP config file.
- Same tools as MCP
- Session auth only
- Requires AI Assist / Pro
Open Connect AI Free onboarding call
Example mcp.json (placeholders only)
{
"mcpServers": {
"tradejournal": {
"url": "http://localhost:3333/mcp",
"headers": {
"Authorization": "Bearer tj_mcp_u_<YOUR_TOKEN>"
}
}
}
}
Use http://localhost:3333/mcp on localhost after the MCP gateway is running. Never point dev tools at production MCP.
Related guides & journal resources
- MCP tools reference — full catalog + parameters
- MCP security & privacy — what we never expose
- On-site AI assistant — chat without MCP token
- Cursor MCP setup · Claude Desktop
- AI for options · AI for day trading · Prop firm + AI
- Free trading journal template — spreadsheet starting point
- Best trading journal — platform comparison
- Options trading journal — multi-leg workflows
- Broker import — sync trades before you ask AI about them
- Analytics — same stats MCP tools surface
Frequently asked questions
Start free trial — claim your onboarding call
Connect AI, import trades, then ask your journal real questions—not generic chatbot noise.