Toreva

Non-custodial DeFi execution primitives for Solana. Best-execution routing for perpetual futures across Jupiter Perps, Pacifica, Drift, and Flash Trade. 1 bps fee to open. Everything else is free. 20 MCP tools for perps, yield, scanning, simulation, and execution.

toreva kit

Non-custodial execution primitives for Solana.
Best-execution routing across Jupiter Perps, Pacifica, Drift, and Flash Trade.
1 bps to open. Everything else is free.

Your agent decides. Toreva executes. Every action receipted.

Install

npm install @toreva/sdk
npm install -g @toreva/cli

MCP server (stdio)

RELAY_AUTH_TOKEN=your_token npx @toreva/mcp

MCP server (remote)

No install needed — connect directly:

https://gateway.toreva.com/mcp

Authentication

All commands — including read-only queries — require a RELAY_AUTH_TOKEN.

Set it as an environment variable:

export RELAY_AUTH_TOKEN=your_token

Request a token at toreva.com/docs.

Perps tools

ToolFeeWhat it does
toreva_perps_long1 bpsOpen long — routes to better fill
toreva_perps_short1 bpsOpen short — routes to better fill
toreva_perps_closeFreeClose position at venue
toreva_perps_add_marginFreeAdd margin
toreva_perps_remove_marginFreeRemove margin
toreva_perps_cancel_orderFreeCancel order
toreva_perps_funding_settleFreeSettle funding
toreva_perps_simulateFreePreview before execution
toreva_perps_explainFreeExplain trade or position
toreva_perps_query_*FreePosition, funding, venues, markets

Venues

VenueFeeModel
Jupiter Perps6.0 bps flatOracle-based
Pacifica4.0 bps (Tier 1)Order book variant
Drift Protocol3.5 bps takerOrder book
Flash Trade4.0 bps (Tier 1)Order book variant

Trades routed to Drift via toreva receive a 5% fee discount.

Strategy tools

ToolWhat it does
toreva_strategiesBrowse strategy catalog with pricing
toreva_earnDeploy USDC to yield across venues
toreva_scanSurvey portfolio state
toreva_simulateDry-run without execution
toreva_executeExecute a strategy
toreva_explainNarrate what happened
toreva_configureAdjust settings

Packages

PackageWhat
@toreva/sdkTypeScript client library
@toreva/cliCommand-line interface
@toreva/mcpMCP server for agent integration
@toreva/typesShared schemas and types

Regulatory notice

This software provides tooling for interacting with the toreva execution service. It does not provide financial advice, investment advice, trading advice, or any other form of advice. Use of this software does not create a fiduciary relationship, advisory relationship, or any other professional relationship between you and Toreva Pty Ltd.

Toreva Pty Ltd is not responsible for any modifications made to this software by third parties, including modifications that alter or remove compliance language, disclaimers, or risk warnings. If you use a modified version of this software, you do so at your own risk and are responsible for ensuring your use complies with applicable law.

License

MIT — see LICENSE

相關伺服器

NotebookLM 網頁匯入器

一鍵將網頁和 YouTube 影片匯入 NotebookLM。超過 200,000 位使用者信賴。

安裝 Chrome 擴充功能