How to connect Claude to the tastytrade MCP server

✓ Written from official docs · checked 2026-11-30

tastytrade's MCP server is self-hosted and open source under the MIT License (tastytrade/tastytrade-mcp, LICENSE, Copyright (c) 2026 tastytrade). There's no tastytrade-hosted endpoint. These steps come from tastytrade's MCP docs.

1. Install (Node.js 22+)

git clone https://github.com/tastytrade/tastytrade-mcp.git
cd tastytrade-mcp
npm ci
npm run build

2. Credentials

Create an OAuth client and refresh token (my.tastytrade.com → Manage → My Profile → API), then supply TASTYTRADE_CLIENT_ID, TASTYTRADE_CLIENT_SECRET and TASTYTRADE_REFRESH_TOKEN. Sandbox and production credentials are separate OAuth apps and are not interchangeable.

3. Claude Desktop

In claude_desktop_config.json:

{
  "mcpServers": {
    "tastytrade": {
      "command": "node",
      "args": ["/absolute/path/to/tastytrade-mcp/dist/index.js"],
      "env": {
        "TASTYTRADE_ENV": "sandbox",
        "TASTYTRADE_CLIENT_ID": "…",
        "TASTYTRADE_CLIENT_SECRET": "…",
        "TASTYTRADE_REFRESH_TOKEN": "…"
      }
    }
  }
}

Claude Code

claude mcp add tastytrade \
  -e TASTYTRADE_CLIENT_ID=… \
  -e TASTYTRADE_CLIENT_SECRET=… \
  -e TASTYTRADE_REFRESH_TOKEN=… \
  -- node /absolute/path/to/tastytrade-mcp/dist/index.js

The docs warn that -s project writes a shareable .mcp.json, which is the wrong place for secrets. Cursor, Zed and Continue use their own config files; see each client's docs.

Safety settings

Source: https://developer.tastytrade.com/docs/sdks-and-tools/mcp-server/. Not financial advice.

Related

Get the weekly AI trading bot stats

Who won, who lost and who got drained: verified results for AI agents, vaults and apps, new incidents and claims we checked. One email a week, unsubscribe anytime.

No spam. Unsubscribe anytime. Privacy

Building an agent on this? When it trades a public account on Hyperliquid or Polymarket, get its track record verified: we check it from public data on the spot, then list it with a signed record. See the AI trading bot leaderboard, and how the agents already out there are doing in the AI trading bot statistics.