TradeStaq MCP Server

TradeStaq MCP Server

tradestaq-mcp•bythe-staq

An MCP server offering AI-powered crypto trading tools for creating and backtesting strategies, deploying trading bots, copy trading, and portfolio management.

License: MIT•Runtime: Awaiting documentation review•Category: finance crypto

WHAT IT DOES

  • •Provides market data tools including current price, OHLCV candles, exchange listing, and market search.
  • •Supports strategy creation and generation, plus asynchronous historical backtesting with result retrieval.
  • •Manages trading bots, including deployment, start/stop, updates, logs, and closing positions.
  • •Includes copy trading tools to browse top traders and follow their trades.

BEST FOR

  • •Traders who want to backtest strategies conversationally and deploy them as paper or live trading bots.
  • •Users who want AI-assisted portfolio review and position monitoring through an MCP client.
  • •People interested in copying experienced traders via a leaderboard and follow functionality.

ABOUT TRADESTAQ-MCP

TradeStaq MCP Server is cataloged as an MCP server attributed to the-staq. An MCP server offering AI-powered crypto trading tools for creating and backtesting strategies, deploying trading bots, copy trading, and portfolio management. It is categorized under finance crypto. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: MIT. Check the source repository's current license and terms before using, modifying or distributing this software.

Capability inspector

Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.

