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
| Method | Command / URL | Pros |
|---|---|---|
| npx (local) | npx @the-staq/tradestaq-mcp | Works offline after first install, faster response |
| Remote URL | https://mcp.tradestaq.com/mcp | No 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
- Authenticate — Say "Log me in to TradeStaq" and follow the prompts
- Check your portfolio — "Show me my portfolio balances"
- Explore strategies — "What trading strategies are available?"
- Run a backtest — "Backtest GhostRider on BTC/USDT for the last 30 days"
Next Steps
- Tools Reference — Full list of available tools
- Authentication — How tokens and login work
- HTTP Transport — Self-hosting and remote server details
- Troubleshooting — Common setup issues