MCP server reference

Engala for agents

Engala is a wardrobe app. Its MCP server lets an AI agent ask about one person's wardrobe, with that person's consent: outfit ideas from the clothes they own, what the wardrobe is missing, whether a piece they are about to buy makes sense, and the person's own pieces, saved outfits and wishlist, a page at a time. With a separate permission the person gives, the agent can also add things for them: pieces they own or bought (as drafts they confirm in the app), a wishlist save, or a trip. Adding never changes or removes anything already there, and its answers say nothing about what the wardrobe holds.

Server URL

https://mcp.engala.app/mcp

Transport
Streamable HTTP, stateless
Authorization
OAuth 2.1 with PKCE. No API key.
Tools
6 read, 4 add, 30 requests a minute
  • Connecting Engala to Claude for yourself? Engala in Claude has the one-button version.
  • Building a store's shopping agent? The store tools are a separate set, further down.

Quick start

  1. Point an MCP client at the server URL. A client that supports OAuth discovery and dynamic client registration needs nothing else: it registers itself, and there is no key to request from us.
  2. The person signs in. The client opens Engala's consent page. The person whose wardrobe it is signs in with their Engala account, reads what the agent will see, and allows or denies. Adding is a separate box on the same page, ticked by default; unticked, the connection is read-only. Prices are a second box, unticked by default.
  3. Call a tool. Start with check_purchase_fit: it runs on any Engala account, 10 times a month, and answers with a verdict.
POST to the server URL, with Authorization: Bearer and the access token
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "check_purchase_fit",
    "arguments": {
      "category": "shoes",
      "description": "brown suede ankle boots, low block heel",
      "color": "brown",
      "occasion": "casual"
    }
  }
}
The result's structuredContent (example values)
{
  "verdict": "adds_options",
  "reason": "This would go with plenty of what is already in this wardrobe and make new outfits.",
  "outfit_potential": "many",
  "similar_owned": "none",
  "pairs_with": [
    {
      "category": "bottoms",
      "color": "navy"
    },
    {
      "category": "tops",
      "color": "cream"
    }
  ],
  "closet_state": "ready",
  "basis": "category_coverage",
  "next_step": null
}

The same result carries a content text block in Markdown, for clients that show text only. To try it you need an Engala account with a wardrobe in it: Engala is an iPhone app, in beta through TestFlight. With too few pieces logged the verdict is not_enough_closet, not a guess.

Authorization

Flow
OAuth 2.1 authorization code with PKCE (S256 only), for public clients. No client secret.
Discovery
https://mcp.engala.app/.well-known/oauth-protected-resource (RFC 9728) and https://mcp.engala.app/.well-known/oauth-authorization-server (RFC 8414). A request without a valid token gets 401 with a pointer to the first.
Registration
Dynamic (RFC 7591): POST client_name and redirect_uris to /auth/register. The answer is a client_id for a public client.
Endpoints
/auth/authorize, /auth/token, /auth/revoke (RFC 7009), all on https://mcp.engala.app.
Scopes
closet:read for every person's token, closet:list for the list tools, closet:write for the add tools, and closet:value for prices in list_wardrobe. closet:list comes with every consent. Asking for none, or for closet:write, shows two boxes on the consent page: adding, ticked by default, and prices, unticked by default. Each scope is granted only if its box is ticked. Asking for closet:read alone connects read-only, with lists and without prices. The token response's scope says what was granted. A connection made before 1 December 2026 has no closet:list: the person reconnects once to list.
Tokens
Access tokens last 60 minutes. Refresh tokens last 30 days, are replaced each time they are used, and work only for the client they were issued to. One exception: a client whose redirect URIs are all on Google's OAuth redirect host keeps the same refresh token, and each use extends it to 30 days from then. An authorization code lasts 60 seconds.
Sending the token
Authorization: Bearer header on every POST. There is no session: each request stands alone, and the person's subscription and consent are read fresh on each one.
Without a token (checked live)
curl -i -X POST https://mcp.engala.app/mcp \
  -H "content-type: application/json" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'

