Skip to content

Agent

Reversion exposes its full trading platform to AI agents through the Model Context Protocol (MCP). Connect any MCP-compatible app — Claude Desktop, Cursor, VS Code, or your own agent — and interact with markets, strategies, and backtesting using natural language.

Agent App (Claude Desktop, Cursor, VS Code, custom agent)
↕ stdio or HTTP
reversion-mcp
↕ HTTP (Bearer token auth)
Reversion Backend — single public API gateway
├── Trading, market data, account (direct)
└── Charting, backtesting, optimization (proxied to compute worker)

The MCP server is a thin client that forwards all requests to the Reversion backend. It never touches private keys — authentication uses scoped API tokens (rvt_...) issued through the web app.

Complete reference of every tool available through the MCP server — market data, trading, charting, algorithms, backtesting, optimization, and more. 46 tools across 10 categories.

Reversion Agent is the AI trading assistant built into the Reversion platform. Learn how to set it up with your API token and start analyzing markets, building strategies, and running backtests through conversation.

Technical guide for installing and configuring the MCP server. Covers npm, source, and HTTP transport setups, environment variables, and token scopes.

Your API token controls what the agent can access. Assign scopes when creating a token:

ScopeGrants Access To
readAccount overview, watchlist, market data, economic calendar
tradeOrder placement & cancellation, position management, leverage & margin
algoAlgorithm CRUD, charting, backtesting, optimization

For full functionality, create a token with all three scopes: ["read", "trade", "algo"].