### Initialize Local Development Environment Source: https://github.com/allsxxing/fantasyx-mcp/blob/main/README.md Clone the repository and install dependencies to run the server locally. ```bash git clone https://github.com/allsxxing/fantasyx-mcp.git cd fantasyx-mcp npm install npm run dev ``` -------------------------------- ### Configure Claude Desktop for FantasyX Source: https://github.com/allsxxing/fantasyx-mcp/blob/main/README.md Add the FantasyX MCP server to the Claude Desktop configuration file. ```json { "mcpServers": { "fantasyx": { "type": "http", "url": "https://fantasyx-mcp.vercel.app/api/mcp" } } } ``` -------------------------------- ### Add MCP Server via CLI Source: https://github.com/allsxxing/fantasyx-mcp/blob/main/README.md Register the FantasyX MCP server using the Claude CLI. ```bash claude mcp add --transport http https://fantasyx-mcp.vercel.app/api/mcp ``` -------------------------------- ### Project Development and Maintenance Commands Source: https://github.com/allsxxing/fantasyx-mcp/blob/main/CLAUDE.md Standard npm scripts for building, testing, validating, and syncing league data. ```bash npm run dev # build:content, then next dev — public at :3000/api/mcp npm run build # prebuild runs build-content.mjs, then next build npx tsc --noEmit # typecheck npm test # node --experimental-strip-types --test test/*.test.mjs — pure-function # unit tests (currently rules-sections.ts); content itself is validated # separately via `npm run validate`, not unit-tested npm run validate # validate-content.mjs — every content file vs its JSON Schema npm run build:content # content/ → src/generated/content.ts (bundled; never read at runtime) npm run import:icloud # RE-SYNC path for rules: edit source doc, run this, commit the diff npm run sync:sleeper # walk previous_league_id chain → seasons/*.json + managers.json # (champions, roster diffs, draft, draft order). Also runs on a schedule # via .github/workflows/sync-sleeper.yml — validate gates every commit. ``` -------------------------------- ### Execute Development Scripts Source: https://github.com/allsxxing/fantasyx-mcp/blob/main/README.md Run utility scripts for content compilation, validation, and data synchronization. ```bash # Useful scripts npm run build:content # compile content/ → generated module npm run validate # schema validation on every content file npm run sync:sleeper # refresh seasons + champions from Sleeper API npm run import:icloud # re-sync rules from source document ``` -------------------------------- ### Project Directory Structure Source: https://github.com/allsxxing/fantasyx-mcp/blob/main/README.md Overview of the project file organization and responsibilities. ```text content/ → single source of truth (Markdown + JSON) scripts/ → build-content, validate, sync-sleeper, import src/app/page.tsx → League HQ landing page (Server Component) src/app/api/mcp → public Streamable HTTP endpoint src/app/api/admin → bearer-protected admin endpoint src/tools/ → tool registration (content + sleeper + admin) src/lib/content → typed accessors over build-time generated module ``` -------------------------------- ### RTJ Follow-Up DM Template Source: https://github.com/allsxxing/fantasyx-mcp/blob/main/content/chat-templates/rtj-followup.md Use this template in a direct message to confirm interest and provide league details to a user who requested to join. ```text YO! What’s good!? Saw your Request To Join on 🏈10 FOR $10❌ Quick rundown: <<🏆 LEAGUE>> • 10 Squads • $10 Buy-In • Winner Takes All • Custom ❌-Factor rules <<📊 DRAFT>> Tentative: Sun, Sept 6 @ 5PM CT <<🖥️ LEAGUE HQ>> Full rules + details → 🔗 fantasyx.allsxxing.com <<💰 DUES>> Buy-in is $10 through LeagueSafe: 🔗 https://www.leaguesafe.com/join/4429630/10-for-10 (SleeperSafe will be added once available) Still down? Let me know. ``` -------------------------------- ### LeagueSafe Pinned Message Template Source: https://github.com/allsxxing/fantasyx-mcp/blob/main/content/chat-templates/leaguesafe-message.md A formal Markdown template for league announcements. Use this version specifically for LeagueSafe-related pins to maintain a clean, professional appearance. ```markdown **ANNOUNCEMENT: WELCOME!** YOOO! Tap-in to the NFL Fantasy League, [10 FOR $10X](https://sleeper.com/i/kMgwLBWeYeXdk) **THE RUNDOWN** **<< LEAGUE >>** + Teams: 10 Squads + Type: Re-Draft **<< LEAGUE HQ / MCP SERVER >>** Link: [https://fantasyx-mcp.vercel.app](https://fantasyx-mcp.vercel.app) **<< DRAFT >>** + Draft Date: Sun, Sept 6 @ 5:00 PM CT (Tentative) + Type: Snake + Time Per Pick: 90 Secs + Draft Order: Randomized **<< FEES / DUES >>** + Buy-in: $10 + Deadline: 9/9 7:20PM + Platform: SleeperSafe + BONUS/MULTIPLIER: *TBD + Deadline: 10/1/26 + Platform: LeagueSafe Link: [https://www.leaguesafe.com/join/4429630/10-for-10](https://www.leaguesafe.com/join/4429630/10-for-10) NOTE: USE LeagueSafe ONLY **Pay-Up Punishment Enforced!** UNPAID Buy-In = FULL Roster Lock UNPAID BONUS/MULTIPLIER = Limited Waivers; vetoable by League **<< PRIZING >>** + Prize Pot: WINNER TAKE ALL! + Final pot scales w/ League-voted Multiplier **<< INFO >>** + Scoring: Sleeper PPR + Waivers: Rolling Waivers + League Rules/Setup: [see League HQ](https://fantasyx-mcp.vercel.app) ``` -------------------------------- ### Sleeper Custom Note Template Source: https://github.com/allsxxing/fantasyx-mcp/blob/main/content/chat-templates/public-note.md Use this template when posting a league publicly to ensure it fits within character limits. ```text <<🏆 10 TEAMS | 💰 $10 BUY-IN>> Full rules & rundown → fantasyx.allsxxing.com ``` -------------------------------- ### League Content Source Path Source: https://github.com/allsxxing/fantasyx-mcp/blob/main/CLAUDE.md The primary local directory containing the league's corpus of documents. ```text ~/Library/Mobile Documents/com~apple~CloudDocs/🎰PICK$!/🏆FANTASY!/ ``` -------------------------------- ### Roster Poll Choices Source: https://github.com/allsxxing/fantasyx-mcp/blob/main/content/chat-templates/roster-poll.md Options for the poll configuration. ```text 🔄 Convert 1 BN → 3rd FLEX ``` ```text 🔄 Convert 1 BN → SuperFLEX ``` ```text 🪑 Keep the EXTRA Bench (Total: 8 BN) ``` ```text 💬 Other idea: 👇 Drop it below ``` -------------------------------- ### Poll Body Template Source: https://github.com/allsxxing/fantasyx-mcp/blob/main/content/chat-templates/x-multiplier-poll.md Use this text in the chat input field to initiate the poll. ```text 🗳️ THE ❌ VOTE — SET THE BAG 🗳️ How much skin we putting in this year? Higher multiplier = bigger winner bag. League decides the skin in the game. Current Payment Method: LeagueSafe Note: Each of the above TOTALS include the $10 buy-in. ``` -------------------------------- ### Roster Poll Body Template Source: https://github.com/allsxxing/fantasyx-mcp/blob/main/content/chat-templates/roster-poll.md Use this text in the chat input field to initiate the poll. ```text 🗳️ ROSTER SHAKE-UP VOTE 🗳️ Last season we added an EXTRA Bench spot (now sitting at 8 BN). Time to decide what we do with it before the draft drops. 🗳️ Get that vote locked in! ``` -------------------------------- ### Poll Choice Templates Source: https://github.com/allsxxing/fantasyx-mcp/blob/main/content/chat-templates/x-multiplier-poll.md These represent the individual voting options for the multiplier poll. ```text 1❌ — $10 (remains the same; covered by $10 buy-in) ``` ```text 2.5❌ — $25 ``` ```text 5❌ — $50 ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.