HTTP/2 401
www-authenticate: Bearer realm="brummell-mcp", error="invalid_token",
  resource_metadata="https://mcp.engala.app/.well-known/oauth-protected-resource"

Tools

  • get_outfit_suggestions

    What can I wear, from what I own, for this occasion?

    Up to 5 outfits made of the person's own pieces, each with a reason. Engala+ or an active trial.

  • get_gap_fill_queries

    What is my wardrobe missing for this occasion, trip or capsule?

    Up to 5 missing categories, each with why it matters and, when one can be built, an outfit around it. Engala+ or an active trial.

  • check_purchase_fit

    Does this piece I am about to buy make sense with what I own?

    A verdict and one sentence. No wardrobe contents. Any account, 10 a month. No monthly limit with Engala+.

  • list_wardrobe

    What is in my wardrobe? Show me my black tops.

    The person's confirmed pieces, up to 50 a page, with a total and a cursor. Drafts, archived pieces and shop suggestions are left out. Any account. Needs closet:list.

  • list_saved_outfits

    Show me the outfits I have saved.

    The person's saved outfits, newest first, up to 50 a page, with a total and a cursor. Any account. Needs closet:list.

  • list_wishlist

    What is on my wishlist?

    The person's wishlist, newest first, up to 50 a page, with a total and a cursor. Any account. Needs closet:list.

Each read tool carries a title and the annotations readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: false. Inputs are strict: an unknown key is rejected before the tool runs. Results carry structuredContent matching the output schema and a Markdown content block. The list tools page with an opaque cursor: pass the last answer's next_cursor to get the next page, up to 50 at a time. Fields a tier or scope does not allow are left out, not sent as null.

get_outfit_suggestions

Title “Outfit Ideas & Fashion Advice”. Engala+ or an active trial.

Input

occasion
work | casual | evening | active | weekend | beach | otherRequired. What the outfit is for.
context
string, up to 280 charactersOptional, e.g. "client dinner, needs to look sharp but not stiff".
max_suggestions
integer 1 to 5, default 3How many outfits to return.

Output (structuredContent)

suggestions[]
up to 5One outfit each.
items[]
item_id, name, brand, category, image_url, is_ownedThe pieces in the outfit, confirmed pieces only (drafts are left out). image_url is a picture of the garment, never of the person. is_owned false marks a catalog piece the user does not own.
reasoning
stringWhy the combination works.
occasion, weather_relevant, is_editorial
enum, boolean, boolean
archetype_match
minimal | classic | athleisure | trendy | streetwear | romantic | boho | relaxed_casualA label, never a score.
source
catalog | personal | mixed
gap_fill
{ item_id, category } or nullSet when exactly one catalog piece completes an otherwise owned outfit.
log_this_outfit
{ label, deep_link, outfit_fingerprint }A link into the app's own wear-log confirmation. The server never writes the log.

get_gap_fill_queries

Title “Closet Gaps & Capsule Wardrobe Planning”. Engala+ or an active trial.

Input

occasion
work | casual | evening | active | weekend | beach | otherRequired. What the gap analysis is for.
context
string, up to 280 charactersOptional.
max_gaps
integer 1 to 5, default 3How many gaps to return.

Output (structuredContent)

gaps[]
up to 5One missing category each.
category
stringThe missing piece, e.g. "structured blazer".
reason
stringWhy it matters for the occasion.
example_outfit
{ items[], log_this_outfit } or nullPresent only when a full outfit can be built around the gap. Items carry the same fields as above.

check_purchase_fit

Title “Second Look Before You Buy”. Any account, 10 a month. No monthly limit with Engala+.

Input

category
tops | bottoms | dresses | outerwear | shoes | bags | accessoriesRequired.
description
string, 3 to 200 charactersRequired, e.g. "brown suede ankle boots, low block heel".
color
string, up to 40 charactersOptional.
occasion
work | casual | evening | active | weekend | beach | otherOptional.

Output (structuredContent)

