mcp
v0.5.3MCP server for bskts: read tokenized index baskets on Robinhood Chain and build unsigned buys, sells and orders.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
bskts_markets bskts markets
Every basket with live NAV (USD per share), change24h (fraction, 0.01 = +1%) and buyCostBps (real cost of a buy: pool fees + price impact, bps, on top of the 0.20% mint fee). Start here.
bskts_basket bskts basket
One basket: name, thesis, constituents (address, target weight, price), fees, rebalance schedule, and `risk` (read it before buying). With `days`, also a NAV summary (change, high, low, maxDrawdown, volatility; fractions).
| Parameter | Type | Description |
|---|---|---|
ticker * | string | basket ticker, e.g. DIGI64 (bskts_markets lists them) |
days | integer | summarise NAV over this many days |
bskts_account bskts account
What an address holds: ETH (gas) and USDG balances, gasOk (false = too little ETH on Robinhood Chain for a trade), positions with value and PnL, and open orders. walletSharesWei is the exact share count to sell.
| Parameter | Type | Description |
|---|---|---|
address * | string | wallet address (0x...) on Robinhood Chain |
bskts_buy Build a bskts buy
Build an UNSIGNED buy of a basket for USDG. Returns {approval, tx, simulation, minShares, estShares}. Nothing is sent: the user's wallet signs `approval` (if not null, wait for it to be mined) then `tx`. simulation.ok false = it would revert: do not send.
| Parameter | Type | Description |
|---|---|---|
address * | string | wallet address (0x...) on Robinhood Chain |
amountUsdg * | number | dollars of USDG to spend |
ticker * | string | basket ticker, e.g. DIGI64 (bskts_markets lists them) |
slippageBps | integer | tolerance beyond the quoted cost, bps (default 50) |
bskts_sell Build a bskts sale
Build an UNSIGNED sale of basket shares for USDG, in one transaction. shares defaults to "max"; fraction (0-1] with "max" sells part. Returns {approval, tx, simulation, expectedUsdg, minOutUsdg} (USDG in 1e6 base units). Same signing order as bskts_buy.
| Parameter | Type | Description |
|---|---|---|
address * | string | wallet address (0x...) on Robinhood Chain |
ticker * | string | basket ticker, e.g. DIGI64 (bskts_markets lists them) |
fraction | number | with shares "max": the part to sell |
shares | string | "max", or an exact walletSharesWei string from bskts_account (never a float x 1e18) |
slippageBps | integer | tolerance beyond the quoted cost, bps (default 50) |
bskts_order Build a bskts order
Build an UNSIGNED resting order. limit: buy amountUsdg when the 10-minute average NAV <= triggerNav (omit for market; USDG escrowed until filled or cancelled). exit: stop-loss (stopNav), take-profit (tpNav) or both on exact `shares`. cancel: withdraw orderId with its escrow (both from bskts_account). NAV levels in dollars. Same signing order as bskts_buy.
| Parameter | Type | Description |
|---|---|---|
address * | string | wallet address (0x...) on Robinhood Chain |
kind * | string | |
amountUsdg | number | limit: dollars to spend |
escrow | string | cancel: the escrow from bskts_account / GET /v1/orders; recommended |
expiryDays | integer | limit / exit: default 30 |
orderId | string | cancel: the order id |
shares | string | exit: exact 1e18 integer string |
stopNav | number | exit: sell if NAV falls to this |
ticker | string | basket ticker, e.g. DIGI64 (bskts_markets lists them) |
tpNav | number | exit: sell if NAV rises to this |
triggerNav | number | limit: fill at or below this NAV |
bskts_agent_session Agent account permissions
Resolve a wallet owner's bskts account and read an agent public key's live authority: active, moduleEnabled, coverEnabled, USDG, basket turnover remaining, max slippage, expiry and owner approval URL. Cover spending counts separately. Start here for autonomous gasless trading. No ETH needed. Inactive => owner connects this public key in Portfolio; never request private keys or silently renew/increase limits.
| Parameter | Type | Description |
|---|---|---|
key * | string | wallet address (0x...) on Robinhood Chain |
owner * | string | wallet address (0x...) on Robinhood Chain |
bskts_agent_order Build a delegated limit or exit order, or a cancellation
UNSIGNED account Action for an approved agent key. SHOW previewText to the user before signing: triggers are on 10-minute pool-average NAV, so price returns, not net profit. limit: escrows USDG, fills at NAV <= triggerNav (>= if triggerBelow false). exit: escrows shares, sells at NAV <= stopNav or >= tpNav (stop < NAV < tp). slippageBps REQUIRED: <= session maxSlippageBps, >= the basket's limitMinSlippageBps / exitMinSlippageBps (bskts_basket). Placement counts toward today's turnover; expiry capped to the session. cancel (limit) / cancel-exit (exit) per the order's kind in bskts_account (sess…
| Parameter | Type | Description |
|---|---|---|
key * | string | wallet address (0x...) on Robinhood Chain |
kind * | string | |
owner * | string | wallet address (0x...) on Robinhood Chain |
amountUsdg | number | |
expiryDays | integer | |
orderId | string | |
shares | string | "max", or an exact walletSharesWei string from bskts_account (never a float x 1e18) |
slippageBps | integer | limit, exit: REQUIRED bps, within the session's maxSlippageBps, at least the basket's minimum (the app uses 300) |
stopNav | number | |
ticker | string | basket ticker, e.g. DIGI64 (bskts_markets lists them) |
tpNav | number | |
triggerBelow | boolean | |
triggerNav | number |
bskts_agent_trade Build a delegated agent trade
Build an UNSIGNED buy/sell Action inside owner-approved permissions. Returns action, typedData and relayer URL. The agent host's matching session signer signs typedData; POST {action,signature} to the relayer. No wallet approval per trade, no ETH. A 402 fee quote requires a new signature within the host's explicit fee cap; preserve nonce and all trade terms. Persist the unsigned plan before signing; on restart reconcile its original nonce and stop while unresolved. SDK hosts can use executeSessionOnce with a durable store. Never retry ambiguous timeouts with a new nonce. Existing wallet/order…
| Parameter | Type | Description |
|---|---|---|
key * | string | wallet address (0x...) on Robinhood Chain |
owner * | string | wallet address (0x...) on Robinhood Chain |
side * | string | |
ticker * | string | basket ticker, e.g. DIGI64 (bskts_markets lists them) |
amountUsdg | number | buy: USDG dollars, minimum $5 |
feeUsdg | string | network fee base units; default 0 for quote, never above host fee cap |
shares | string | sell: exact account shares, 1e18 base units |
slippageBps | integer | all-in module tolerance; default 50 bps, or the grant maximum if lower; never above owner approval |
bskts_cover Weekend Cover
Weekend Cover pays a held basket's weekend drop between fromBps and toBps (300-1000: from -3%, full at -10%). Prices: $ per $1,000 of cover, +1% fee. weeks: buyable weeks, terms, limits. book (ticker): offers by range, history.fairPer1k (average payout), quote for coverUsd. positions (bskts account): cover, payouts, listings.
| Parameter | Type | Description |
|---|---|---|
view * | string | |
account | string | wallet address (0x...) on Robinhood Chain |
coverUsd | integer | |
fromBps | integer | |
ticker | string | basket ticker, e.g. DIGI64 (bskts_markets lists them) |
toBps | integer | |
week | integer |
bskts_agent_cover Build a delegated cover purchase
UNSIGNED Weekend Cover action for the agent session key: take offers (all of coverUsd unless allowPartial), request at pricePer1k, or cancel listingId (free). Never underwrites. Needs owner-enabled Cover and basket holdings; premium + fee <= 3% of cover. Sign typedData, POST {action,signature} to relayerUrl; 402: re-sign the fee only, within the host cap.
| Parameter | Type | Description |
|---|---|---|
action * | string | |
key * | string | wallet address (0x...) on Robinhood Chain |
owner * | string | wallet address (0x...) on Robinhood Chain |
allowPartial | boolean | |
coverUsd | integer | |
feeUsdg | string | |
fromBps | integer | |
listingId | string | |
maxPricePer1k | number | |
pricePer1k | number | |
ticker | string | basket ticker, e.g. DIGI64 (bskts_markets lists them) |
toBps | integer | |
week | integer |
bskts_guide bskts trading guide
The full trading guide: chain setup, units, fees, error codes, public jobs that pay fees. Read once if a result is unclear (~1.2k tokens).