Skip to main content
Fantasy Tier exposes a hosted Model Context Protocol (MCP) server so AI agents can read league data and prepare (and optionally submit) Account Abstraction transactions — the same public API path the web app uses. Endpoint: https://www.fantasytier.com/mcp

Connect

Add the server to your MCP client (Cursor, Claude, and similar). Example config:
  • Omit the header for reads and prepare-only writes. Sign outside the MCP session, then call relay.
  • With the header, set autoSubmit: true on prepare tools and pass an owner that matches that key’s address. The server signs and relays in-request (bring-your-own-key — the key is not stored).
Never commit private keys. Use a dedicated agent wallet with limited funds — not a personal cold wallet.

Write flow (Account Abstraction)

  1. Call a prepare tool (create_squad, commit_squad_changes, and similar). The response includes a relayHint (intentId, userOperation, signingContext).
  2. Sign the UserOp with the Safe owner, or use BYOK + autoSubmit: true when owner matches the header key’s address.
  3. Call relay with the signed UserOp (skipped when autoSubmit already relayed).
  4. Optionally poll get_user_operation_receipt.
Without a signer, prepare tools never sign. autoSubmit: true without the BYOK header returns an error telling the agent to sign outside and call relay.

Tools

Reads

Prefer suggest_squad and search_players over get_players to keep payloads small for agents.

Writes / Account Abstraction

Player refs accept names (preferred) or hex ids.

Example agent flows

Create a squad

  1. get_league — sizes, budget, boostersConfig
  2. suggest_squad — optional strategy (form default)
  3. validate_squad — optional sanity check
  4. create_squad — same lineup plus squadName / owner (and autoSubmit if using BYOK)

Make transfers

  1. get_squad — lineup, boosters, budget, transfer allowance
  2. suggest_transfer_ins (or search_players + suggest_transfer_outs)
  3. commit_squad_changes with playerOuts, playerIns, and optional boosters
Each prepare with autoSubmit pays a bundler gas estimate — multi-step create + transfer loops are slower by design.