TastyScanner MCP Server
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@TastyScanner MCP Serverscan for high IVR stocks"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
šÆ TastyScanner MCP Server
Let Claude trade options for you on TastyTrade
Features ⢠Quick Start ⢠Documentation ⢠Discord ⢠Sponsor
š¤ What is this?
TastyScanner MCP Server connects Claude, GPT, or any AI agent to your TastyTrade account via the Model Context Protocol.
Ask your AI assistant to:
"Scan the market for high IVR stocks"
"Build an Iron Condor on SPY with 30-45 DTE"
"Show my positions and P&L"
"Close my AAPL position at 50% profit"
Related MCP server: MCP Tiingo Server
⨠Features
Feature | Description |
š Market Scanner | Scan symbols for IVR, IV, beta, price, earnings dates |
šļø Strategy Builder | Auto-construct Iron Condors with POP, R:R, Greeks |
š Position Tracking | Real-time P&L, Greeks, days to expiration |
ā” Trade Execution | Place and close multi-leg options orders |
š Safety First | Live trading disabled by default, sandbox support |
š³ Docker Ready | One-command deployment |
šÆ Why TastyScanner?
TastyScanner | Other MCP Servers | |
Strategy Builder (Iron Condor auto-construction) | ā | ā |
POP Calculation (Probability of Profit) | ā | ā |
TypeScript (Node.js ecosystem) | ā | Python only |
Docker-first | ā | Manual setup |
Watchlist Management | ā | ā |
š Quick Start
Option 1: Docker (Recommended)
# Clone
git clone https://github.com/technet365/TastyScanner-MCP-Server.git
cd TastyScanner-MCP-Server
# Configure
cp .env.example .env
# Edit .env with your TastyTrade OAuth credentials
# Run
docker compose up -d
# Verify
curl http://localhost:7698/healthOption 2: Node.js
npm install
cp .env.example .env
npm run build
npm startConnect to Claude Desktop
Add to your claude_desktop_config.json:
{
"mcpServers": {
"tastytrade": {
"url": "http://localhost:7698/mcp"
}
}
}Architecture
āāāāāāāāāāāāāāāāāāāāāā āāāāāāāāāāāāāāāāāāāāāāā
ā Claude / GPT / ā ā TastyScanner-MCP ā
ā Any AI Agent āāā MCP āāā (port 7698) ā
āāāāāāāāāāāāāāāāāāāāāā HTTP āāāāāāāāāāāā¬āāāāāāāāāāā
ā
@tastytrade/api
ā
āāāāāāāāāāāā¼āāāāāāāāāāā
ā TastyTrade API ā
ā (WebSocket + REST) ā
āāāāāāāāāāāāāāāāāāāāāāāThe MCP server connects to TastyTrade using the official @tastytrade/api SDK
with OAuth authentication (client credentials + refresh token).
Quick Start
1. Configure credentials
cp .env.example .env
# Edit .env with your TastyTrade OAuth credentials2. Build and run
docker compose build
docker compose up -d
curl http://localhost:7698/health3. Connect to Claude Desktop
Add to claude_desktop_config.json:
{
"mcpServers": {
"tastytrade": {
"url": "http://localhost:7698/mcp"
}
}
}Available Tools
Tool | Description |
| Scan symbols for IVR, IV, beta, price, earnings |
| Build Iron Condor setups for a symbol |
| List current open positions with P&L |
| Place an options order (ā ļø real money) |
| Close an existing position |
| Adjust working order price for better fill |
| List pending/unfilled orders |
| Account balance and buying power |
| Check TastyTrade connection health |
| List personal and platform watchlists |
| Create, add to, remove from, or delete watchlists |
Tool Details
get_market_overview
Params: symbols?[], min_ivr?, min_price?, max_price?
Returns: [{symbol, price, ivr, iv, beta, earnings_date}] sorted by IVR descget_strategies
Params: symbol, min_dte?, max_dte?, min_delta?, max_delta?, wings?[], max_results?
Returns: [{strategy_name, expiry_date, dte, legs[], credit, max_profit, max_loss, rr_ratio, pop, theta, delta, wings, bpe}]get_positions
Params: (none)
Returns: [{position_id, symbol, strategy, legs[], entry_credit, current_value, pnl, pnl_percent, dte, opened_at}]execute_trade
Params: symbol, legs[{action, symbol, quantity}], limit_price, price_effect, time_in_force?, order_type?
Returns: {order_id, status, message}
ā ļø This places REAL orders with REAL money.close_position
Params: position_id, reason, limit_price?
Returns: {order_id, status, pnl_realized, message}adjust_order
Params: order_id, adjustment ('improve_fill' | 'custom'), custom_price?
Returns: {order_id, old_price, new_price, status, message}
ā ļø Requires ENABLE_LIVE_TRADING=trueget_working_orders
Params: (none)
Returns: [{order_id, symbol, status, price, price_effect, legs[]}]get_watchlists
Params: include_public? (default: true)
Returns: {personal: [{name, symbols[]}], platform: [{name, symbol_count}]}manage_watchlist
Params: action ('create' | 'add' | 'remove' | 'delete'), name, symbols?[]
Returns: {success, message}Development
Run locally (without Docker)
cd tastyscanner-mcp
npm install
# Copy env template and fill in credentials
cp .env.example .env
# Edit .env with your OAuth credentials
# Run with hot-reload
npm run dev
# Or build and run
npm run build
npm startTest with curl
# Initialize MCP session (add -H "Authorization: Bearer <token>" if MCP_AUTH_TOKEN is set)
curl -X POST http://localhost:7698/mcp \
-H "Content-Type: application/json" \
-H "Authorization: Bearer your-auth-token" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "initialize",
"params": {
"protocolVersion": "2025-03-26",
"capabilities": {},
"clientInfo": {"name": "test", "version": "1.0.0"}
}
}'
# Call a tool (use session-id from init response)
curl -X POST http://localhost:7698/mcp \
-H "Content-Type: application/json" \
-H "Authorization: Bearer your-auth-token" \
-H "mcp-session-id: <session-id>" \
-d '{
"jsonrpc": "2.0",
"id": 2,
"method": "tools/call",
"params": {
"name": "get_connection_status",
"arguments": {}
}
}'Environment Variables
Variable | Required | Default | Description |
| Yes | ā | TastyTrade OAuth Client ID |
| Yes | ā | TastyTrade OAuth Client Secret |
| Yes | ā | TastyTrade OAuth Refresh Token |
| No | auto | Account number (auto-detects first) |
| No |
|
|
| No |
| HTTP server port |
| No | ā | Bearer token for endpoint auth. If set, all |
| No |
|
|
| No |
| Set |
Security Notes
Authentication: Set
MCP_AUTH_TOKENin.envto require Bearer token auth on all/mcpendpoints. Without it, the server is open (backwards compatible but not recommended for production).Rate limiting: 120 requests/minute per IP on MCP endpoints.
CORS: Restricted to
MCP_CORS_ORIGIN(defaulthttp://localhost:3333).Credentials are passed via environment variables, never hardcoded.
execute_tradeandadjust_orderrequireENABLE_LIVE_TRADING=trueā disabled by default.Session IDs use
crypto.randomUUID()(cryptographically secure).Account numbers are masked in logs (last 4 digits only).
Do not expose port 7698 to the internet without auth enabled.
š Support the Project
If TastyScanner MCP Server saves you time or helps you trade better, consider supporting its development:
Sponsor Benefits
Tier | Benefits |
ā $5/mo | Support development, name in README |
š„ $15/mo | Early access to new features, priority support |
š„ $50/mo | Direct input on roadmap, 1:1 onboarding call |
š License
MIT Ā© 2024-2025 technet365
Made with ā¤ļø for the TastyTrade community
This server cannot be deployed
Maintenance
Related MCP Connectors
Unified financial infrastructure connecting AI agents directly to trade live/demo brokerage accounts, Web3 non-custodial wallets, real-time market data across equities, ETFs, crypto, forex, options, DeFi swaps, and prediction markets, institutional research feeds, and algorithmic strategy backtesters.
Agentic brokerage access to a US brokerage account: quotes, orders, positions, cash and documents.
Trade across 22+ exchanges and brokers from any MCP-capable AI agent, no install required.
- CPZAIOAuthcom.cpz-lab.mcp
Build, backtest, and deploy quantitative trading strategies from your AI agent.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceConnects your TastyTrade trading account to AI assistants like Claude Desktop and ChatGPT for conversational trading and portfolio management.5MIT
- FlicenseAqualityDmaintenanceProvides financial data tools including stock prices, news, forex, fundamentals, and corporate actions via the Tiingo API through the Model Context Protocol.115-
- AlicenseNot gradedqualityBmaintenanceEnables LLMs and agentic workflows to access real-time and historical stock market data through the Model Context Protocol.207MIT

Cuebook MCP Serverofficial
AlicenseNot gradedqualityAmaintenanceProvides market intelligence including asset search, market state, cues, events, and paper trading via the Model Context Protocol.MIT