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
The same abilities work in ChatGPT, Claude, Claude Code, Gemini, any MCP app and the P-Trades in-app assistant.
| list_signals | Read-onlyPublished scanner setups. |
| get_scanner_status | Read-onlyScanner health and last run. |
| get_market_status | Read-onlyOpen FX sessions and feed health. |
| get_automatic_orders | Read-onlyYour automatic-order decisions and broker outcomes. |
| get_risk_holds | Read-onlyWhether your risk brakes hold new orders. |
| get_my_settings | Read-onlyYour full configuration. |
| update_my_settings | Change · you approveChange your settings (you approve every change). |
| calculate_position_size | Read-onlySize a setup from your risk profile. |
| get_intelligence | Read-onlyDescriptive replay statistics. |
| get_shadow_comparison | Read-onlyShadow-replay grade comparison. |
| list_my_accounts | Read-onlyYour demo and live accounts with broker figures. |
| list_broker_trades | Read-onlyYour broker-confirmed trades. |
| list_my_trades | Read-onlyYour self-reported journal. |
| get_performance_summary | Read-onlyYour performance in R. |
| get_platform_benchmarks | Read-onlyAnonymous platform-wide aggregates. |
| get_risk_policy | Read-onlyEach account's risk policy (or Not set). |
| list_review_items | Read-onlyBroker-vs-platform mismatches to review. |
| list_resting_orders | Read-onlyYour unfilled waiting orders. |
| get_cohort_policies | Read-onlyYour allow/reduce/block auto-trade rules. |
| list_news_blackouts | Read-onlyUpcoming high-impact news events. |
| run_runtime_validation | Dry-run checkNine-check dry run on your account. Never trades. |
| diagnose_broker_margin | Dry-run checkOne non-trading margin check. |
| propose_risk_policy | Change · you approvePropose a risk policy; saved only after you approve. |
| propose_cohort_policy | Change · you approvePropose allow/reduce/block; saved only after you approve. |
| propose_cancel_order | Cancel · you approvePropose cancelling a waiting order; runs only after you approve. |
| request_trading_access | Change · you approveAsk you for a time-limited trading session; nothing trades until you approve. |
| get_trading_access | Read-onlyShow the active trading session and what's left. |
| place_order | Trade · inside a session you approvePlace a market or limit order inside your session. P-Trades sets the size. |
| modify_position | Trade · inside a session you approveMove an open trade's stop loss or take profit inside your session. |
| close_position | Trade · inside a session you approveClose all or part of an open trade inside your session. |
| modify_resting_order | Trade · inside a session you approveChange a waiting order's prices inside your session (never its size). |
| arm_account | Trade · inside a session you approveSwitch an account to observe, demo auto or live confirm inside your session. |
| log_trade_decision | JournalAdd a journal entry. |
| update_trade_outcome | JournalRecord a journal outcome. |
| describe_datasets | Read-onlyOwner-only dataset catalogue. |
| read_dataset | Read-onlyOwner-only paged dataset rows. |
What an AI can never do
- Trade, change, close or arm anything without a trading session you approved.
- Choose the order size — P-Trades always calculates it from your risk policy.
- Skip the safety checks, your blocked instruments, news blackout or emergency stop.
- Arm an account for live auto-execution (only you can, in P-Trades).
- Save a setting change without your tap on Approve.
- See another user's accounts, money or trades.
When an outside AI proposes a change or a cancel, it gives you a P-Trades approval link. Nothing happens until you open it and tap Approve (within 15 minutes).
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.