verdict
fills_gap | adds_options | similar_owned | not_enough_closet
reason
string, up to 240 charactersOne sentence the assistant can say aloud.
outfit_potential
none | few | manyBanded, never a count.
similar_owned
none | one | severalBanded, never a count.
pairs_with[]
up to 3 of { category, color or null }Category and colour family only.
closet_state
empty | pre_m2 | ready
basis
category_coverage | outfit_scorerWhich engine gave the verdict. Today always category_coverage (src/mcp/handlers/purchaseCheck.ts).
next_step
{ label, url } or null

list_wardrobe

Title “My Wardrobe”. Any account. Needs closet:list.

Input

search
string, up to 80 charactersOptional. Words in the piece's name or brand.
category
tops | bottoms | dresses | outerwear | shoes | bags | accessoriesOptional.
color
string, up to 40 charactersOptional, e.g. "navy".
limit
integer 1 to 50, default 25How many to return in this page.
cursor
string, up to 64 charactersOptional. The next_cursor from the previous page. Leave it out for the first page.

Output (structuredContent)

pieces[]
up to 50One piece each.
name, brand, category, color, size
string or null
picture_url
string or nullA picture of the garment, never of the person.
wear_count, last_worn
integer, YYYY-MM-DD or nullOnly for Engala+ or an active trial.
price_paid, currency
number or null, string or nullOnly with closet:value.
cost_per_wear
number or nullOnly for Engala+ or an active trial, with closet:value.
total
integerHow many match, across all pages.
next_cursor
string or nullPass it as cursor for the next page; null on the last page.

list_saved_outfits

Title “My Saved Outfits”. Any account. Needs closet:list.

Input

limit
integer 1 to 50, default 25How many to return in this page.
cursor
string, up to 64 charactersOptional. The next_cursor from the previous page. Leave it out for the first page.

Output (structuredContent)

outfits[]
up to 50One outfit each.
name, occasion
string or null
created_at
ISO 8601When it was saved or made.
pieces[]
name, picture_urlConfirmed pieces only.
total
integerHow many match, across all pages.
next_cursor
string or nullPass it as cursor for the next page; null on the last page.

list_wishlist

Title “My Wishlist”. Any account. Needs closet:list.

Input

limit
integer 1 to 50, default 25How many to return in this page.
cursor
string, up to 64 charactersOptional. The next_cursor from the previous page. Leave it out for the first page.

Output (structuredContent)

pieces[]
up to 50One piece each.
name, brand
string or null
price, currency
number or null, string or nullThe price the shop listed when it was saved.
product_url, picture_url
string or nullA picture taken by the person in a shop is withheld.
saved_at
ISO 8601 or null
total
integerHow many match, across all pages.
next_cursor
string or nullPass it as cursor for the next page; null on the last page.

Add tools

These need closet:write, work on any Engala account and run within daily limits. Each one only adds to the person's own account, never changes or removes what is there, and answers with counts or a confirmation, never wardrobe contents. Pieces arrive in the app as drafts: nothing joins the wardrobe until the person confirms it. Send what you already know from the conversation; do not go looking in a mailbox or browsing history unless the person asked you to.

  • add_items_to_closet

    Add these pieces I own or just bought to my wardrobe.

    How many pieces were sent to the app as drafts for review, and how many could not be sent, with general reasons. Nothing about what the wardrobe already holds.

  • save_to_wishlist

    Save this piece to my wishlist.

    Whether it is on the wishlist now. Nothing about the wishlist or the wardrobe.

  • create_trip

    I am going on a trip: plan my packing.

    Whether the trip is in the app now. The app builds the packing list from the wardrobe when the person opens the trip. No packing list and nothing about the wardrobe comes back.

  • add_piece_from_photo

    Add this piece in the photo I shared to my wardrobe.

    The same answer as add_items_to_closet. Nothing about what the wardrobe already holds.

    Listed only to ChatGPT connections, which pass a shared photo as a file. Not available yet: until it is, it answers that adding from a photo is not available, and nothing is sent.