Tools (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Resources (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Prompts (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for TradeStaq MCP Server are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

Does the server support remote MCP clients?

Yes, it can be hosted remotely at an HTTP endpoint for MCP clients that support HTTP transport.

Does deploying a bot trade real money by default?

No, bot deployment defaults to paper trading; live trading requires explicitly passing live: true.

How are credentials stored?

Credentials never enter the chat with the browser flow, and the token is stored locally with restricted permissions.

Upstream README

View this exact version on GitHub

README.md · 4fc190feb611 · Fetched 2026-11-13 13:50:05 UTC

Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.

Showing the last retrieved documentation snapshot; check the source for current changes.

TradeStaq MCP Server

npm version License: MIT

Website · Docs · MCP / AI Tools · Pricing

46 AI-powered trading tools for Claude, Cursor, and any MCP client.

Create strategies, backtest them, deploy trading bots, copy top traders, monitor positions, and manage your crypto portfolio, all from conversation. Supports Binance, Bybit, OKX, Bitget, Hyperliquid, dYdX, and more.

"Show me my portfolio" → get_portfolio
"Backtest GhostRider on BTC/USDT for 3 months" → what_if_backtest
"Deploy it on my Binance account" → deploy_bot
"Who are the top traders this month?" → list_top_traders
"Generate a momentum strategy for ETH" → generate_strategy

Quick Start

Option A: Remote server (no install needed)

For MCP clients that support HTTP transport:

{
  "mcpServers": {
    "tradestaq": {
      "url": "https://mcp.tradestaq.com/mcp"
    }
  }
}

No clone, no build. Just add to your MCP config:

Claude Desktop (~/Library/Application Support/Claude/claude_desktop_config.json):

{
  "mcpServers": {
    "tradestaq": {
      "command": "npx",
      "args": ["-y", "@the-staq/tradestaq-mcp"]
    }
  }
}

Cursor (.cursor/mcp.json):

{
  "mcpServers": {
    "tradestaq": {
      "command": "npx",
      "args": ["-y", "@the-staq/tradestaq-mcp"]
    }
  }
}

Claude Code:

claude mcp add tradestaq -- npx -y @the-staq/tradestaq-mcp

Option C: Clone and build

git clone https://github.com/the-staq/tradestaq-mcp.git
cd tradestaq-mcp
npm install
npm run build

Then point your MCP client to dist/index.js.

Authenticate

After adding the server, ask your AI assistant to log in:

  • "Log me in to TradeStaq" — uses email/password directly
  • "Authenticate with TradeStaq" — opens a browser window for secure OAuth login

Credentials never enter the chat when using the browser flow. Token is stored locally at ~/.tradestaq/mcp-config.json with restricted permissions (0600).

Tools

Auth

ToolDescription
loginLog in with email and password
authenticateLog in via browser (OAuth + PKCE)
check_authCheck authentication status
set_tokenManually set a JWT token
connect_exchangeConnect an exchange account via browser
logoutRemove stored credentials

Market Data

ToolDescription
get_priceCurrent price, 24h change, volume
get_candlesOHLCV candlestick data (1m to 1d)
list_exchangesList connected exchange accounts
search_marketsFind trading pairs on a specific exchange

Portfolio

ToolDescription
get_portfolioTotal balance, exchanges, active bots
get_positionsOpen positions with live PnL

Strategies

ToolDescription
list_strategiesBrowse marketplace or your own strategies
get_strategyFull strategy details and performance
explain_strategyPlain-English explanation with risk profile
compare_strategiesSide-by-side metrics comparison
create_strategyCreate a strategy from TradeDroid code
generate_strategyGenerate a strategy from natural language using AI

Backtesting

ToolDescription
what_if_backtestRun a historical backtest (async, 30-120s)
get_backtest_resultsCheck status of a running backtest

Bot Management

ToolDescription
list_botsAll bots with status and performance
get_bot_statusDetailed bot metrics and config
get_bot_logsRun-by-run history: why a bot did or did not trade, dropped signals, errors
deploy_botDeploy a strategy as a trading bot
update_botEdit a bot: rename, switch strategy or apply a preset, timeframe, execution mode, strategy parameters, version channel, risk settings, notifications, stopAfterClose
start_botStart a paused or stopped bot
stop_botStop a running bot now (open positions are left unmanaged)
delete_botDelete a bot (refused while it has an open trade)
close_positionClose an open position (full or partial)
list_bot_share_linksA bot's public chart links (tradestaq.com/chart/...)
create_bot_share_linkMake a public link to a bot's live chart (choose expiry and whether PnL shows)
revoke_bot_share_linkTurn a public chart link off

deploy_bot defaults to paper trading. Pass live: true for real money. The bot trades on the strategy's own timeframe; pass timeframe (e.g. 4h) only to override it. Leave out name and the server names the bot. The bot starts trading as soon as it is created, so give it its settings in the same call: presetId (a preset's ID or slug, of the same strategy), parameterOverrides and executionMode; the server applies them in the create itself (with a preset the bot is created paused, then started). strategyId takes an ID or a slug. start: false creates it paused for start_bot.

update_bot sends everything you pass in one update, after merging it onto the bot's current settings (position sizing, spin settings and parameter overrides are never wiped by a partial change). Size and leverage change only when you pass them. strategyId and presetId take an ID or a slug (trade-wind, trade-wind-long-short). A strategy or timeframe change needs the bot to be flat: pause it with stopAfterClose: true first, wait until get_bot_status shows no open position, then switch, then start_bot. A live bot needs the mcp:live scope for any change; a paper bot mcp:paper. The reply is the resulting config (strategy, version, timeframe, mode, overrides, size, leverage, status) plus server warnings.

For example, switching a paused 15m GhostRider bot to Trade Wind on 4h with its Long & Short preset, and renaming it:

{ "id": "6ab7c2d60014ba19b0c54258", "presetId": "trade-wind-long-short", "timeframe": "4h", "name": "Trade Wind · SUI · 4h" }

Trade History

ToolDescription
get_trade_historyClosed trades, one row per close: direction, entry/exit prices, PnL, return on position size
get_performance_metricsROI, win rate, Sortino ratio, PnL breakdown

Copy Trading

ToolDescription
list_top_tradersBrowse the leaderboard of top traders
follow_traderSubscribe to copy a trader's trades

Advisor

ToolDescription
suggest_strategiesMatch strategies to your risk profile
get_market_contextTrend, volatility, support/resistance for a symbol

Prompt Templates

Trading Assistant — Start a conversation about your portfolio and positions. The AI calls get_portfolio and get_positions to ground its responses in your actual data.

Strategy Builder — Walk through creating, backtesting, and deploying a strategy. Pass an optional goal like "momentum strategy for ETH" to get focused suggestions.

Portfolio Reviewer — Deep analysis of your portfolio, positions, trade history, and performance. Identifies what's working, what isn't, and suggests improvements.

Resources

MCP resources provide browsable data that AI clients can read directly:

ResourceURIDescription
Portfoliotradestaq://portfolioBalances, positions, and active bots
Botstradestaq://botsAll bots with status and PnL
Strategiestradestaq://strategiesStrategy catalog with ratings

Architecture

                    stdio                                    HTTPS
┌──────────────┐◄──────────►┐                  ┌────────────────►┌──────────────┐
│Claude Desktop│             │                  │                 │              │
│Cursor / CLI  │             │  tradestaq-mcp   │   Bearer JWT    │  TradeStaq   │
└──────────────┘             │  46 tools        │◄────────────────│  API         │
                             │  3 prompts       │                 │              │
┌──────────────┐  HTTP+SSE  │  3 resources      │                 └──────────────┘
│ Any MCP      │◄──────────►│                  │
│ client (web) │             └──────────────────┘
└──────────────┘
  • Two transports: stdio (local, default) and HTTP+SSE (remote, --http flag)
  • Hosted at https://mcp.tradestaq.com/mcp for remote clients
  • JWT auth via OAuth PKCE or email/password login
  • All tools return structured JSON with error contract
  • Token auto-refresh before the access token expires. Several local copies (say an interactive session plus headless claude -p runs) can share one sign-in: they refresh one at a time under a lockfile next to ~/.tradestaq/mcp-config.json, and a copy whose tokens another one rotated picks up the new pair from the file

Development

npm run dev        # watch mode with tsx
npm run build      # compile TypeScript
npm run lint       # type check without emitting
npm test           # run tests
npm start          # run server (stdio)
npm run start:http # run server (HTTP+SSE on port 3100)

Releasing

npm run release:patch   # or release:minor / release:major

This bumps the version (and the server.json versions), files the CHANGELOG's [Unreleased] notes under it, commits, tags vX.Y.Z and pushes. The tag triggers .github/workflows/publish.yml:

  1. Approve the run. The publish job waits in the npm environment for a maintainer's approval (Actions, then the run, then Review deployments).
  2. It type-checks, tests and publishes to npm through trusted publishing (no npm token anywhere), with provenance.
  3. It updates the listing on the official MCP Registry.

Then run the Deploy MCP workflow to update the hosted server at mcp.tradestaq.com.

Error Handling

All tool errors return structured responses:

{
  "error": {
    "code": "INSUFFICIENT_BALANCE",
    "message": "Human-readable description",
    "retryable": true,
    "retryAfterMs": 5000
  }
}

Error codes: AUTH_EXPIRED, TIMEOUT, RATE_LIMITED, NETWORK_ERROR, HTTP_4xx, HTTP_5xx.

Security

  • Credentials never enter AI conversation history
  • OAuth PKCE flow with browser-based authentication
  • Token stored with 0600 file permissions
  • Localhost-only OAuth callbacks
  • deploy_bot, stop_bot, close_position, and follow_trader are destructive operations (AI confirms with user)

License

MIT

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for TradeStaq MCP Server from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/tradestaq-mcp)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

Downloads and pulls

Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.

No reviewed package or image identity; download statistics are not listed yet.

Related finance crypto MCP Servers

Alternative and complementary servers in the same category

View all in finance crypto →
USA Spending MCP Server
usaspending-mcp-server•thsmale

A stateless streamable HTTP MCP server for interacting with the official source of government spending data.

Repository stats unavailable
Finance & Analytics
Fortnox MCP server — More AI
more-ai-chatgpt-claude-mcp-fortnox•amor3

A hosted, remote MCP server for Fortnox that lets AI assistants answer questions from a company's bookkeeping and propose changes for approval before writing them.

0
Finance & Analytics

OptimistFi is a read-only remote MCP server that provides perpetual futures market data, perps prop firm rules and pricing, and US equity investment research.

Repository stats unavailable
Finance & Analytics