Agent integrations
Connect an AI assistant to P-Trades Hub
Once connected, your assistant can read live scanner setups, check scanner and session status, size a setup against your risk profile, read the learning engine's regime statistics, adjust your own settings, and maintain your trade journal — all as you, using your own sign-in.
Your server URL
Loading…You'll be asked to sign in and approve the connection the first time an assistant uses it.
What your assistant can do
| list_signals | Published scanner setups with entry, stop, targets, R:R and confidence. An empty list means only that nothing matched the requested filters and scope — never that the scanner found no valid setup. |
| get_scanner_status | Scan engine health, last run, and your active filters. |
| get_market_status | Which FX sessions are open right now and per-instrument broker feed health. |
| get_my_settings | Your instruments, sessions, alert grade, daily cap and risk profile. |
| update_my_settings | Change those preferences. Values are clamped to safe bounds server-side. |
| calculate_position_size | Lot size, cash risk and an estimated margin requirement for a setup, using your saved equity and risk percent. Margin is an estimate from the contract specification and your leverage, not a broker quote. |
| get_intelligence | In-sample regime replay summaries: hierarchically shrunk fill, TP1-if-filled and joint rates, sample sizes, reporting-gate status and descriptive feature associations. Not a forecast, expected return or live track record. |
| get_shadow_comparison | Weekly Replay-V1 comparison of A+/A against B/C, with sample sizes and diagnostic uncertainty. In-sample replay only — not broker performance, prediction or a placed order. |
| log_trade_decision | Record that you took or skipped a signal. |
| update_trade_outcome | Set the outcome and, with real entry/exit prices, get self-reported R values computed server-side (never broker verified). Agent-written prices are permanently stamped as agent-entered and attributed to the assistant. |
| list_my_trades | Your journal entries, price-backed and price-missing, including who entered each self-reported price. |
| get_performance_summary | Your expectancy and R-multiple performance. |
Off-limits to assistants by design: webhook credentials, other users' data, admin intelligence, and deleting your account or journal.
No account yet?
Create it yourself, in your own browser — it takes a minute and your password never leaves your hands. An assistant cannot connect until an account exists and its confirmation email has been clicked by whoever owns the inbox.
- 1Create the account and set your own password here, not in a chat window.
- 2Click the confirmation link we email you.
- 3Then connect the server URL above from your assistant and approve the consent screen.
There is also a public HTTPS registration endpoint (POST /api/public/agent/register) that sits outside the authenticated MCP connection, for scripted setups. It is deliberately not part of the guided flow: using it means typing your chosen password into an assistant that will transmit it on your behalf, and we would rather you did not. It still requires email confirmation and grants nothing until you sign in.
Connect your assistant
ChatGPT
Custom MCP servers are connected through ChatGPT developer mode, documented in OpenAI's “ChatGPT developer mode” guide, which is the authoritative source for this page. OpenAI currently documents full MCP client support for read and write tools on Pro, Plus, Business, Enterprise and Education accounts on the web. P-Trades Hub exposes write tools — update_my_settings, log_trade_decision, update_trade_outcome — so inspect every proposed write and its JSON before approving it. Availability still depends on your account and, for managed workspaces, administrator policy.
- 1On ChatGPT web, open Settings → Security and login, then turn on Developer mode. A managed workspace may restrict this setting.
- 2Open ChatGPT Plugins, select the plus button and create a developer-mode app for a remote MCP server. New apps appear under Drafts in app settings.
- 3Name it P-Trades Hub, paste the server URL above, and choose OAuth authentication — P-Trades Hub signs you in with your own account, so no static key is needed.
- 4Complete P-Trades OAuth, review the discovered tools, then create the app. You can toggle individual tools and refresh their definitions on the app details page.
- 5In a chat, choose Developer mode from the plus menu and select P-Trades Hub. Write actions require confirmation by default; review their inputs rather than approving them blindly.
If a step does not match what you see, trust OpenAI's current developer guide linked above over this page.
Refresh after the app changes
Assistants cache what P-Trades Hub can do. After an update, refresh the connection so it picks up the latest capabilities.
- 1Open Settings → Apps and open the P-Trades Hub app's details page.
- 2Click Refresh to pull the latest tools, descriptions and server instructions, then check the tool toggles.
- 3ChatGPT can't change an existing app's URL — if the URL above changed, delete the app and connect again.
- 4Start a new chat and ask ChatGPT to use P-Trades Hub.