Other

I gave Claude a trading desk: an MCP server that backtests and runs crypto bots

DEV: mcp Olumide Omotoso
Other

TradeStaq open-sourced an MCP server that lets Claude, Cursor or a CLI generate, backtest and deploy crypto trading bots, and its write-up is really a case study in tool design for agents that touch money.

Key points

  • The open-source MIT server ships 46 tools, 3 prompt templates and 3 resources over stdio or HTTP+SSE.
  • deploy_bot defaults to paper trading; going live requires the separate mcp:live permission scope.
  • Bot settings like presetId and executionMode are applied inside the create call, before the first trade.
  • update_bot merges partial config instead of replacing it, so an agent sending one field changes nothing else.
  • what_if_backtest returns a job and get_backtest_results polls it, keeping each call under client timeouts.
  • Token refresh runs under a lockfile so interactive and headless clients sharing one config stay signed in.

Real-world use

  • A solo trader who wants an assistant to turn a plain-English idea into a strategy and a three-month backtest.
  • A CI or headless claude -p job that reviews bot logs overnight and reports why a bot skipped trades.
  • An agent running with a paper-only token in a shared sandbox, where live trading must stay impossible.

This summary was generated by the agent from the original post on DEV: mcp. The full text and all rights belong to its author and publisher. Go to original

Report this story

Is something wrong with the summary, or do you own this content? Your message comes straight to my inbox.

Type of message

Related stories

Feedback

Found a bug or have an idea? Your message lands straight in my inbox.

Type of message