Prototype · Preview: every server in the official registry, synced every 30 minutes. Sign in with Google to write reviews.Prototype · updated every 30 min
PopNx MCPMCP servers for people who use AI · explained in plain words

Tradestaq MCP

by the-staqversion 0.8.0i★ 0iRuns on your computerRepository ↗
Registry nameio.github.the-staq/tradestaq-mcp

How to install

What it does

AI-powered crypto trading tools. Strategies, backtests, bots, and portfolio management.

  • Connects Runs on your computer
  • Account or key No key needed
  • Category Accounting, finance & tax

Why it ranks here

Lists are ordered by a usage score (out of 100) built from these parts

Popularity0/80GitHub stars or weekly downloads: the larger counts 60, the smaller 20
Freshness12/12Full marks for a release or code change within 30 days
Still answering0/8The cloud endpoint answered at the last check
Usage score12/100

Quality: Passed 2/3 basic checks (shown, not used for ordering) · Momentum: No data yet (Used only on the Trending tab)

Install

Pick the AI app you use, then copy the settings.

Let your AI install it with one sentence

Please install Tradestaq MCP. Follow https://mcp.popnx.com/i/the-staq-tradestaq-mcp.md, show me the commands and wait for my OK before running them.

Paste it into an AI that can work on your computer (such as Claude Code or Cursor). It reads our steps, shows you the commands and waits for your OK. No key, no sign-up. · See the full text your AI reads

Passed 2/3 checks · Runs on your computer · ✓ Commands checked Nov 14, 2026

First: which AI do you use?

Pick your app and the steps appear below.

Works with Claude, with some setup first

Install Node.js on your computer first (one time) · Only the Claude desktop app (Windows or Mac), not the web or phone

Let AI install it

Copy this message into a Claude chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server Tradestaq MCP for Claude on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "tradestaq": { "command": "npx", "args": [ "-y", "@the-staq/tradestaq-mcp" ] } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) No key is needed. 5) Do what we agreed, then check that the Tradestaq MCP tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Node.js (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    node -v
    • A version number such as v26.13.1 = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed

    Open the Node.js download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v

    Install once; it works for everything that needs Node.js

  2. Open the Claude desktop app’s settings file

    SettingsDeveloperEdit Config

  3. Paste these settings and save the file

    {
      "mcpServers": {
        "tradestaq": {
          "command": "npx",
          "args": [
            "-y",
            "@the-staq/tradestaq-mcp"
          ]
        }
      }
    }
  4. Quit Claude and open it again

  5. Try it

    Use Tradestaq MCP and tell me what you can do for me, then show me one thing

    ✓ If Claude says it is using Tradestaq MCP or shows a Tradestaq MCP tool in the answer, you are connected

Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version

ChatGPT cannot connect Tradestaq MCP yet

Tradestaq MCP runs on your computer, but ChatGPT can only connect servers that run on the web

What you can do instead

A · Use an app that can connect Tradestaq MCP

  • Install Node.js on your computer first (one time) · Only the Claude desktop app (Windows or Mac), not the web or phone
  • Install Node.js on your computer first (one time)
  • Install Node.js on your computer first (one time)
  • Install Node.js on your computer first (one time)

B · Others in Accounting, finance & tax that work with ChatGPT

Picked from the most used in the same category, only ones that connect by address with no key

Works with Claude Code, with some setup first

Install Node.js on your computer first (one time)

Let AI install it

Copy this message into a Claude Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server Tradestaq MCP for Claude Code on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): claude mcp add --scope user tradestaq -- npx -y @the-staq/tradestaq-mcp 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) No key is needed. 5) Do what we agreed, then check that the Tradestaq MCP tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Node.js (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    node -v
    • A version number such as v26.13.1 = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed

    Open the Node.js download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v

    Install once; it works for everything that needs Node.js

  2. Open Terminal

    Mac: press Command+Space and type Terminal · Windows: open PowerShell

  3. Paste this command and press Enter

    claude mcp add --scope user tradestaq -- npx -y @the-staq/tradestaq-mcp
  4. Type /mcp in Claude Code

    You should see Tradestaq MCP listed as connected

  5. Try it

    Use Tradestaq MCP and tell me what you can do for me, then show me one thing

    ✓ If Claude Code says it is using Tradestaq MCP or shows a Tradestaq MCP tool in the answer, you are connected

Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Works with Cursor, with some setup first

Install Node.js on your computer first (one time)

Let AI install it

Copy this message into a Cursor chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server Tradestaq MCP for Cursor on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "tradestaq": { "command": "npx", "args": [ "-y", "@the-staq/tradestaq-mcp" ] } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) No key is needed. 5) Do what we agreed, then check that the Tradestaq MCP tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Node.js (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    node -v
    • A version number such as v26.13.1 = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed

    Open the Node.js download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v

    Install once; it works for everything that needs Node.js

  2. Click this button to open Cursor

    Open in Cursor

    Cursor asks you to confirm; click Install

  3. Open the AI chat in Cursor in Agent mode

  4. Try it

    Use Tradestaq MCP and tell me what you can do for me, then show me one thing

    ✓ If Cursor says it is using Tradestaq MCP or shows a Tradestaq MCP tool in the answer, you are connected

Menu names checked against Cursor’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Works with VS Code, with some setup first

Install Node.js on your computer first (one time)

Let AI install it

Copy this message into a VS Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server Tradestaq MCP for VS Code on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "servers": { "tradestaq": { "type": "stdio", "command": "npx", "args": [ "-y", "@the-staq/tradestaq-mcp" ] } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) No key is needed. 5) Do what we agreed, then check that the Tradestaq MCP tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Node.js (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    node -v
    • A version number such as v26.13.1 = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed

    Open the Node.js download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v

    Install once; it works for everything that needs Node.js

  2. Click this button to open VS Code

    Open in VS Code

    VS Code asks you to confirm; click Install

  3. Open the AI chat in VS Code in Agent mode

  4. Try it

    Use Tradestaq MCP and tell me what you can do for me, then show me one thing

    ✓ If VS Code says it is using Tradestaq MCP or shows a Tradestaq MCP tool in the answer, you are connected

Menu names checked against VS Code’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Other apps that use MCP, such as Windsurf, Zed or Gemini CLI, each add servers differently. See how in the app list.

See every app that uses MCP →

JSON settings are under “For developers” below

Stuck? Ask people who use Tradestaq MCP💬 Discussion →
For developers: Terminal commands and JSON settings

Installed on your computer

Claude Code

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

Claude Desktop (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"
      ]
    }
  }
}