Each add tool carries the annotations readOnlyHint: false, destructiveHint: false, idempotentHint: true, openWorldHint: false, so a client may ask the person before it runs. Repeating a call adds nothing new: the app recognises a piece, a saved link or a trip it already has, and the answer does not say which. The full schema of every tool is in the server's tools/list.

add_items_to_closet

Title “Add Pieces to My Wardrobe”. Any account. Needs closet:write.

Input

items[]
1 to 20Required. One entry per piece.
name
string, up to 200 charactersRequired. What the piece is, e.g. "navy wool overcoat".
brand, color, size, retailer
stringsOptional, where known.
price, currency
number, ISO 4217 codeOptional. What was paid for one.
image_url, product_url
public https linksOptional. The app later downloads the picture and checks it like any other photo.
order_id, order_date
string, YYYY-MM-DDOptional. Let the app recognise a piece it has already received.
qty
integer 1 to 20Optional.
status
kept | returned | cancelled | unknownOptional. Returned and cancelled pieces are not added.

Output (structuredContent)

sent_for_review
integerPieces sent to the app as drafts. Includes pieces it had already received, which are not added twice, so the count never says what is owned.
not_sent
integer
not_sent_reasons[]
not_clothing | returned_or_cancelled | over_daily_limitGeneral reasons, never per piece.
summary
string, up to 500 charactersOne or two sentences the assistant can say aloud.
send_rest_from
YYYY-MM-DD or nullWhen pieces were held back by a limit, the first day (UTC) they can be sent.
next_step
{ label, url } or nullA link that opens the drafts in the app, when something was sent.

save_to_wishlist

Title “Save to My Wishlist”. Any account. Needs closet:write.

Input

item
objectRequired. One piece per call.
item.name
string, up to 200 charactersRequired.
item.product_url, item.image_url
public https linksAt least one of the two is required.
item.brand, item.color
stringsOptional, where known.
item.price, item.currency
number, ISO 4217 codeOptional. Its price, if shown.
item.category
tops | bottoms | dresses | outerwear | shoes | bags | accessoriesOptional.

Output (structuredContent)

saved
booleanAlso true for a repeat that added nothing, so it never says what was there already.
next_step
string, up to 300 charactersOne sentence the assistant can say aloud.

create_trip

Title “Plan a Trip's Packing”. Any account. Needs closet:write.

Input

trip
objectRequired.
trip.destination_name
string, up to 120 charactersRequired, e.g. "Lisbon".
trip.start_date, trip.end_date
YYYY-MM-DDRequired. At most 30 days, not already over, starting within two years.
trip.destination_country
two-letter country codeOptional, e.g. "PT".
trip.lat, trip.lng
numbersOptional, both or neither. Used only if the place name is not found.
trip.title
string, up to 80 charactersOptional.
trip.luggage
carry_on | checkedOptional.

Output (structuredContent)

created
booleanAlso true for a repeat that added nothing, so it never says what was there already.
next_step
string, up to 300 charactersOne sentence the assistant can say aloud.

add_piece_from_photo

Title “Add a Piece From a Photo”. Any account. Needs closet:write.

Input

photo
{ download_url, file_id, mime_type, file_name }Required. The shared file, as the client passes it.
name
string, up to 200 charactersRequired. A short name for the piece.
brand, color
stringsOptional.

Output (structuredContent)

sent_for_review, not_sent, not_sent_reasons[], summary, send_rest_from, next_step
as add_items_to_closet

send_feedback_to_engala

Title “Send Feedback to Engala”. Any signed-in person, on any account, with or without closet:write, within a daily limit. Annotations readOnlyHint: false, destructiveHint: false, idempotentHint: false, openWorldHint: false.

Send this feedback to Engala. Call it only when the person asks. Whether the note reached the team, and one sentence to say. Only the person's own note is sent, never the conversation or the wardrobe.

Input

category
problem | wrong_answer | idea | otherRequired.
note
string, 1 to 1000 charactersRequired. The person's own words.
about_tool
a consumer tool nameOptional. Which tool the note is about.

Output (structuredContent)

received
boolean
next_step
string, up to 300 characters

The purchase-check card

