Track MCP LogoTrack MCP
Track MCP LogoTrack MCP

The world's largest repository of Model Context Protocol servers. Discover, explore, and submit MCP tools.

Product

  • Categories
  • Top MCP
  • New & Updated
  • Submit MCP

Company

  • About

Legal

  • Privacy Policy
  • Terms of Service
  • Cookie Policy

© 2026 TrackMCP. All rights reserved.

Built with ❤️ by Krishna Goyal

    Tasty Agent

    Let Claude manage your tastytrade portfolio.

    44 stars
    Python
    Updated Nov 4, 2025
    finance
    investing
    options
    stocks
    tastytrade
    trading

    Table of Contents

    • Authentication
    • MCP Tools
    • Account & Portfolio
    • Market Data & Research
    • History
    • Order Management
    • Watchlist Management
    • MCP Prompts
    • Usage
    • Local (stdio)
    • Remote (Modal)
    • Programmatic (Python client)
    • Examples
    • Development
    • License

    Table of Contents

    • Authentication
    • MCP Tools
    • Account & Portfolio
    • Market Data & Research
    • History
    • Order Management
    • Watchlist Management
    • MCP Prompts
    • Usage
    • Local (stdio)
    • Remote (Modal)
    • Programmatic (Python client)
    • Examples
    • Development
    • License

    Documentation

    tasty-agent: A TastyTrade MCP Server

    Trust Score

    A Model Context Protocol server for TastyTrade brokerage accounts. Enables LLMs to monitor portfolios, analyze positions, and execute trades. Features automated IV analysis prompts and built-in rate limiting (2 requests/second) to prevent API errors.

    Authentication

    OAuth Setup:

    1. Create an OAuth app at https://my.tastytrade.com/app.html#/manage/api-access/oauth-applications

    2. Check all scopes, save your client ID and client secret

    3. Create a "New Personal OAuth Grant" in your OAuth app settings (check all scopes)

    4. Copy the generated refresh token

    5. Configure the MCP server with your credentials (see Usage section below)

    MCP Tools

    Account & Portfolio

    • **account_overview(include=["balances","positions"])** - Account balances (including net liquidating value) and open positions.

    Market Data & Research

    • **get_quotes(instruments, timeout=10.0)** - Real-time quotes for stocks, options, futures, and indices via DXLink streaming
    • **get_greeks(options, timeout=10.0)** - Greeks (delta, gamma, theta, vega, rho) for options via DXLink streaming
    • **get_gex(symbol, expiration_date, timeout=60.0)** - Gamma Exposure analysis: net GEX, gamma regime, flip level, call/put walls, and top strikes
    • Intentionally returns compact analysis rather than raw full-chain per-strike data, to avoid oversized MCP responses on large option chains.
    • **get_market_metrics(symbols)** - IV rank, percentile, beta, liquidity for multiple symbols
    • **market_status(exchanges=['Equity'])** - Market hours, status, holidays, and current NYC time ('Equity', 'CME', 'CFE', 'Smalls')
    • **search_symbols(symbol, limit=10)** - Search for symbols by name/ticker

    History

    • **get_history(type, days=None, underlying_symbol=None, transaction_type=None, page_offset=0, limit=25)** - Transaction history (type="transactions", default 90 days) or order history (type="orders", default 7 days). Paginated — use page_offset and limit for large result sets. Filter transactions by "Trade" or "Money Movement".

    Order Management

    • **place_order(legs, target_value=None, chase=true, time_in_force="Day", dry_run=false)** - Place multi-leg orders with quote-derived mid pricing only. The tool fetches live quotes for the exact resolved instruments, computes the signed net mid, validates the final limit against bid/ask guardrails, and optionally sizes quantity from target_value.
    • target_value=50000 sizes an equity or equity-option order from quote-derived pricing. With target_value, leg quantity is a ratio and usually omitted/defaults to 1.
    • chase=true enables bounded repricing after placement: wait 10 seconds, check whether the order is still live, then recalculate from fresh exact-instrument quotes and move 1 valid price tick closer to fill. Defaults are 10 seconds, 10 reprices max, 1 tick per reprice.
    • Order actions follow the tastytrade Python SDK contract: equities and options use Buy to Open, Buy to Close, Sell to Open, or Sell to Close; futures use Buy or Sell.
    • **replace_order(order_id)** - Reprice an existing live order at the current quote-derived mid.
    • **cancel_order(order_id)** - Cancel an order.
    • **list_orders()** - Get all live orders.
    • Tool outputs are compact: quote tables include actionable bid/ask/mid/size fields; order results include compact order, buying-power, fee, warning/error, chase, and sizing summaries.

    Watchlist Management

    • **watchlist(action, ...)** - Unified watchlist management:
    • action="list" - No name returns compact watchlist metadata (name, group, symbol_count); with name, returns compact symbol entries.
    • action="add" - Add symbols to a watchlist (creates if doesn't exist)
    • action="remove" - Remove symbols from a watchlist
    • action="delete" - Delete a watchlist

    MCP Prompts

    • IV Rank Analysis - Automated prompt to analyze IV rank extremes across positions and watchlists for entry/exit opportunities

    Usage

    Local (stdio)

    Add to your MCP client configuration (e.g., claude_desktop_config.json):

    json
    {
      "mcpServers": {
        "tastytrade": {
          "command": "uvx",
          "args": ["tasty-agent"],
          "env": {
            "TASTYTRADE_CLIENT_SECRET": "your_client_secret",
            "TASTYTRADE_REFRESH_TOKEN": "your_refresh_token",
            "TASTYTRADE_ACCOUNT_ID": "your_account_id"
          }
        }
      }
    }

    Remote (Modal)

    Deploy as a remote MCP server on Modal with proxy auth:

    bash
    pip install modal && modal setup
    
    # Create secrets
    modal secret create tasty-agent-secrets \
      TASTYTRADE_CLIENT_SECRET=your_secret \
      TASTYTRADE_REFRESH_TOKEN=your_token
    
    # Create a proxy auth token at https://modal.com/settings/proxy-auth-tokens
    
    # Export your workspace host
    export MODAL_HOST=--tasty-agent-mcp-server.modal.run
    
    # Deploy
    modal deploy examples/modal_deploy.py

    Clients authenticate with Modal-Key and Modal-Secret headers. See [examples/modal_deploy.py](examples/modal_deploy.py).

    Tagged releases can also auto-deploy the Modal app. Configure these GitHub settings once:

    • secrets: MODAL_TOKEN_ID, MODAL_TOKEN_SECRET
    • variable: MODAL_HOST
    • optional variable: TASTY_AGENT_SECRET_NAME if you do not use the default tasty-agent-secrets

    After that, pushing a release tag like v4.1.2 will publish to PyPI and deploy Modal with tasty-agent==4.1.2.

    Programmatic (Python client)

    Connect to a remote tasty-agent and call tools directly:

    bash
    # List all tools
    uv run examples/mcp_client.py
    
    # Call a tool
    uv run examples/mcp_client.py market_status
    uv run examples/mcp_client.py get_market_metrics '{"symbols": ["AAPL", "SPY"]}'

    See [examples/mcp_client.py](examples/mcp_client.py) for the full client code.

    Examples

    code
    "Get my account balances and current positions"
    "What's my net liquidating value?"
    "Get real-time quotes for SPY and AAPL"
    "Get quotes for TQQQ C option with strike 100 expiring 2026-01-16"
    "Get Greeks for AAPL P option with strike 150 expiring 2024-12-20"
    "Show GEX analysis for SPY options expiring 2026-04-03"
    "Buy to open 100 AAPL shares at mid"
    "Buy to open 17 TQQQ calls, strike 100, exp 2026-01-16"
    "Buy $50K of TSLA calls, strike 300, exp 2026-01-16"
    "Buy TSLA calls, strike 300, exp 2026-01-16, and chase if not filled"
    "Place a call spread: buy to open AAPL 150C and sell to open AAPL 155C, both exp 2024-12-20"
    "Buy 1 /ESM26 future at mid"
    "Reprice order 12345 at mid"
    "Cancel order 12345"
    "Show my live orders"
    "Get my trading history from January"
    "Get my order history for SPY"
    "Get my private watchlists"
    "Add TSLA and NVDA to my tech watchlist"

    Development

    bash
    # Run tests
    uv run pytest
    
    # Interactive chat client (requires .env with credentials + OPENAI_API_KEY)
    uv run examples/chat.py
    
    # Background trading bot
    uv run examples/background.py "Check portfolio and rebalance" --hourly
    
    # Debug with MCP inspector
    npx @modelcontextprotocol/inspector uvx tasty-agent

    License

    MIT

    Similar MCP

    Based on tags & features

    • IS

      Isaac Sim Mcp

      Python·
      83
    • MA

      Mayamcp

      Python·
      27
    • BI

      Biothings Mcp

      Python·
      25
    • FH

      Fhir Mcp Server

      Python·
      55

    Trending MCP

    Most active this week

    • PL

      Playwright Mcp

      TypeScript·
      22.1k
    • SE

      Serena

      Python·
      14.5k
    • MC

      Mcp Playwright

      TypeScript·
      4.9k
    • MC

      Mcp Server Cloudflare

      TypeScript·
      3.0k
    View All MCP Servers

    Similar MCP

    Based on tags & features

    • IS

      Isaac Sim Mcp

      Python·
      83
    • MA

      Mayamcp

      Python·
      27
    • BI

      Biothings Mcp

      Python·
      25
    • FH

      Fhir Mcp Server

      Python·
      55

    Trending MCP

    Most active this week

    • PL

      Playwright Mcp

      TypeScript·
      22.1k
    • SE

      Serena

      Python·
      14.5k
    • MC

      Mcp Playwright

      TypeScript·
      4.9k
    • MC

      Mcp Server Cloudflare

      TypeScript·
      3.0k