MCP Server Setup Guide

TradeStaq's MCP server can run locally via npx or connect to the remote server at mcp.tradestaq.com. This guide covers setup for Claude Desktop, Cursor, and Claude Code.

Two Connection Methods

MethodCommand / URLPros
npx (local)npx @the-staq/tradestaq-mcpWorks offline after first install, faster response
Remote URLhttps://mcp.tradestaq.com/mcpNo install, always up to date

Claude Desktop

Option A: npx (recommended)

Open your Claude Desktop configuration file:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json

Add the TradeStaq server:

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

Restart Claude Desktop. You should see TradeStaq tools appear in the tool list.

Option B: Remote URL

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

Cursor

Option A: npx

Open Cursor Settings (Cmd+Shift+P or Ctrl+Shift+P), search for "MCP", and add a new server:

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

Option B: Remote URL

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

Claude Code

Option A: npx

Run the following command in your terminal:

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

Option B: Remote URL

claude mcp add --transport http tradestaq https://mcp.tradestaq.com/mcp

Verifying the Connection

Once configured, ask your AI client:

"What TradeStaq tools are available?"

The AI should list 31 tools across categories like market data, portfolio management, bot deployment, and more.

First Steps After Setup

  1. Authenticate — Say "Log me in to TradeStaq" and follow the prompts
  2. Check your portfolio — "Show me my portfolio balances"
  3. Explore strategies — "What trading strategies are available?"
  4. Run a backtest — "Backtest GhostRider on BTC/USDT for the last 30 days"

Next Steps