Use Superdesk from Claude, ChatGPT or Cursor
Superdesk is an MCP server. Connect the agent you already use and it can read your portfolio, research markets, suggest trades for you to approve, and trade on its own inside a desk: a separate wallet with its own money and rules that code enforces on every order.
What a connected app can and can't do
- Read. Your portfolio, markets, prices and history. Nothing else about you.
- Suggest. Propose a trade or a desk. You review it in Superdesk with fresh numbers and approve it with your own wallet, or decline.
- Trade in a desk. Only in desks you give it, only within that desk's rules: markets, direction, leverage, order and position size, stops, daily loss, drawdown and pace. Orders that break a rule are refused before they reach Hyperliquid, and each refusal is logged.
- Never withdraw, move money between wallets, change its own rules or reach your main wallet. Rule changes it proposes wait for your approval.
- You can pause or disconnect an agent, or stop a desk, at any time. Every call it makes is listed in Superdesk › Connected apps.
Connect in two minutes
Claude (claude.ai) and ChatGPT
Add a custom connector with the address below and sign in to Superdesk when it asks. No key to copy.
https://app.superdesk.trade/mcp
Claude Code
Create a key in Superdesk › Connected apps, then run:
claude mcp add --transport http superdesk https://app.superdesk.trade/mcp \ --header "Authorization: Bearer sdk_live_…"
OpenAI Codex
Add this to ~/.codex/config.toml and put the key in SUPERDESK_AGENT_KEY:
[mcp_servers.superdesk] url = "https://app.superdesk.trade/mcp" bearer_token_env_var = "SUPERDESK_AGENT_KEY"
Claude Agent SDK
Pass it as an HTTP MCP server:
mcpServers: {
superdesk: { type: "http", url: "https://app.superdesk.trade/mcp",
headers: { Authorization: "Bearer sdk_live_…" } },
},OpenAI and xAI APIs
Use it as a remote MCP tool:
tools: [{ type: "mcp", server_label: "superdesk",
server_url: "https://app.superdesk.trade/mcp", authorization: "sdk_live_…" }]Cursor
Add to ~/.cursor/mcp.json:
{ "mcpServers": { "superdesk": {
"url": "https://app.superdesk.trade/mcp",
"headers": { "Authorization": "Bearer sdk_live_…" } } } }Local models (LM Studio, Ollama and others)
LM Studio speaks MCP: add the same entry to its mcp.json. For anything else, use the HTTPS API below.
{ "mcpServers": { "superdesk": { "url": "https://app.superdesk.trade/mcp",
"headers": { "Authorization": "Bearer sdk_live_…" } } } }Plain HTTPS (any language, no MCP)
List the tools your key may use, then POST one with JSON arguments. Same keys, rules and log as MCP.
curl https://app.superdesk.trade/api/agent/v1 -H "Authorization: Bearer sdk_live_…"
curl https://app.superdesk.trade/api/agent/v1/list_ideas -H "Authorization: Bearer sdk_live_…" -d '{}'
curl https://app.superdesk.trade/api/agent/v1/get_idea -H "Authorization: Bearer sdk_live_…" \
-d '{"idea_id":"…"}'Your own bot
Speak MCP over HTTP (JSON-RPC 2.0):
curl https://app.superdesk.trade/mcp -H "Authorization: Bearer sdk_live_…" \
-H "content-type: application/json" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'Keys are created in Superdesk › Connected apps, shown once, and stored only as a fingerprint. Each key can be limited to your own IP addresses.
Things to ask
- “What's the riskiest thing in my portfolio right now, and what would a 10% drop cost me?”
- “Suggest a trade to hedge my ETH, with a stop. I'll approve it in Superdesk.”
- “Read my last three ideas in Superdesk and tell me which basket has held up best since, and why.”
- “Research 'stablecoin issuers win as payments move onchain' in Ideas, then compare its basket with mine.”
- “Research Hyperliquid in depth in Superdesk, then give me the bull and bear cases and what would change the picture.”
- “Put my neobank idea into a $1,000 practice desk that rebalances weekly, asking me first.”
- “Let's design a trend strategy for BTC and SOL. When we agree, propose a desk with tight rules.”
- “Start a $50 weekly DCA into BTC in my Stack desk.”
- “Put a 6% trailing stop on the SOL position in my trend desk.”
Desk templates
Starting points for a desk's rules. They're limits, not advice: you edit every number before creating it, and agents can read them with list_pocket_templates.
Careful majors
Bitcoin and Ether only, low leverage, a stop on every position. A good first desk for a new agent.
- Trades only Bitcoin and Ether, in markets trading at least $10,000,000 a day.
- Can go long or short.
- Up to 2x in total, and at most 3x in any one market.
- Orders up to $500; a position up to 100% of the desk.
- Every new position needs a stop-loss within 10%.
- Stops for the day after losing 5%, keeping positions but opening nothing new.
- Closes everything and stops if it falls 20% from its best.
- At most 6 orders a minute and 200 a day.
Stack BTC and ETH
Buys Bitcoin and Ether on a schedule and holds. Long only, no leverage beyond 1x.
- Trades only Bitcoin and Ether, in markets trading at least $10,000,000 a day.
- Only buys (goes long).
- Up to 1x in total, and at most 1x in any one market.
- Orders up to $250; a position up to 100% of the desk.
- Stops for the day after losing 15%, keeping positions but opening nothing new.
- Closes everything and stops if it falls 50% from its best.
- At most 2 orders a minute and 20 a day.
Add a DCA under Strategies once it's created, e.g. $50 of BTC every week.
Start a desk from thisTrend follower
Rides trends in large crypto both ways, with stops, and closes everything on a bad day.
- Trades only Bitcoin and Ether, Large-cap crypto, in markets trading at least $10,000,000 a day.
- Can go long or short.
- Up to 3x in total, and at most 5x in any one market.
- Orders up to $1,000; a position up to 60% of the desk.
- Every new position needs a stop-loss within 8%.
- Stops for the day after losing 4%, closing everything.
- Closes everything and stops if it falls 15% from its best.
- At most 6 orders a minute and 200 a day.
A trailing stop on each position lets winners run and gives back less.
Start a desk from thisStocks and indices
Trades US stocks and indices around earnings and news, long or short, with tight stops.
- Trades only Stocks, Indices and ETFs, in markets trading at least $2,000,000 a day.
- Can go long or short.
- Up to 2x in total, and at most 5x in any one market.
- Orders up to $500; a position up to 35% of the desk.
- Every new position needs a stop-loss within 6%.
- Stops for the day after losing 3%, keeping positions but opening nothing new.
- Closes everything and stops if it falls 15% from its best.
- At most 6 orders a minute and 200 a day.
Macro
Takes views on indices, gold, oil and currencies. Small positions, stops close by.
- Trades only Indices and ETFs, Commodities, Currencies, in markets trading at least $1,000,000 a day.
- Can go long or short.
- Up to 3x in total, and at most 10x in any one market.
- Orders up to $500; a position up to 40% of the desk.
- Every new position needs a stop-loss within 5%.
- Stops for the day after losing 3%, keeping positions but opening nothing new.
- Closes everything and stops if it falls 12% from its best.
- At most 6 orders a minute and 200 a day.
Long one, short another
Pairs trades in crypto: long what looks strong, short what looks weak, so the market's swings mostly cancel out.
- Trades only Bitcoin and Ether, Large-cap crypto, in markets trading at least $10,000,000 a day.
- Can go long or short.
- Up to 2x in total, and at most 3x in any one market.
- Orders up to $500; a position up to 50% of the desk.
- Every new position needs a stop-loss within 12%.
- Stops for the day after losing 3%, keeping positions but opening nothing new.
- Closes everything and stops if it falls 15% from its best.
- At most 6 orders a minute and 200 a day.
Ask me first
The agent can explore mid-sized coins, but asks you before any new market and any order over $100.
- Trades only Bitcoin and Ether, Large-cap crypto, Mid-cap crypto, in markets trading at least $5,000,000 a day.
- Only buys (goes long).
- Up to 1x in total, and at most 2x in any one market.
- Orders up to $300; a position up to 25% of the desk.
- Every new position needs a stop-loss within 10%.
- Stops for the day after losing 5%, keeping positions but opening nothing new.
- Closes everything and stops if it falls 20% from its best.
- At most 2 orders a minute and 30 a day.
- Asks you before any order over $100.
- Asks you before trading a market for the first time.
Every tool
An agent only sees the tools its access allows. Read and Suggest are set when you connect it; desk access is set per desk.
list_watchlistReadThe owner's watchlist: each asset's price and 24h move.
watch_assetSuggestAdds a market or Solana token to the owner's watchlist. Nothing is bought.
asset | string A market id from search_markets, like hl:perp:BTC or hl:perp:xyz:NVDA, or a Solana token as sol:<mint address>. |
unwatch_assetSuggestRemoves a market from the owner's watchlist.
asset | string A market id from search_markets, like hl:perp:BTC or hl:perp:xyz:NVDA, or a Solana token as sol:<mint address>. |
list_researchReadThe owner's Research: deep dives on tokens, companies, markets and ideas, each with whether it's still being written and a link to its report.
limit optional | integer |
get_researchReadOne piece of research in full: every answer with sources, charts (line, bar, scatter) summarised, tables, and simulations (price paths, bull/base/bear scenarios, backtests) with their key numbers. status is 'researching' while it works.
research_id | string |
include_charts optional | boolean Include chart data points (thinned); off by default. |
start_researchSuggestStarts research on a token, company, market or idea (subject), or continues one (research_id + message): live markets, SEC filings, protocol revenue, unlocks, the web and X, with charts, tables and simulations. Runs on Superdesk for two to four minutes and counts against the owner's daily research budget; returns research_id at once. Read it with get_research. Nothing is bought or shared.
subject optional | string What to research: a token, a company, a market or an idea; starts a new piece. |
research_id optional | string Continue this research instead. |
message optional | string With research_id: what to look into next. |
list_ideasReadThe owner's Ideas: research conversations (each with its latest basket's markets, and whether it is still researching) and saved ideas with how each has done since it was saved.
limit optional | integer |
get_ideaReadOne Ideas conversation in full: every message, the answers with sources, each basket proposed (markets, sides, weights, themes and why), chart summaries, suggested replies, and its practice desk if it has one. status is 'researching' while it works.
idea_id | string |
include_charts optional | boolean Include chart data points (thinned); off by default. |
get_idea_performanceReadHow the idea's latest basket would have done over 1W, 1M, 3M, 1Y or MAX if bought at the start and held at its weights, against BTC and the S&P 500 (points ahead or behind), from Hyperliquid prices.
idea_id | string |
range optional | "1W" | "1M" | "3M" | "1Y" | "MAX" Default "3M". |
research_ideaSuggestStarts researching a new idea (idea), or continues a conversation (idea_id + message): web, X, SEC filings, DeFiLlama and CoinGecko, charts, and a checked basket. Runs on Superdesk for two to three minutes and counts against the owner's daily research budget; returns the idea_id at once. Read the result with get_idea. Nothing is bought.
idea optional | string A new idea in plain words; starts a new conversation. |
idea_id optional | string Continue this conversation instead. |
message optional | string With idea_id: what to ask next, e.g. 'drop COIN, add more tokens'. |
amount_usd optional | number Sizes the proposed basket; default 250. |
start_practiceSuggestPuts an idea's latest basket into a new practice desk at live prices with pretend money ($100 to $1,000,000), optionally keeping its weights (follow: autopilot or ask, daily or weekly). No real money moves.
idea_id | string |
amount_usd | number |
follow optional | object | null Keep the basket's weights: rebalance on its own (autopilot) or ask first; null to just hold. |
get_portfolioReadThe owner's Superdesk portfolio: value, free cash, leverage, risk, categories, and each holding with side, size, result and distance to liquidation.
my_token_tradesReadThe person's own buys, sales and transfers of one token, read from their own wallets' history: their Superdesk wallets on every chain and the wallets they watch (never any other address). Each trade has when, the chain, which wallet, units, the dollars paid or received, the price per unit, what was paid or received in its own units, where the dollar figure comes from, and a link to the transaction. Totals per token and overall: units and dollars bought and sold, and average prices. couldNotRead lists every wallet and chain that wasn't read in full. Give the token as its symbol (SLC) or its address. Read-only. State each trade's units, price per unit and dollars in that order; say which dollars are estimates and what couldn't be read.
token | string The token: its symbol (SLC), or its contract address (0x…) or Solana mint. |
chains optional | "ethereum" | "base" | "arbitrum" | "optimism" | "polygon" | "bnb" | "robinhood" | "solana"[] Only these chains; leave out to search every chain. |
days optional | integer How many days back, 90 if left out, at most 365. |
search_marketsReadList markets you can trade on Superdesk (Hyperliquid perps: crypto, and perps tracking stocks, indices, commodities and currencies). Filter by text or category; sorted by 24h volume unless asked otherwise. A text search also lists Hyperliquid spot markets that match (buy-and-hold only, not basket legs), so check them before saying an asset has no Hyperliquid market.
query optional | string Part of a symbol, e.g. 'NV' or 'SOL'. |
category optional | "majors" | "large" | "mid" | "small" | "stock" | "index" | "commodity" | "fx" |
sort optional | "volume" | "change_up" | "change_down" | "funding" |
limit optional | integer |
get_marketReadLive details for one market: price, 24h change, 24h volume, open interest, funding (as a yearly rate) and max leverage. If there's no perp, it returns the Hyperliquid spot market when one exists.
market | string A symbol like BTC or NVDA, or an id like hl:perp:xyz:NVDA. |
get_price_historyReadPrice history for one market: start, end, high, low, change, and a sample of closing prices.
market | string |
interval | "1h" | "4h" | "1d" | "1w" |
days | integer |
check_orderReadWorks out what an order would do without placing it: size after Hyperliquid's rounding, worst fill price, margin, most it can cost in fees, and the account's leverage before and after. Lists problems that would stop it and warnings worth telling the owner.
market | string A symbol like BTC or NVDA, or an id from search_markets like hl:perp:xyz:NVDA. |
side | "buy" | "sell" buy opens or adds to a long (or shrinks a short); sell the opposite. |
size_usd | string Order value in US dollars, at least 10. |
type optional | "market" | "limit" Default "market". |
limit_price optional | string Required for limit orders. |
leverage optional | integer Leverage for this market; defaults to 5x or the market's max, whichever is lower. |
stop_loss_price optional | string |
take_profit_price optional | string |
reduce_only optional | boolean Only shrink an existing position, never open or flip one. Default false. |
propose_tradeSuggestSuggests one order to the owner. It does NOT trade: the owner reviews it in Superdesk, sees fresh numbers, and approves it by signing with their own wallet, or declines. Proposals expire after 24 hours. Give a short, plain reason; the owner sees it next to the order.
market | string A symbol like BTC or NVDA, or an id from search_markets like hl:perp:xyz:NVDA. |
side | "buy" | "sell" buy opens or adds to a long (or shrinks a short); sell the opposite. |
size_usd | string Order value in US dollars, at least 10. |
type optional | "market" | "limit" Default "market". |
limit_price optional | string Required for limit orders. |
leverage optional | integer Leverage for this market; defaults to 5x or the market's max, whichever is lower. |
stop_loss_price optional | string |
take_profit_price optional | string |
reduce_only optional | boolean Only shrink an existing position, never open or flip one. Default false. |
reason | string Why, in one or two plain sentences. |
get_proposalSuggestWhether the owner approved, declined or let a proposal expire, and whether it was filled.
proposal_id | string |
list_proposalsSuggestThis agent's recent proposals, newest first, with their status.
limit optional | integer |
propose_pocketSuggestProposes a desk for the strategy you and the owner discussed: a separate wallet with its own money that you'd trade inside hard rules. Give it a short name, describe the strategy plainly (what you'll trade, when, and why), and set the rules: markets or categories allowed, direction, leverage, order and position size, stops, daily loss limit, drawdown, pace. The owner reads the rules in plain words and approves, edits or declines them in Superdesk, then funds the desk. Once approved you can trade it with place_order. Keep the rules as tight as the strategy needs.
name | string Short name, like 'Majors momentum'. |
strategy | string What you'll do with the desk, in plain words. |
rules | object |
reason optional | string Why these limits fit the strategy. |
propose_rulesPocket: lookProposes a new set of rules for a desk you run, for the owner to approve in Superdesk. Until they do, the current rules stay in force.
pocket_id | string |
rules | object |
reason | string |
backtest_strategyReadReplays a DCA, a keep-on-target basket or a ladder day by day on past daily prices (no look-ahead: decisions at a day's close fill at the next day's open; fees and slippage included, funding not, no leverage). Returns the result against holding the first market, worst fall, trades and fees. Ladder prices are given as today's prices and replayed the same distance from the price at the start.
days optional | integer Default 365. |
startingUsd optional | number Default 10000. |
strategy | any |
backtest_basketReadTests a basket (legs with side, weight, optional leverage, stop-loss and take-profit) on past daily prices, held or kept on target. No look-ahead: decisions at a day's close fill at the next open, with fees, slippage and funding (last week's average rate); leverage carries a liquidation check against each day's high and low; stops fill during the day. Returns return, yearly rate, worst fall and recovery, worst day/week/month, volatility, Sharpe and Sortino, correlation and beta to BTC, against BTC, the S&P 500 and the same picks at equal weight, plus which market's history limited the window. Set hindsight when the picks were chosen today.
legs | object[] |
days optional | integer Default 365. |
startingUsd optional | number Default 10000. |
rebalance optional | object | null Default null. |
hindsight optional | boolean Default false. |
robustness optional | boolean Default false. |
cashPct optional | number |
agentRun optional | boolean Default false. |
skipUnknown optional | boolean Default false. |
list_pocket_templatesSuggestReady-made rule sets for common strategies (careful majors, stacking BTC and ETH, trend following, stocks and indices, macro, pairs, ask-me-first), each with its rules in plain words and as data, plus Superdesk's strategy templates (playbook and triggers: thesis keeper, hedge at local tops, copy with brakes, macro day guard and more). Start from one when you propose a desk, then tighten it to fit the strategy you discussed.
list_draftsSuggestDesks and rule changes this agent proposed, with whether the owner approved them and the new desk's id.
start_dcaPocket: tradeBuys (or sells) a set dollar amount of one market on a schedule, every 1, 4, 12, 24 or 168 hours, optionally a set number of times. Superdesk runs it; every buy goes through the desk's rules and shows in its activity. If the rules require stops, give stop_loss_pct.
pocket_id | string |
market | string |
side optional | "buy" | "sell" Default "buy". |
usd | number |
every_hours | number |
max_runs optional | integer |
leverage optional | integer Default 1. |
stop_loss_pct optional | number |
start_trailing_stopPocket: closeFollows a position's best price and closes the position if the price falls back by trail_pct (rises, for a short). Checked once a minute.
pocket_id | string |
market | string |
trail_pct | number |
start_rebalancePocket: tradeKeeps a desk at a basket's weights: checks daily or weekly and, when any market drifts drift_pts or more, trades it back (sells first). In ask mode the owner approves each rebalance. Every order goes through the desk's rules.
pocket_id | string |
targets | object[] |
mode optional | "autopilot" | "ask" Default "ask". |
every_hours optional | number Default 24. |
drift_pts optional | number Default 5. |
start_ladderPocket: tradeEvenly spaced steps between two prices, each firing when the price reaches it (checked every minute). Give total_usd to scale in, or total_pct to scale out of a position (take profit in steps). All steps must be on one side of the price now.
pocket_id | string |
market | string |
side | "buy" | "sell" |
from_price | number |
to_price | number |
steps | integer |
total_usd optional | number |
total_pct optional | number |
leverage optional | integer Default 1. |
set_stopPocket: closeSets a stop on a position, or moves it closer to the price. Agents can only tighten a stop, never loosen it. When the price reaches it the position closes at market (checked every minute).
pocket_id | string |
market | string |
stop_price | number |
get_pocket_agentPocket: lookThe agent Superdesk runs for a desk: its playbook, mode (ask = proposes orders for the owner; autopilot), model, limits, its triggers in words, and its recent runs with what woke them, what it decided and the orders.
pocket_id | string |
runs optional | integer Default 5. |
set_pocket_agentPocket: tradeSets the playbook Superdesk runs for a desk (what to watch and how to act, in plain words), the model (small or main) and limits. You can't switch it to Autopilot: only the owner can, in Superdesk. A new agent starts in Ask me first.
pocket_id | string |
playbook | string |
model optional | "small" | "main" Default "small". |
max_orders_per_run optional | integer Default 3. |
max_runs_per_day optional | integer Default 24. |
add_pocket_triggerPocket: tradeAdds a trigger: {kind:'every',hours}, {kind:'daily',hour,tz,weekdays}, {kind:'us_open'}, {kind:'price_level',market,direction:'above'|'below',price}, {kind:'price_move',market,pct,hours:1|4|24,direction}, {kind:'oi_change',market,pct,hours,direction:'drop'|'rise'}, {kind:'funding',market,direction,aprPct}, {kind:'position_pnl',market,direction:'gain'|'loss',pct}, {kind:'wallet_trades',address,minUsd}, {kind:'calendar',event:'fomc'|'cpi',hoursBefore:0|1|24|72}, {kind:'earnings',ticker,daysBefore}, {kind:'unlock',token,daysBefore,minPct}, {kind:'news',query,source:'web'|'x',everyHours}, {kind:'polymarket',slug,direction,pct}. Webhooks are made by the owner in Superdesk. Up to 10 per desk.
pocket_id | string |
spec | object |
cooldown_minutes optional | integer Default 60. |
remove_pocket_triggerPocket: tradePauses, resumes or removes one of a desk's triggers (ids from get_pocket_agent).
pocket_id | string |
trigger_id | string |
action optional | "pause" | "resume" | "remove" Default "remove". |
run_pocket_agentPocket: tradeStarts a run of the desk's hosted agent now, with your reason as what woke it. It runs in the background for up to two minutes; read the result with get_pocket_agent. It counts against the owner's daily runs and research budget.
pocket_id | string |
reason | string |
list_strategiesPocket: lookThe DCAs and trailing stops a desk is running, with how many runs and what happened last.
pocket_id | string |
stop_strategyPocket: tradePauses, resumes or cancels one of a desk's strategies.
pocket_id | string |
strategy_id | string |
action | "pause" | "resume" | "cancel" |
list_pocketsPocket: lookThe desks the owner gave this agent: each one's id, name, status and what this agent may do in it.
get_pocketPocket: lookOne desk: status, its rules in plain words and as data, value, today's result against the daily loss limit, and each position.
pocket_id | string |
place_orderPocket: tradePlaces an order in a desk with the desk's own money. Code checks it against the desk's rules first (markets, size, leverage, stops, daily loss, pace, price); if a rule says the owner must approve, it becomes a proposal instead. Orders can never withdraw or move money out.
market | string A symbol like BTC or NVDA, or an id from search_markets like hl:perp:xyz:NVDA. |
side | "buy" | "sell" buy opens or adds to a long (or shrinks a short); sell the opposite. |
size_usd | string Order value in US dollars, at least 10. |
type optional | "market" | "limit" Default "market". |
limit_price optional | string Required for limit orders. |
leverage optional | integer Leverage for this market; defaults to 5x or the market's max, whichever is lower. |
stop_loss_price optional | string |
take_profit_price optional | string |
reduce_only optional | boolean Only shrink an existing position, never open or flip one. Default false. |
pocket_id | string |
reason optional | string Why, in a sentence; kept in the desk's activity. |
close_positionPocket: closeCloses one position in a desk at market and cancels its resting orders.
pocket_id | string |
market | string |
Limits
- Keys last 90 days; make a new one any time in Superdesk › Connected apps. The old one keeps working for 24 hours so you can swap it over.
- Pending trade suggestions per agent are capped, and each expires after 24 hours.
- Desks have their own pace limits (orders a minute and a day) set in their rules.
Superdesk doesn't give investment advice, and neither do agents acting through it. See the risks before trading.
