Tastytrade MCP Server
Click on "Install 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., "@Tastytrade MCP Serverget the price history for SPY for the last 5 days"
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.
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.
Clone the repository and navigate to the directory.
Install the dependencies:
uv syncThis will create a
.venvdirectory with the exact versions specified inuv.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.
Ensure you have created your
.envfile with your credentials:cp .env.example .env # Edit .env with your actual detailsConfigure 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.pyMaintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Tools
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- 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/tnngnc/mcp_tasty'
If you have feedback or need assistance with the MCP directory API, please join our Discord server