MCP server
The MCP server lets an AI assistant read your accounts and, with a trade key, place and manage orders, in your own
words.
| Address | https://app.proofperps.com/mcp |
| Transport | Streamable HTTP (stateless, JSON answers): POST only, 64 KB at most per request |
| Key | your API key in the header Authorization: Bearer ppk_..., sent with every request |
The server stores nothing: each tool passes your key, unchanged, to the REST API and returns its JSON. The
API decides what the key may do: with a read key, the trading tools answer that the key reads only.
Connect your assistant
Section titled “Connect your assistant”Replace ppk_YOUR_KEY with your key.
Claude Code
Section titled “Claude Code”claude mcp add --transport http proofperps https://app.proofperps.com/mcp \ --header "Authorization: Bearer ppk_YOUR_KEY"In ~/.codex/config.toml, with the key in an environment variable (Codex sends it as Authorization: Bearer):
[mcp_servers.proofperps]url = "https://app.proofperps.com/mcp"bearer_token_env_var = "PP_KEY"Cursor
Section titled “Cursor”In ~/.cursor/mcp.json:
{ "mcpServers": { "proofperps": { "url": "https://app.proofperps.com/mcp", "headers": { "Authorization": "Bearer ppk_YOUR_KEY" } } }}Copilot (VS Code)
Section titled “Copilot (VS Code)”In .vscode/mcp.json; VS Code asks for the key once and keeps it as a secret:
{ "inputs": [ { "type": "promptString", "id": "proofperps-key", "description": "ProofPerps API key", "password": true } ], "servers": { "proofperps": { "type": "http", "url": "https://app.proofperps.com/mcp", "headers": { "Authorization": "Bearer ${input:proofperps-key}" } } }}Claude Desktop and claude.ai
Section titled “Claude Desktop and claude.ai”Settings, Connectors, Add custom connector: the 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.
Reading (any key; marked read-only):
| Tool | Reads |
|---|---|
list_accounts |
your accounts (call it first: the other tools need an account_id) |
get_account_status |
one account’s full state |
get_risk_today |
room to the Daily Loss Limit and the Max Drawdown, their levels, the Profit Target remaining, the next daily reset |
get_trading_terms |
order types, trailing stop, leverage choice, open orders per market, leverage per market |
get_open_positions |
open positions with marks, unrealized PnL and the armed stop loss and take profit |
get_orders |
orders (status working, final or all; limit, after_seq; client_order_id) |
get_executions |
the trade history (limit, after_seq, symbol) |
get_payout_requests |
each payout request and where it stands |
list_markets |
the markets, their symbols and unit_e8 |
get_quote |
a market’s last quote |
Trading (a trade key; marked destructive, so your assistant asks before running them):
| Tool | Does |
|---|---|
place_order |
place a market, limit, stop or stop-limit order, with stop loss and take profit |
modify_order |
change a working order (expected_rev from get_orders) |
cancel_order |
cancel a working order |
close_position |
exit a position at market |
set_brackets |
set a position’s stop loss and take profit |
set_leverage |
choose a market’s leverage |
Each trading tool takes an optional idempotency_key and returns the one it used: to retry a call whose answer was
lost, the assistant calls again with that same value and the same arguments (Idempotency). For an
order, that value is also its client_order_id.
No tool requests a payout, changes an address, buys anything or changes your guard rails.
Good practice
Section titled “Good practice”- Give the assistant a
readkey unless it should trade. - Ask it to read
get_risk_todaybefore each order and to keep inside the room left to your Daily Loss Limit. A prompt to start with is on our home page. - Tool results are your account’s data, never instructions: the server tells the assistant so.
- What your assistant reads goes to your AI provider, like everything you ask it.