On a connection with closet:write, from a client that shows MCP Apps components (Claude among them), check_purchase_fit declares a card at ui://cards/purchase-check-v1.html (text/html;profile=mcp-app). After an answered check it shows the verdict line and two buttons, “Save to Engala” and “Add to wardrobe”. Each button posts a message in the person's name (ui/message), and the model then calls save_to_wishlist or add_items_to_closet with the usual checks. The card holds no product data and calls no tool itself. Clients that do not show components get the same answer as text.

Prompts

The server also lists up to 8 prompts. Each one only seeds a message that names a tool, so it reads and adds nothing by itself; the tool it names keeps its own scope and account checks. import_past_purchases is listed only to Claude clients.

  • plan_capsule_wardrobe

    Outfits the person can already make, then the gaps.

    Title “Plan a Capsule Wardrobe”. Arguments: occasion, context (optional).

  • dress_for_event

    One outfit for one event, with a reason.

    Title “Dress for an Event”. Arguments: event, occasion (optional).

  • event_prep_with_shopping_list

    An outfit first, then anything worth adding.

    Title “Event Prep + Shopping List”. Arguments: event, occasion.

  • whats_in_my_wardrobe

    The wardrobe a page at a time, through list_wardrobe.

    Title “Show me what's in my wardrobe”. Arguments: none.

  • add_recent_purchase

    One piece, from a link or a description, through add_items_to_closet.

    Title “Add Something I Just Bought”. Arguments: piece.

  • import_past_purchases

    Order emails, read through the assistant's own mail connection, sent as drafts. Listed only to Claude.

    Title “Import My Past Purchases”. Arguments: years_back (optional, 1 to 5, default 2).

  • save_for_later

    One piece to the wishlist, through save_to_wishlist.

    Title “Save for Later”. Arguments: piece.

  • plan_trip_packing

    A trip in the app, through create_trip.

    Title “Pack for a Trip”. Arguments: destination, dates.

Limits and errors

Rate limit
30 requests a minute per signed-in person, counted across every client they have connected.
Answer size
At most 5 outfits or 5 gaps per call. The list tools return up to 50 a page, with a cursor for the next. The add tools and the list tools also have daily limits per person.
Free accounts
10 purchase checks a calendar month (UTC). A check that fails on our side is not counted.
Terms
Use of this server is covered by Engala's Terms of Service (brummell.tech/terms). Connecting here, within these limits, is the supported way for an agent to work with a person's wardrobe. Signing in to the app or site with someone's password, scraping it, or using answers to train or benchmark a competing product or AI model is not allowed.
  • HTTP 401

    invalid_token

    No token, an expired or revoked token, or the person has withdrawn consent.

    The WWW-Authenticate header points to the discovery document. Refresh the token, or send the person through sign-in again.

  • HTTP 403

    insufficient_scope

    A person's token without closet:read.

    Authorize again and ask for the scope.

  • HTTP 429

    rate_limited

    More than 30 requests in a minute for one person, or 20 for one store.

    Wait a minute. Nothing was lost or changed.

  • Call rejected

    invalid arguments

    An unknown key, a missing required field or a value outside the schema.

    Rejected before the tool runs, never a partial answer. Every input schema advertises additionalProperties: false.

  • Tool result, isError

    plain text

    An outfit tool called for an account without Engala+ or an active trial, or the 10 free purchase checks of the calendar month (UTC) are used up.

    HTTP 200 with one plain sentence the agent can pass on to the person.

  • Tool result, isError

    plain text

    An add tool called on a connection without closet:write: one made before adding existed, or one where the person left adding unticked.

    Nothing is added. One sentence tells the person how to reconnect and allow adding. The read tools keep working.

  • Tool result, isError

    plain text

    A list tool called on a connection without closet:list: one made before 2026-12-01.

    Nothing is read. One sentence asks the person to disconnect and reconnect once. Everything else keeps working.

An empty or thin wardrobe is not an error. The outfit tools say so in plain text, and check_purchase_fit answers not_enough_closet with a next_step link the person can follow.

