TradeStaq MCP
OfficialServer Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| logging | {} |
| prompts | {
"listChanged": true
} |
| resources | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| loginB | Log in to TradeStaq with email and password. |
| authenticateA | Log in to TradeStaq via browser. Opens a login page in your browser — you authenticate there and the token is saved automatically. No credentials enter the chat. Scope controls what the agent can do: "mcp:read" (view-only research agents), "mcp:paper" (paper-trade bots, safe default — cannot touch live money), "mcp:live" (full access including live-money deploys, live exchange connections, and wallet charges). Scopes are hierarchical: live implies paper implies read. When in doubt, pick paper first — the server returns 403 insufficient_scope if the agent tries a live action, and the user can always re-authorize with a broader scope. |
| check_authA | Preflight check before invoking other tools. Returns the authenticated user, OAuth scope on the current token (mcp:read / mcp:paper / mcp:live), tier capabilities (allowLiveTrading, allowAIBuilder, allowNewsTrading, allowMcpServer), Strategy Lab wallet balance (for cost-charging tools like generate_strategy), and the OAuth client name/expiry. Agents should call this at the start of a workflow to pick the narrowest scope needed and to surface cost/balance to the user before committing to a charge. Response is cached server-side for 30s per token. |
| set_tokenC | Manually set a JWT token. For advanced use only. |
| connect_exchangeA | Connect a new exchange account via browser. Opens a page where you securely enter your exchange API keys. Keys never enter the chat. |
| logoutB | Remove stored TradeStaq credentials. |
| get_priceB | Get the current price of a trading pair (e.g. BTC/USDT). |
| get_candlesC | Get OHLCV candlestick data for a trading pair. |
| list_exchangesA | List your connected exchange accounts with their IDs, platform names, and status. |
| create_paper_exchangeA | Create a paper-trading exchange with a simulated balance. No API keys required. Paper exchanges let agents test strategies, deploy bots, and place trades without risking real money. Recommended starting point for first-time users and any scope=mcp:paper workflow. Requires OAuth scope mcp:paper or mcp:live. Session-cookie users (dashboard) can always call this. |
| search_marketsA | Search for trading pairs on a specific exchange. Use list_exchanges to find your exchange IDs. |
| get_portfolioA | Get portfolio overview: total balance, exchanges, and active bots. |
| get_positionsA | Get all open trading positions with current PnL. |
| list_strategiesB | List available trading strategies. |
| get_strategyB | Get detailed info about a specific strategy. |
| explain_strategyA | Get a plain-English explanation of a strategy: what it does, risk profile, best market conditions. |
| compare_strategiesC | Compare multiple strategies side by side on key metrics. |
| create_strategyC | Create a new trading strategy from TradeDroid code. |
| generate_strategyB | Generate a trading strategy from a natural language description using AI. Describe what you want and AI creates the TradeDroid code. |
| what_if_backtestA | Run a backtest on a strategy. Async, may take 30-120 seconds. Returns full performance metrics. |
| get_backtest_resultsA | Check status/results of a previously started backtest. |
| export_backtestA | Get export links for a completed backtest. Returns CSV and PDF download URLs. |
| list_botsA | List all your trading bots with status and performance. |
| get_bot_statusC | Get detailed status and performance for a specific bot. |
| deploy_botA | Deploy a strategy as a trading bot. Defaults to paper trading for safety. |
| stop_botB | Stop a running trading bot. Open positions remain. |
| export_bot_tradesB | Export a bot's trade history as structured data. Returns all trades with PnL, entry/exit prices, and performance summary. |
| close_positionB | Close an open trading position. WARNING: This executes a market order to close your position. |
| get_trade_historyB | Get your closed trade history with PnL, entry/exit prices, and duration. |
| get_performance_metricsB | Get trading performance metrics: ROI, win rate, PnL, Sortino ratio. |
| list_top_tradersA | Browse the leaderboard of top-performing traders you can copy. |
| follow_traderA | Subscribe to copy a top trader's trades. WARNING: This commits capital to copy trading. |
| suggest_strategiesA | Suggest trading strategies matching your risk profile. Filters by risk tolerance, max drawdown, preferred assets, and minimum Sharpe ratio. |
| get_market_contextB | Get market context for a symbol: trend direction, volatility level, support/resistance levels. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
| trading-assistant | A trading assistant that helps manage your portfolio and positions. |
| strategy-builder | A strategy building assistant for creating, backtesting, and deploying strategies. |
| portfolio-reviewer | A portfolio analyst that reviews positions, trade history, and performance to identify improvements. |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| portfolio | Current portfolio: balances, positions, and active bots across all exchanges. |
| bots | All trading bots with current status, PnL, and strategy info. |
| strategies | Available trading strategies with performance metrics. |
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/the-staq/tradestaq-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server