Skip to main content
Glama
tnngnc

Tastytrade MCP Server

by tnngnc

Tastytrade MCP Server

A server that provides access to Tastytrade historical price data via the Model Context Protocol (MCP).

Prerequisites

  • Tastytrade credentials (Client Secret, Refresh Token)

  • uv (Python package manager)

Related MCP server: MCP Yahoo Finance

Installation

This project uses uv to manage dependencies and ensure a consistent environment for all users.

  1. Clone the repository and navigate to the directory.

  2. Install the dependencies:

    uv sync

    This will create a .venv directory with the exact versions specified in uv.lock.

Configuration

It is not recommended to store credentials directly in your MCP client configuration file. Instead, this server is configured to load them automatically from the .env file located in the same directory as the script.

  1. Ensure you have created your .env file with your credentials:

    cp .env.example .env
    # Edit .env with your actual details
  2. Configure your MCP client (e.g., claude_desktop_config.json) with the command to run the server.

{
  "mcpServers": {
    "tastytrade": {
      "command": "/home/username/.pyenv/versions/data/bin/python",
      "args": [
        "/home/username/Desktop/projects/mcp_tasty/tastytrade_server.py"
      ]
    }
  }
}

Note: Since dependencies are now managed by the project, point the command to the .venv python if you want to use the lockfile environment, or just use uv as the command.

Recommended Configuration (using uv):

{
  "mcpServers": {
    "tastytrade": {
      "command": "uv",
      "args": [
        "run",
        "/home/username/Desktop/projects/mcp_tasty/tastytrade_server.py"
      ]
    }
  }
}

Available Tools

  • get_price_history(symbol, days=7, interval='1d'): Get historical candle data for a symbol (e.g., "SPY").

Testing

To run the test client using the project environment:

uv run test_client.py
Install Server
F
license - not found
B
quality
D
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    B
    quality
    D
    maintenance
    Provides real-time cryptocurrency price data from OKX exchange through a Model Context Protocol interface, allowing access to historical candlestick data and current market prices for any trading instrument.
    Last updated
    2
    30
    16
    MIT
  • F
    license
    B
    quality
    D
    maintenance
    Provides tools to get financial data (stock prices, company information) and generate financial visualizations through the Model Context Protocol.
    Last updated
    10
    11
  • F
    license
    -
    quality
    D
    maintenance
    Provides access to Tushare financial data through the Model Context Protocol, enabling users to query and retrieve Chinese stock market and financial information.
    Last updated
  • F
    license
    -
    quality
    D
    maintenance
    Provides financial data tools including stock prices, news, forex, fundamentals, and corporate actions via the Tiingo API through the Model Context Protocol.
    Last updated
    5

View all related MCP servers

Related MCP Connectors

  • Real-time & historical market data: forex, stocks, crypto, indices, metals, K-line, quotes

  • Twelve Data MCP: real-time & historical market data (stocks, crypto, forex, etc).

  • Provide access to Chinese stock market data including historical prices, real-time data, news, and…

View all MCP Connectors

Latest Blog Posts

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/tnngnc/mcp_tasty'

If you have feedback or need assistance with the MCP directory API, please join our Discord server