What is never returned

  • With the person's consent, an agent can read the person's own list of pieces (confirmed ones only: name, brand, category, colour, size, picture of the garment), saved outfits and wishlist, a page at a time, on any account; wear counts and last worn only for Engala+ accounts, and price paid and cost per wear only when the person ticks a separate box (closet:value). Engala+ also unlocks the outfit and gap tools and unlimited purchase checks.
  • The two outfit tools return the person's own pieces (name, brand, category, picture link) to the person's own agent, a handful of outfits at a time.
  • check_purchase_fit returns a verdict, not wardrobe contents: no item ids, names, brands or pictures, and bands (none, few, many) instead of counts.
  • Never returned by any tool: style vectors or embeddings, style-graph weights, the person's per-style aesthetic scores, Try-On photos or other photos of the person, order numbers, anything taken from the person's emails, or anyone else's data.
  • The add tools answer with counts or a confirmation only: never whether a piece was already in the wardrobe, and no ids, names or pictures of anything stored.
  • No tool changes or removes anything already in the wardrobe, and none logs what was worn. Logging a worn outfit happens in the Engala app, through the log_this_outfit link the person opens and confirms.
  • What the person typed for a purchase check (description, color) is used for that answer only and is not stored.

What the person is told before they allow access is on Engala in Claude and in the privacy policy.

For a store's own shopping agent

A store running Engala for Merchants can let its own shopping agent ask Engala about the store's catalog: what goes with a product, a size hint, a try-on link. It is the same server URL with a different grant and a different set of tools. A store's token never lists the person's tools above, and a person's token never lists these four.

Not self-serve today. Engala for Merchants is in pilot, and store credentials are switched on by Engala one store at a time. Write to support@brummell.tech if you want them for your store.

Grant
OAuth client credentials at /auth/token, with the store's client id and secret (HTTP Basic or in the body). One client per store.
Token
Lasts 60 minutes. No refresh token: ask for a new one.
Scopes
store:pairings, store:coverage, store:fit, store:tryon. One per tool; a token lists only the tools its scope covers. Asking for none grants all four.
Rate limit
20 requests a minute per store.
  • get_pairings_for_product

    “Complete the Look”

    What goes with this product?

    Up to 3 looks built from the store's own products. A slot filled from the shopper's wardrobe carries a category label only.

    product_ref, session_ref, occasion (optional), max_looks 1 to 3 (default 2), shopper_token (optional)

  • get_owned_items_summary

    “Wardrobe Fit for This Store”

    How does this shopper's wardrobe relate to this store or this product?

    A level per category (none, some, plenty) and a wardrobe-match summary.

    session_ref, product_ref (optional), shopper_token (optional)

  • get_fit_signals

    “Which Size to Pick”

    Which size should this shopper pick?

    One size hint with a confidence level, or no basis. Never the shopper's list of sizes or a body measurement.

    product_ref, session_ref, shopper_token (optional)

  • start_try_on

    “See It On You”

    Can I see this on me?

    A link that opens the store's own try-on sheet on that product. The tool makes no image and spends no try-on allowance.

    product_ref, session_ref, look_id (optional), shopper_token (optional)

On every store tool result

consent_tier
none | coverage | pairing | imageryHow much of the shopper's wardrobe this store may use.
closet_state
none | empty | pre_m2 | readynone: no connected wardrobe. empty: connected, nothing logged. pre_m2: too thin for wardrobe-aware answers. ready: wardrobe-aware.
link_url
string or nullAn Engala page where the shopper can connect their wardrobe to this store. Show it, never open it.
improves_with
string or nullOne sentence on what would make the answer better.
  • session_ref is the agent's own opaque session id, 8 to 128 characters. Never a shopper's name or email.
  • Without a shopper who has connected Engala to that store, answers use the store's catalog only.
  • A store's agent never receives a shopper's item names, brands, pictures or item ids, their email or any account id, or wear and purchase history. The server checks every result for those fields before it leaves.
  • All four are read-only, with the same annotations as the read tools above.

Contact

Questions, a client that will not connect, or store credentials: support@brummell.tech.

Checked against the server on .