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: trueon prepare tools and pass anownerthat matches that key’s address. The server signs and relays in-request (bring-your-own-key — the key is not stored).
Write flow (Account Abstraction)
- Call a prepare tool (
create_squad,commit_squad_changes, and similar). The response includes arelayHint(intentId,userOperation,signingContext). - Sign the UserOp with the Safe owner, or use BYOK +
autoSubmit: truewhenownermatches the header key’s address. - Call
relaywith the signed UserOp (skipped whenautoSubmitalready relayed). - Optionally poll
get_user_operation_receipt.
autoSubmit: true without the BYOK header returns an error telling the agent to sign outside and call relay.
Tools
Reads
Writes / Account Abstraction
Player refs accept names (preferred) or hex ids.
Example agent flows
Create a squad
get_league— sizes, budget,boostersConfigsuggest_squad— optionalstrategy(formdefault)validate_squad— optional sanity checkcreate_squad— same lineup plussquadName/owner(andautoSubmitif using BYOK)
Make transfers
get_squad— lineup, boosters, budget, transfer allowancesuggest_transfer_ins(orsearch_players+suggest_transfer_outs)commit_squad_changeswithplayerOuts,playerIns, and optionalboosters
autoSubmit pays a bundler gas estimate — multi-step create + transfer loops are slower by design.