Reversion Agent
Reversion Agent is Reversion’s AI trading assistant. It connects to the Reversion platform through the MCP server and lets you analyze markets, build algorithmic strategies, run backtests, and manage positions — all through natural language conversation.
What It Does
Section titled “What It Does”Reversion Agent has access to the full tool suite exposed by Reversion MCP. In a single conversation, you can:
- Analyze markets — pull live prices, funding rates, orderbooks, and generate charts with technical indicators
- Build strategies — explore indicators against real data, then create algorithm configs with entry/exit rules
- Backtest & optimize — run backtests, view equity curves, perform rolling cross-validation, and optimize parameters with Bayesian optimization
- Trade — place market/limit/stop/TWAP orders, manage positions, set leverage and margin modes
- Monitor — check account balances, open orders, positions, and upcoming economic events
Getting Started
Section titled “Getting Started”1. Create an API Token
Section titled “1. Create an API Token”Sign in to the Reversion web app with your wallet (MetaMask, WalletConnect, etc.). Then create an API token from the settings page:
- Name: Give it a descriptive name (e.g.,
reversion-agent) - Scopes: Select
read,trade, andalgofor full access - Expiry: Optional — set an expiry date or leave it permanent
Save the token (rvt_...) — it’s only shown once.
2. Configure Your MCP Client
Section titled “2. Configure Your MCP Client”Add the Reversion MCP server to your AI app. The simplest setup uses the npm package:
Edit ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):
{ "mcpServers": { "reversion": { "command": "npx", "args": ["-y", "reversion-mcp"], "env": { "REVERSION_API_TOKEN": "rvt_your_token_here", "REVERSION_BACKEND_URL": "https://api.reversion.trade" } } }}Edit .cursor/mcp.json in your project or home directory:
{ "mcpServers": { "reversion": { "command": "npx", "args": ["-y", "reversion-mcp"], "env": { "REVERSION_API_TOKEN": "rvt_your_token_here", "REVERSION_BACKEND_URL": "https://api.reversion.trade" } } }}Edit .vscode/mcp.json:
{ "servers": { "reversion": { "command": "npx", "args": ["-y", "reversion-mcp"], "env": { "REVERSION_API_TOKEN": "rvt_your_token_here", "REVERSION_BACKEND_URL": "https://api.reversion.trade" } } }}Restart your app after saving. The Reversion tools should appear in the tool list.
3. Verify
Section titled “3. Verify”Try asking:
“Generate a 4h chart for BTC/USDC with RSI and Bollinger Bands”
If everything is configured correctly, you’ll see a candlestick chart with indicators rendered inline.
Usage Examples
Section titled “Usage Examples”Market Analysis
Section titled “Market Analysis”"What's the current funding rate and open interest for ETH?""Show me a 1h chart for SOL with MACD and volume""Search for all available markets on Hyperliquid"Strategy Development
Section titled “Strategy Development”"List available indicators""Explore RSI on BTC 4h with oversold threshold at 30 — show me the signals""Create a mean reversion algorithm for ETH using Bollinger Bands"Backtesting
Section titled “Backtesting”"Backtest my algorithm over the last 6 months""Plot the equity curve for that backtest""Run a rolling cross-validation with 30-day train and 10-day test windows"Optimization
Section titled “Optimization”"Optimize my RSI algorithm — try 20 trials varying the period and thresholds""What's the optimization status?""Plot the optimization trajectory"Trading
Section titled “Trading”"Buy 0.1 ETH at market""Place a limit buy for 1 SOL at $120""Set a stop loss at $3,200 for my ETH position""Close my BTC position"Built-in Research Workflow
Section titled “Built-in Research Workflow”The MCP server includes a quant_research_workflow prompt that guides structured strategy development:
- Market analysis — chart the asset, review indicators
- Signal exploration — test indicator signals against historical data
- Algorithm creation — define entry/exit rules with explored parameters
- Backtesting — validate the strategy over historical periods
- Cross-validation — rolling forward-walk to check robustness
- Optimization — Bayesian parameter search for best risk-adjusted returns
Ask the agent to “follow the quant research workflow for BTC” to run through the full pipeline.