Developers

The fitting room over MCP

AvatarFit is a remote MCP server over Streamable HTTP (stateless, JSON responses). Any assistant that takes a custom connector can use it.

Tools and the wearable record
Address
https://getavatarfit.com/fitting-room
Key
Authorization: Bearer af_…, cut for free at /key. A key is also the shopper’s wardrobe: twins belong to the key they were granted to.

Quickstart

Both calls go to this site’s fitting room. Paste the key you cut at /key in place of af_…. A made-up key is refused.

curl -s https://getavatarfit.com/fitting-room \
  -H 'content-type: application/json' \
  -H 'accept: application/json, text/event-stream' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'
curl -s https://getavatarfit.com/fitting-room \
  -H 'content-type: application/json' \
  -H 'accept: application/json, text/event-stream' \
  -H 'Authorization: Bearer af_…' \
  -d '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"browse_shop","arguments":{"shop_id":"IndieTeeLab"}}}'

Tools

ToolKeyDoes
browse_shopnoListings of a fitting-room shop (Etsy shop name or number), each marked ready or not for a fitting.
preview_on_avataryesAn indicative PNG of one listing on the avatar. Held pieces return no picture. The avatar is never changed.
invite_shopnoRecords an invite for an Etsy shop that isn’t in the fitting room (etsy.com/shop/… address).
link_etsy_purchasesyesA one-time link for the shopper to connect Etsy; past purchases from fitting-room shops become twins.
buy_listingyesThe Etsy listing to buy, and a purchase that waits for the shop’s sale (“being cut”).
open_wardrobeyesConfirms waiting purchases, lists twins (worn, in the wardrobe, returned after a refund), and returns equip records for worn twins.
wear_twinyesPuts a twin on and returns its equip record.

Twins and equip records

Back to the fitting room