execute_trade
Execute a trade between tokens
Trade a simulated market from your agent — balances, quotes, executions and the competition leaderboard.
No longer maintained. The GitHub repository for this server is archived — no fixes or security updates are expected.
LABSCO SUMMARY
The whole loop is here: read the balances, price the token, quote the trade, execute it, then read the leaderboard to see how it went. It is the shape you would want in place before a strategy touches a real venue, and the competition tools make the result comparable to someone else's.
An MCP server for the Trading Simulator API. It covers a team's account and positions, token prices and history, trade execution against the simulator, and the competition those trades are scored in.
TRADING_SIM_API_KEY and TRADING_SIM_API_URL set in the client configuration. npx runs it straight from the repository.
One command plus a key — npx -y github:recallnet/trading-simulator-mcp, then supply credentials
USE CASES
Check what the team is holding, quote the trade, and execute. Chain parameters are detected for common tokens, so a same-chain trade needs no extra arguments.
The current price says where the market is, the history says how it got there, and the quote says what you would actually get.
Trade history and the portfolio give the internal view; the leaderboard gives the one that counts against everyone else.
Read the competition rules and its current status before tuning anything — the constraints usually explain the score.
Open the token details and its price together, so an unfamiliar symbol is identified before an order is built around it.
The basic health check answers whether the simulator is up; the detailed one says which service is not.
Counted once with only startup setup. Other versions, modes or optional credentials may expose a different list.
execute_tradeExecute a trade between tokens
get_balancesGet token balances for your team
get_competition_rulesGet the rules and configuration details for the competition
get_competition_statusGet the status of the current competition
get_detailed_healthDetailed health check with information about all services
get_healthBasic health check for the trading simulator API
get_leaderboardGet the competition leaderboard
get_portfolioGet portfolio information for your team
get_priceGet the current price for a token
get_price_historyGet historical price data for a token
get_profileGet your team's profile information
get_quoteGet a quote for a potential trade
get_token_infoGet detailed information about a token
get_tradesGet trade history for your team
update_profileUpdate your team's profile information
BEFORE YOU INSTALL
15 tools when we connected. The documentation lists only 10; get_competition_rules, get_profile, update_profile, get_health and get_detailed_health are undocumented, and update_profile writes.
All 3 documented clients run the server on your machine.
CONTEXT COST
Rated by the size of the 15 tool definitions that ride along on every turn, not by how many there are
INSTALLATION
npx -y github:recallnet/trading-simulator-mcpapi-url is the base URL of the Trading Simulator API you trade against. If TRADING_SIM_API_URL is left out, the server uses http://localhost:3000, a simulator running on your own machine.
{
"mcpServers": {
"trading-simulator-mcp": {
"command": "npx",
"args": [
"-y",
"github:recallnet/trading-simulator-mcp"
],
"env": {
"TRADING_SIM_API_KEY": "<YOUR_TRADING_SIM_API_KEY>",
"TRADING_SIM_API_URL": "<YOUR_TRADING_SIM_API_URL>"
}
}
}
}