tasty-agent logo

tasty-agent

by ferdousbhai

tasty-agent is a Model Context Protocol (MCP) server designed to interact with TastyTrade brokerage accounts. It allows Large Language Models to monitor portfolios, analyze positions, and execute trades through the TastyTrade platform.

View on GitHub

Last updated: N/A

What is tasty-agent?

tasty-agent is an MCP server that acts as an interface between Large Language Models (LLMs) and the TastyTrade brokerage platform. It enables LLMs to access account data, analyze market conditions, and execute trades automatically.

How to use tasty-agent?

First, install Python 3.12 and the uv package manager. Then, install and run tasty-agent using uvx tasty-agent. Authenticate with your TastyTrade credentials using uvx tasty-agent setup. Configure Claude Desktop to use the server by adding the provided configuration to claude_desktop_config.json. Use the provided tools (Portfolio Management, Trade Management, Market Analysis) through the LLM interface.

Key features of tasty-agent

  • Portfolio monitoring and analysis

  • Trade execution (buy/sell)

  • Scheduled trades

  • Market data retrieval (prices, metrics)

  • Integration with Claude Desktop

Use cases of tasty-agent

  • Automated portfolio management based on LLM analysis

  • AI-powered trading strategies

  • Real-time market analysis and trade recommendations

  • Integration with LLM-based financial advisors

FAQ from tasty-agent

What are the prerequisites for using tasty-agent?

You need Python 3.12, the uv package manager, and a TastyTrade account.

How do I authenticate with TastyTrade?

Run uvx tasty-agent setup and follow the prompts to securely store your credentials in your system's keyring.

Will scheduled trades execute if Claude Desktop is closed?

No, scheduled trades will only execute while Claude Desktop is running. The server shuts down when Claude Desktop is closed.

How can I debug the server?

Use the MCP inspector with the command npx @modelcontextprotocol/inspector uvx tasty-agent. Check the logs in the specified directories for macOS and Windows.

What kind of trades can I schedule?

You can schedule 'Buy to Open' or 'Sell to Close' trades for stocks and options. You can also specify the quantity, underlying symbol, strike price, option type, and expiration date (for options).