VS Code (mcp.json)

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

These settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.

At a glance

Downloads per weeki
209/wk
Licencei
No licence stated
Connection
Runs on your computer
Latest versioni
0.8.0
Published to registryi
Nov 12, 2026
Code last changedi
Nov 19, 2026
Maker
the-staq
Packages
npm: @the-staq/tradestaq-mcp
Registry status
Active

Which apps can use it

Based on how this server connects and on each app’s own docs, checked Nov 10, 2026.

Run on your computer in

ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast

All apps, with pros and cons →

Related guides

What it can do

Runs on your computer; the tool list appears in your AI app after you install it.

Basic checksi

We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 20, 2026

  • ✓ Pass

    Maker matches the repo

    The registry name was verified with the GitHub account the-staq, which owns the repo

  • ✓ Pass

    Still maintained

    Code last changed yesterday

  • ✕ Fail

    Has a licence

    No licence file found in the repo

  • – Not applicable

    Endpoint responds

    This one runs on your computer; there is no internet endpoint

  • – Not applicable

    Sign-in with OAuth

    Runs on your computer and uses local settings instead

  • … Not checked yet

    No hidden instructions in tool descriptions

    Runs on your computer; we can only read tool lists from internet endpoints

Published vulnerabilities (OSV.dev)

No entries on OSV.dev for @the-staq/tradestaq-mcp@0.8.0

Checks only this package version, not every dependency · checked Nov 16, 2026

What we check → · JSON

Makers: ask for a re-check or report wrong info
For makers: add a badge to your README

If you made this, paste this code into your README. The badge links back to this page.

[![Featured on PopNx MCP](https://mcp.popnx.com/badge/the-staq-tradestaq-mcp.svg)](https://mcp.popnx.com/en/servers/the-staq-tradestaq-mcp)

Discussion

Ask, share a tip or report that it does not work. Sorted by what people marked helpful.

No posts yet. Be the first to ask or share.

Posts here are written by users, not the PopNx team.

Sign in to post

User reviews

No reviews yet

Sign in to write a review

Compared with others in Accounting, finance & taxi

  • More stars than 0% of the other 3448 servers in this category
  • Published to the registry more recently than 81% of the other 3448 servers in this category
  • Basic checks equal to or better than 52% of the other 3448 servers in this category

Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.

Common questions

Is Tradestaq MCP safe?

It passed 2 of 3 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.

What keys or codes does it need?

The registry does not list a required key, though some servers ask you to sign in on first use.

Does it run on my computer or in the cloud?

It runs on your computer. Your AI app starts it when needed, and data does not pass through the maker’s servers (unless it calls an online service itself).

Is it still maintained?

The GitHub repo last changed yesterday, and the latest version (0.8.0) reached the registry 8 days ago.

Which apps can use it?

Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. You also need Node.js on your computer.

What can I use instead?

In the same category: SolidInvoice, Journalit, Beancount.io, Tapetide - Indian Stock Market MCP, Twelve Data

Similar alternatives

Same category, other makers, commands already checked. Official ones first, then by stars.

Reading a card:↓ Downloads per weeki★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi

Journalit

Trading journal in Obsidian. Ask Claude or ChatGPT about your trades; edits are previewed first.

by CursivezGrowing★ 261Updated 12 days ago

Runs in the cloud✓ service owner · journalit.co

Beancount.io

Query, edit, and reconcile a hosted Beancount ledger: BQL, reports, files, and bank imports.

by bex-coGrowing★ 707 Stars for the whole repoUpdated last month

Runs in the cloud✓ service owner · beancount.io

Twelve Data

Real-time and historical market data: stocks, forex, crypto, ETFs, fundamentals and 60+ indicators.

by twelvedataGrowing★ 87Updated 16 days ago

Runs in the cloud✓ service owner · twelvedata.com
Compared with similar ones
This one
Tradestaq MCP
SolidInvoiceJournalitBeancount.ioTapetide - Indian Stock Market MCPTwelve Data
Runs whereInstalls on your computerRuns in the cloud, nothing to installRuns in the cloud, nothing to installRuns in the cloud, nothing to installCloud or install on your computerRuns in the cloud, nothing to install
Needs a keyNoNoNoNoYesNo
Add with + in ClaudeNoNoNoNoNoYes
Basic checks2/34/64/44/45/54/4
License–MITNOASSERTIONMITMIT–
PriceNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registry

README from the maker

Open the README

Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.

TradeStaq MCP Server

[Website](https://tradestaq.com) · [Docs](https://tradestaq.com/docs) · [MCP / AI Tools](https://tradestaq.com/mcp) · [Pricing](https://tradestaq.com/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" } } }

Option B: npx (recommended for local)

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)

Links

License

MIT