Claude Code
In a terminal:
claude mcp add --transport http proofperps https://app.proofperps.com/mcp \
--header "Authorization: Bearer ppk_YOUR_KEY" Your own accounts, for your tools and your AI assistant. Read the room left today, pull your trades into your sheets, and with a trading key, place and manage orders under the same rules as the terminal.
Any key reads what your trader space shows about your accounts, as data your tools can use:
A key with trading allowed also acts on your accounts:
Every order counts toward your account’s rules exactly like one placed in the terminal.
A key starts with ppk_. Keep it like a password: it opens your accounts.
The MCP server gives your assistant tools to read your accounts and, with a trading key, to place and manage orders. Add it once with your key, then ask in your own words.
MCP server https://app.proofperps.com/mcp
In a terminal:
claude mcp add --transport http proofperps https://app.proofperps.com/mcp \
--header "Authorization: Bearer ppk_YOUR_KEY" In ~/.cursor/mcp.json:
{
"mcpServers": {
"proofperps": {
"url": "https://app.proofperps.com/mcp",
"headers": {
"Authorization": "Bearer ppk_YOUR_KEY"
}
}
}
} Settings, Connectors, Add custom connector: the MCP server address above, No sign-in, then under Request headers the name authorization and the value Bearer ppk_YOUR_KEY.
Request headers are in beta in Claude and may not show on every plan yet.
Replace ppk_YOUR_KEY with your key.
Once connected, your assistant reads the answer from your account, and acts when you ask it to:
How much room is left before my Daily Loss Limit today?
Which of my open positions has no stop loss?
Sum up my trades of this week by market, fees included.
Where does my last payout request stand?
Move the stop loss of my open position to my entry price.
Plain HTTPS and JSON for your scripts, sheets and bots, with your key in the header of every request. Every write also carries an Idempotency-Key header: sent again with the same key, a request is answered once, never carried out twice.
https://app.proofperps.com/v1/apiAuthorization: Bearer ppk_YOUR_KEYwss://app.proofperps.com/v1/api/accounts/:id/stream| Route | What it does |
|---|---|
GET /accounts | Your accountsMCP tool list_accounts |
GET /accounts/:id | The full status of one accountMCP tool get_account_status |
GET /accounts/:id/risk | Room to the Daily Loss Limit and the Max DrawdownMCP tool get_risk_today |
GET /accounts/:id/trading-terms | Order types and leverage per marketMCP tool get_trading_terms |
GET /accounts/:id/positions | Open positionsMCP tool get_open_positions |
GET /accounts/:id/orders | Orders: status=working for the open ones, status=final for the others; up to 500 a page with limit and after_seqMCP tool get_orders |
GET /accounts/:id/executions | Trade history, oldest first; up to 500 a page with limit and after_seq, one market with symbolMCP tool get_executions |
GET /accounts/:id/payout-requests | Payout requests and their statusMCP tool get_payout_requests |
GET /markets | The markets you can tradeMCP tool list_markets |
GET /markets/:symbol/quote | A market’s current quoteMCP tool get_quote |
| Route | What it does |
|---|---|
POST /accounts/:id/orders | Place an orderMCP tool place_order |
PATCH /accounts/:id/orders/:order_id | Change a working orderMCP tool modify_order |
DELETE /accounts/:id/orders/:order_id | Cancel a working orderMCP tool cancel_order |
POST /accounts/:id/positions/:symbol/close | Exit a position at marketMCP tool close_position |
PUT /accounts/:id/positions/:symbol/brackets | Set a position’s stop loss and take profitMCP tool set_brackets |
POST /accounts/:id/positions/:symbol/reverse | Reverse a position |
PUT /accounts/:id/leverage/:symbol | Choose a market’s leverageMCP tool set_leverage |
Your accounts, from a terminal:
curl https://app.proofperps.com/v1/api/accounts \
-H "Authorization: Bearer ppk_YOUR_KEY" 60 requests a minute per key, and orders have a budget of their own. Past either, the answer is a 429 with a Retry-After header: the seconds to wait before the next request.
| Status | What it means | Code |
|---|---|---|
| 401 | The key is missing, unknown or revoked | API_KEY_INVALID |
| 403 | This key reads only: create a key with trading allowed to place orders | API_KEY_READ_ONLY |
| 404 | This account, order or market is not one of yours | · |
| 405 | This route does not take this method | · |
| 422 | The order was refused by your account’s rules or by the market: the code says why | · |
| 429 | Too many requests: wait the seconds of Retry-After | RATE_LIMITED |
| 503 | The API is paused for a moment: try again later | API_DISABLED |
| 503 | Trading through the API is paused for a moment; reading still works | API_TRADING_DISABLED |
~/.cursor/mcp.json, is stored there in plain text: keep the file private, and revoke the key if it is ever exposed.Every route, field and answer, a five-step quickstart with curl, the account stream and the MCP server, in one place.
Read the docs