Labsco
MCP SERVER · OFFICIAL PROJECT

Toreva

by toreva

Scan a Solana wallet for idle capital, simulate a strategy before it runs, and route a perps position to whichever venue fills it better — non-custodial throughout.

Trading Execution & BrokerageVerified
Summary
Simulation is free and separate, which is the habit the whole tool set is shaped around.

toreva_simulate and toreva_perps_simulate cost nothing and execute nothing — they return the projected entry, the fees, the funding cost and the venue comparison a live order would have used, which makes the sensible pattern obvious: simulate, read the venue reasoning, then open. On pricing, only opening a perps position carries a Toreva fee, at 1 bps of notional, while closing, margin changes, cancellations, funding settlement and every read are free. Execution stays non-custodial, with the transaction handed back for signing and a receipt afterwards, so what an agent can do here is propose and prepare rather than move funds on its own.

What it is

An MCP server for Toreva, which turns Solana DeFi actions into tools an agent can call: scan a wallet, simulate what a strategy would do, execute it as a user-signable transaction, and read back a receipt for what happened. Alongside that sits a perpetual-futures layer that compares Jupiter Perps, Pacifica, Drift and Flash Trade on fees, funding rate and liquidity before routing an order.

What you get
  • toreva_scan finds idle capital, yield opportunities and risk flags in a wallet, returning recommendations ranked by expected return
  • toreva_simulate previews a strategy's projected returns, fees, venue selection and risk before anything commits; toreva_execute runs it; toreva_explain reconstructs an intent, receipt or strategy in plain language, including why a venue was chosen
  • toreva_earn deploys idle USDC into the highest-yielding lending strategy it can verify, risk-ranked across Kamino, Marginfi and Drift; toreva_strategies browses the catalogue with risk labels and pricing tiers; toreva_configure holds default constraints, preferred protocols and risk tolerance
  • toreva_perps_simulate compares all four venues on fees, funding rate and liquidity and returns a projected entry price — free, with no execution and no fee
  • toreva_perps_long and toreva_perps_short open positions with that routing at 1 bps of notional, and trades routed to Drift take a 5% fee discount against going direct
  • Managing a position carries no Toreva fee at all: toreva_perps_close, toreva_perps_add_margin, toreva_perps_remove_margin, toreva_perps_cancel_order and toreva_perps_funding_settle each execute at the position's own venue
  • The read side is free too: toreva_perps_query_position, toreva_perps_query_funding across the four venues, toreva_perps_query_venues with their fee structures, and toreva_perps_query_markets
  • toreva_perps_explain returns the venue used, entry price, fees paid, funding rate at entry, live P&L if the position is open, and the reason that venue was selected
Requirements

Npm install -g @toreva/mcp, then run toreva-mcp over stdio with RELAY_AUTH_TOKEN set. Execution is non-custodial: transactions are prepared for you to sign, and every action returns a receipt. The publisher states that this software provides no financial, investment or trading advice and creates no advisory or fiduciary relationship.

Setup effort

One command plus a key — npm install -g @toreva/mcp, then supply credentials