45 MCP tools that let Claude, Cursor, or any MCP-compatible AI assistant manage your portfolio, backtest strategies, deploy bots, and execute trades across 15+ exchanges.
Three ways to connect. Pick what fits your workflow.
Hosted server. No install needed.
{
"mcpServers": {
"tradestaq": {
"url": "https://mcp.tradestaq.com/mcp"
}
}
}Run locally via stdio transport.
{
"mcpServers": {
"tradestaq": {
"command": "npx",
"args": [
"-y", "tradestaq-mcp"
]
}
}
}Full source. Customize anything.
git clone github.com/the-staq/\ tradestaq-mcp cd tradestaq-mcp npm install && npm run build
Every tool your AI assistant needs to trade crypto.
7 tools
loginSign in to your TradeStaq account using your email and password. This is the first step to access all trading tools thro
authenticateAuthenticate using OAuth or an existing session token. Useful when you already have a valid token from a previous sessio
check_authVerify whether your current session is authenticated and the token is still valid. Use this to check your login status b
set_tokenManually set an authentication token for the current MCP session. Useful for headless environments, CI/CD pipelines, or
connect_exchangeConnect a crypto exchange account to TradeStaq by providing your API credentials. Supports Binance, Bybit, OKX, Hyperliq
create_paper_exchangeCreate a paper-trading exchange account with a simulated balance — no API keys required. The fastest way to test strateg
logoutSign out of your TradeStaq account and invalidate the current session token. Use this when you are done trading or want
4 tools
get_priceGet the current real-time price for any trading pair on any supported exchange. Returns bid, ask, last price, and 24h ch
get_candlesFetch historical OHLCV (open, high, low, close, volume) candlestick data for any trading pair. Essential for technical a
list_exchangesList all crypto exchanges supported by TradeStaq, including their available markets (spot, futures), connection status,
search_marketsSearch for trading pairs across all connected exchanges. Find specific symbols, discover new pairs, or check which excha
2 tools
10 tools
list_strategiesBrowse all available trading strategies in the TradeStaq marketplace. Filter by market type (spot/futures), risk level,
get_strategyGet detailed information about a specific trading strategy including its logic, indicators used, risk parameters, suppor
explain_strategyGet a plain-English explanation of how a strategy works, when it enters and exits trades, what market conditions it perf
compare_strategiesCompare two or more strategies side by side on key metrics: win rate, Sharpe ratio, max drawdown, average profit, and mo
create_strategyCreate a new custom trading strategy by defining entry/exit conditions, indicators, risk management rules, and position
generate_strategyUse AI to generate a complete trading strategy from a natural language description. Describe your trading idea and FORGE
update_strategyUpdate one of your own strategies — name, description, category, tags, or the code itself. Code edits write to a draft v
list_strategy_versionsList the full version history for one of your own strategies — every stored version, its validation status, and which ch
validate_strategy_versionRun the automated validation pipeline — syntax check, entry/exit logic check, and a quick real-data backtest — against t
promote_strategy_versionPromote a specific version of one of your strategies to the stable or beta channel. Promoting to stable is the step that
4 tools
start_optimization_runStart an AI optimization run on one of your own strategies — repeatedly mutates the code, backtests each variant, and ke
get_optimization_statusCheck progress of a Strategy Lab optimization run — current experiment, best score found so far, and (once complete) whe
cancel_optimization_runCancel a running Strategy Lab optimization. Takes effect after the current experiment finishes, not instantly — any impr
send_optimization_guidanceInject live, free-text steering into a running optimization — e.g. "focus on trend-following, not mean-reversion." Appli
3 tools
what_if_backtestRun a quick "what-if" backtest to see how a strategy would have performed on historical data. Specify the strategy, trad
get_backtest_resultsRetrieve the results of a previously run backtest. Returns detailed metrics including total return, Sharpe ratio, max dr
export_backtestGet export links for a completed backtest — CSV and PDF download URLs for sharing or record-keeping.
9 tools
list_botsList all your trading bots with their current status (running, stopped, error), strategy, exchange, and recent performan
get_bot_statusGet detailed status for a specific trading bot including current position, P&L, runtime, last signal, error state, and c
deploy_botDeploy a new trading bot with a strategy on your connected exchange. Configure the trading pair, position size, leverage
start_botActivate a bot so it starts opening new positions on its next scheduled interval. Newly deployed bots come up paused by
stop_botStop a running trading bot. The bot will stop taking new trades but existing positions remain open unless you also close
close_positionClose an open trading position at market price. Use this for emergency exits, taking profits, or cleaning up positions a
update_botUpdate a bot's risk configuration — leverage, position size, stop loss, take profit, or trade notifications — without re
delete_botPermanently delete a trading bot and its configuration — irreversible. Refused if the bot still has an open trade; close
export_bot_tradesExport a bot's trade history as structured data — every closed trade with entry/exit prices and P&L, plus a performance
2 tools
2 tools
Ask your AI assistant anything about your trades.
{
"totalBalance": "$12,450.32",
"positions": 3,
"activeBots": 2,
"24hChange": "+$342.18 (+2.8%)"
}{
"strategy": "GhostRider",
"totalReturn": "+14.2%",
"winRate": "68%",
"maxDrawdown": "-4.1%",
"trades": 23,
"sharpeRatio": 2.1
}{
"status": "deployed",
"botId": "bot_7x9k2m",
"strategy": "Momentum Rider",
"exchange": "bybit",
"symbol": "BTC/USDT",
"amount": "$500"
}{
"leaderboard": [
{ "alias": "CryptoKing", "return": "+32.1%", "winRate": "74%" },
{ "alias": "AlphaBot", "return": "+28.7%", "winRate": "71%" },
{ "alias": "DeFiWhale", "return": "+24.3%", "winRate": "69%" }
]
}Trade on any of these exchanges through your AI assistant.
Full setup guide, authentication walkthrough, and tool reference in the docs.