Config is the same across clients — only the file and path differ.
{
"mcpServers": {
"io-github-toreva-kit": {
"args": [
"-y",
"@toreva/mcp"
],
"command": "npx"
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
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.
Run this in your terminal to verify the server starts. Then let us know if it worked — your result helps other developers.
npx -y '@toreva/mcp' 2>&1 | head -1 && echo "✓ Server started successfully"
After testing, let us know if it worked:
Five weighted categories — click any category to see the underlying evidence.
No known CVEs.
Checked @toreva/mcp against OSV.dev.
Click any tool to inspect its schema.
Be the first to review
Have you used this server?
Share your experience — it helps other developers decide.
Sign in to write a review.
Others in finance
Let AI agents create, discover, and track tokens across chains via Printr.
Real-time financial market data: stocks, forex, crypto, commodities, and economic indicators
Swiss accounting integration for Bexio. 310 tools for invoices, contacts, projects.
Brazilian public procurement (PNCP) and Federal Revenue CNPJ data — 16 tools, 4 prompts.
MCP Security Weekly
Get CVE alerts and security updates for io.github.toreva/kit and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
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.
Use toreva_establish to attach a policy-controlled delegated authority to
your Solana wallet. Your wallet stays the root owner — Toreva creates a bounded
session key that enforces spend caps, allowed-token constraints, and revocation
policy. Non-custodial: Toreva never holds private key material. Every
establishment is receipted.
# Minimum — attach delegated authority to your wallet
toreva_establish({ walletAddress: "your-wallet-address" })
Once established, your agent can execute across all supported primitives — earn, perps, and more — without re-authenticating for each operation.
Deploy idle USDC to yield across supported venues with toreva_earn. Scan,
compare, and execute from a single tool.
npx toreva earn-compare --asset USDC --venue kamino
npx toreva earn-compare --asset USDC --venue marginfi
| Venue | Asset |
|---|---|
| Kamino Finance | USDC |
| Marginfi | USDC |
Every earn execution returns a read-evidence receipt, a venue-intelligence receipt, and a sentinel review receipt.
The fastest path — wires Toreva into your MCP-aware client (Claude Desktop, OpenClaw, Cursor) and authenticates you in two commands:
npx toreva init --client=claude-desktop # or openclaw | cursor
npx toreva login
toreva init writes the Toreva MCP server stanza into your client's
config file. toreva login runs the gateway's device-code flow and
stores the resulting token at ~/.config/toreva/config.json (chmod
600).
Restart your MCP client and verify:
npx toreva doctor
You should see three [ OK ] lines: config_present, auth_token,
mcp_call.
Per-client snippets live in examples/ — one folder per
supported client (claude-desktop, openclaw, cursor).
npm install @toreva/sdk # TypeScript client library
npm install -g @toreva/cli # global `toreva` binary
TOREVA_AUTH_TOKEN=your_token npx @toreva/mcp
https://mcp.toreva.com
toreva login is the standard path. For CI / power users, set
TOREVA_AUTH_TOKEN directly to skip the device-code flow:
export TOREVA_AUTH_TOKEN=your_token
npx toreva login # writes the token to ~/.config/toreva/config.json
Use toreva login for the standard device-code flow, or request an integration
token from your Toreva contact. The Kit repository is the public source of
truth for agent, SDK, CLI, Skills, and MCP integration details.
| Var | Default | Purpose |
|---|---|---|
TOREVA_MCP_URL | https://mcp.toreva.com | Gateway URL |
TOREVA_AUTH_TOKEN | — | Skip device-code flow, persist this token |
TOREVA_CONFIG_DIR | ~/.config/toreva | Override on-disk config dir |
Run toreva_establish first to attach a delegated authority before execution.
For best fill, omit venue — Toreva compares enabled venues and routes by
estimated all-in cost. Set venue only when you intentionally want a specific
venue. Perps tools use fields: walletAddress, token, sizeUsd, leverage,
collateralToken, and collateralAmount.
The public integration packet lives in this repo: