Hallowgrain

A remote MCP server in TypeScript with OAuth sign-in, on a fictional furniture catalog. Add the URL to your assistant and ask for a walnut sideboard.

Server URL

Try it

What the designer says

“Find me a walnut sideboard under 180 cm wide for under $4,000.”

What the assistant calls

find_pieces({category: "sideboard",materials: ["walnut"],width: { max: 180 },unit: "cm",price: { max: 4000 },currency: "USD"})

1,085 tokens for 3 matches and 4 near misses

Counted with o200k_base on this response; 113 per match.

What comes back

  • Front elevation of the credenza in walnut with sliding doors, drawn to scale on a 10 cm grid

    Credenza in walnut with sliding doors

    about $3,850listed at EUR 3,550

    Ilse Varnholt · Ostkamm Galerie, Berlin

    W 176 × D 45 × H 78 cm 69.3 × 17.7 × 30.7 in

    walnut veneer on oakin stockships in 1 week

  • Front elevation of the mid-century buffet in walnut, drawn to scale on a 10 cm grid

    Mid-century buffet in walnut

    $2,450listed in USD

    attributed to Dorothy Kessenwick · Corvane Gallery, Hudson, New York

    W 162.6 × D 45.7 × H 78.7 cm 64 × 18 × 31 in

    walnut veneer on birchin stockships in 2 weeks

  • Front elevation of the tambour-door sideboard in solid walnut, drawn to scale on a 10 cm grid

    Tambour-door sideboard in solid walnut

    $3,200listed in USD

    Marrowfield Studio, Portland, Oregon

    W 150 × D 46 × H 76 cm 59.1 × 18.1 × 29.9 in

    solid walnutmade to order8 weeks

To one scale, widest at the back: 3 matches and the near miss on width.
  1. 1Credenza in walnut with sliding doorsfits: 176 cm (69.3 in) wide, 4 cm to spare
  2. 2Mid-century buffet in walnutfits: 162.6 cm (64 in) wide, 17.4 cm to spare
  3. 3Tambour-door sideboard in solid walnutfits: 150 cm (59.1 in) wide, 30 cm to spare
  4. 4Long credenza in solid walnutover: 180.3 cm wide (listed as 71 in), 3 mm over

The overhang past the line is drawn wider than scale so that it can be seen.

3 more near misses, not drawn
  • Compact server in walnut and brassMisses on price: about $4,640 (listed at GBP 3,650), about $640 over
  • Sideboard in oak with cane doorsMisses on materials: solid oak with cane, not walnut
  • Sideboard in beech with a walnut finishMisses on materials: solid beech with a walnut finish, not walnut wood

Connect it to your assistant

The server speaks the Model Context Protocol over HTTPS and signs you in with OAuth. Checked end to end with the official TypeScript client and the MCP Inspector, and connected from inside Claude as a custom connector; not yet from inside ChatGPT. The steps below are each assistant's own path for adding a server by its URL.

In Claude

  1. Open Customize, then Connectors.
  2. Choose Add, then Add custom connector.
  3. Paste the server URL from the top of this page.
  4. Choose Connect, and pick a sample designer on the sign-in page.

In ChatGPT

Add it as a custom MCP server with the same URL, then sign in and pick a sample designer. ChatGPT asks for developer mode first, and which plans have it is ChatGPT's own rule.

The sign-in accepts the client documents Claude and ChatGPT publish, and both of ChatGPT's documented return addresses. That is what a script can check.

The sign-in page, in small. Open a preview of the real one.

The sign-in page names the app that is asking and where it will return you, lists what it will be able to do, and offers two sample designers. There is no password and no email field: nothing personal is collected.

Whose return addresses are accepted today: Claude, ChatGPT, and clients that run on your own machine and return to a local address, such as the MCP Inspector. A client that returns to any other host, or to a custom scheme as some editors do, is refused by design in this sample; allowing one is a line in the list of accepted return addresses.

The nine tools

Each tool is one thing a designer wants done, not one endpoint of the platform behind it. Every tool returns a short summary and a structured answer with a declared schema. A field a tool does not have is refused by name, never ignored, and a wrong argument is answered with what to send instead. Open a row for its inputs and a recorded call. The calls were recorded on one sign-in: the six that read first, on the sample project as it starts, then save, swap and remove, each reporting the total it leaves.

Built in TypeScript on the official MCP SDK, version 2, as a Next.js route on Vercel, with the mock platform behind it as its own service. The source is available on request.

Measured, not estimated: the nine definitions cost an assistant 6,451 tokens up front, the walnut request 1,085, and a default page of 8 results 1,364, about 116 per match. Counted with o200k_base, the GPT-4o family's tokenizer, on 2026-12-03; other models count a little differently.

Find · Search the way a designer asks.

find_piecesSearch by what the piece is, what it is made of, how big it can be and what it can cost, in one call.read

Inputs

query?: string
Free words to match in the title, maker or gallery, e.g. "tambour doors". A whole sentence works too: sizes with a unit ("under 180 cm wide") and prices with a currency ("under $4,000") are read into the fields below; a field given directly wins.
category?: string
What kind of piece: sideboard, dining table, dining chair, lounge chair, sofa, coffee table, lamp, bookcase. Trade synonyms work: credenza, buffet and server all search the sideboard family.
materials?: string[]
Materials the piece is made of, e.g. ["oak"]. Several are read as any of them, the way a designer lists woods ("walnut or oak"). Solid wood and veneer both match; a stain or "walnut finish" on another wood does not.
materials_match?: "any" | "all" = "any"
"any": made of at least one of materials. "all": made of every one, e.g. "walnut and brass".
width?: { min, max }
An inclusive range in unit. "Under 220 cm wide" is width {max: 220} with unit "cm".
depth?: { min, max }
An inclusive range in unit. "No deeper than 45 cm" is depth {max: 45} with unit "cm".
height?: { min, max }
An inclusive range in unit. "At least 30 in high" is height {min: 30} with unit "in".
unit?: "cm" | "in"
Unit of width, depth and height. Required whenever one of them is given; never guessed.
price?: { min, max }
Inclusive price range in currency. Listings in other currencies are compared at a dated sample rate.
currency?: "USD" | "EUR" | "GBP" | "DKK"
Currency of price and of the prices shown. USD when left out.
maker?: string
Maker or designer name, full or surname.
gallery?: string
Gallery, studio or dealer that lists the piece, by name, e.g. "Corvane Gallery".
period?: string
A decade ("1960s"), a year ("1955"), a range ("1950-1970") or "contemporary".
location?: string
City or country the piece ships from, e.g. "Copenhagen" or "United Kingdom".
availability?: "in_stock" | "made_to_order" | "any" = "any"
"any" means in stock or made to order. Sold pieces are never returned.
max_lead_time_weeks?: integer
Longest acceptable wait before the piece ships.
sort?: "relevance" | "price_asc" | "price_desc" | "width_asc" | "width_desc" | "lead_time" = "relevance"
Order of the matches. "relevance" puts pieces in stock first, then the shorter wait, then the lower price.
limit?: integer = 8
Results per page: 8 by default, 20 at most.
cursor?: string
next_cursor from the previous page of the same search.

Needs the catalog:read scope.

A sample call and what came back

find_pieces({category: "sideboard",materials: ["walnut"],width: { max: 180 },unit: "cm",price: { max: 4000 },currency: "USD"})

3 pieces match. 1. hg-sb-01 Credenza in walnut with sliding doors (credenza), about $3,850 (listed at EUR 3,550), in stock, ships in 1 week 2. hg-sb-03 Mid-century buffet in walnut (buffet), $2,450, in stock, ships in 2 weeks 3. hg-sb-02 Tambour-door sideboard in solid walnut (sideboard), $3,200, made to order, 8 weeks 4 near misses, each failing one limit: - hg-sb-04 Long credenza in solid walnut: 180.3 cm wide (listed as 71 in), 3 mm over - hg-sb-05 Compact server in walnut and brass: about $4,640 (listed at GBP 3,650), about $640 over - hg-sb-06 Sideboard in oak with cane doors: solid oak with cane, not walnut - hg-sb-07 Sideboard in beech with a walnut finish: solid beech with a walnut finish, not walnut wood Shipping is not included.

{
  "matches": [
    {
      "id": "hg-sb-01",
      "title": "Credenza in walnut with sliding doors",
      "listed_as": "credenza",
      "maker": "Ilse Varnholt",
      "gallery": "Ostkamm Galerie, Berlin",
      "price": "about $3,850 (listed at EUR 3,550)",
      "size": "W 176 cm (69.3 in) x D 45 cm (17.7 in) x H 78 cm (30.7 in)",
      "material": "walnut veneer on oak",
      "period": "1960s",
      "availability": "in stock, ships in 1 week"
    },
    {
      "id": "hg-sb-03",
      "title": "Mid-century buffet in walnut",
      "listed_as": "buffet",
      "maker": "attributed to Dorothy Kessenwick",
      "gallery": "Corvane Gallery, Hudson, New York",
      "price": "$2,450",
      "size": "W 162.6 cm (64 in) x D 45.7 cm (18 in) x H 78.7 cm (31 in)",
      "material": "walnut veneer on birch",
      "period": "1950s",
      "availability": "in stock, ships in 2 weeks"
    },
    {
      "id": "hg-sb-02",
      "title": "Tambour-door sideboard in solid walnut",
      "listed_as": "sideboard",
      "maker": "Marrowfield Studio",
      "gallery": "Marrowfield Studio, Portland, Oregon",
      "price": "$3,200",
      "size": "W 150 cm (59.1 in) x D 46 cm (18.1 in) x H 76 cm (29.9 in)",
      "material": "solid walnut",
      "period": "contemporary",
      "availability": "made to order, 8 weeks"
    }
  ],
  "total": 3,
  "next_cursor": null,
  "applied_filters": {
    "category": "sideboard (also listed as credenza, buffet, server)",
    "materials": "walnut (solid or veneer; a walnut finish on another material does not count)",
    "width": "up to 180 cm (70.9 in), inclusive",
    "price": "up to $4,000, inclusive, before shipping",
    "availability": "in stock or made to order"
  },
  "near_miss_total": 4,
  "near_misses": [
    {
      "id": "hg-sb-04",
      "title": "Long credenza in solid walnut",
      "misses": "width",
      "by": "180.3 cm wide (listed as 71 in), 3 mm over",
      "price": "$3,600",
      "size": "W 180.3 cm (71 in) x D 48.3 cm (19 in) x H 76.2 cm (30 in)"
    },
    {
      "id": "hg-sb-05",
      "title": "Compact server in walnut and brass",
      "misses": "price",
      "by": "about $4,640 (listed at GBP 3,650), about $640 over",
      "price": "about $4,640 (listed at GBP 3,650)",
      "size": "W 112 cm (44.1 in) x D 44 cm (17.3 in) x H 82 cm (32.3 in)"
    },
    {
      "id": "hg-sb-06",
      "title": "Sideboard in oak with cane doors",
      "misses": "materials",
      "by": "solid oak with cane, not walnut",
      "price": "about $2,600 (listed at EUR 2,400)",
      "size": "W 118 cm (46.5 in) x D 42 cm (16.5 in) x H 80 cm (31.5 in)"
    },
    {
      "id": "hg-sb-07",
      "title": "Sideboard in beech with a walnut finish",
      "misses": "materials",
      "by": "solid beech with a walnut finish, not walnut wood",
      "price": "about $1,130 (listed at GBP 890)",
      "size": "W 160 cm (63 in) x D 45 cm (17.7 in) x H 75 cm (29.5 in)"
    }
  ],
  "relaxations": [],
  "drawings": "https://hallowgrain-platform.vercel.app/d/{id}.svg?w=480",
  "note": "Prices are listing prices. Shipping, tax and trade discounts are not included. Converted figures use sample rates dated 2026-12-01."
}

1,085 tokens for this response

shortlist_for_briefTurn a client brief (room, style, size, budget) into two or three fitting pieces per category, with a running total.read

Inputs

room: string
The room being furnished, e.g. "dining room", "living room", "study".
style?: string[] = []
Style words from the brief, e.g. ["warm modern"], ["mid-century", "scandinavian"].
room_size?: { length, width, unit }
Floor dimensions. Used to rule out pieces that would not leave room to walk around.
budget: number
Total budget for the room.
currency?: "USD" | "EUR" | "GBP" | "DKK" = "USD"
Currency of budget and of the costs shown.
needs?: string[]
Kinds of piece wanted. Leave out to use what the room normally needs. Options: sideboard, dining table, dining chair, lounge chair, sofa, coffee table, lamp, bookcase.
location?: string
Only pieces that ship from this city or country.

Needs the catalog:read scope.

A sample call and what came back

shortlist_for_brief({room: "dining room",style: ["warm modern"],room_size: {length: 4.2,width: 3.6,unit: "m"},budget: 18000,currency: "USD"})

Shortlist for the dining room: first picks come to about $11,870 of $18,000, about $6,130 left. dining table: hg-dt-08 Trestle dining table in rosewood (about $4,190); hg-dt-01 Round-cornered table in ash ($4,000); hg-dt-09 Trestle dining table in oak and brass (about $2,930) dining chair: hg-dc-07 Dining chair with arms in walnut and leather (6 for $2,220); hg-dc-15 Side chair in cherry and leather (6 for about $2,100); hg-dc-01 Dining chair in beech and leather (6 for $1,680) sideboard: hg-sb-16 Server in white oak ($4,300); hg-sb-12 Sideboard in ash with linen-fronted doors (about $4,800); hg-sb-01 Credenza in walnut with sliding doors (about $3,850) lamp: hg-lp-08 Column table lamp in brass and steel (about $1,160); hg-lp-02 Floor lamp in walnut and steel ($940); hg-lp-09 Table lamp in oak and linen ($380) Shipping is not included.

{
  "room": "dining room",
  "shortlist": [
    {
      "category": "dining table",
      "set_aside": "$5,684",
      "picks": [
        {
          "id": "hg-dt-08",
          "title": "Trestle dining table in rosewood",
          "quantity": 1,
          "cost": "about $4,190",
          "size": "W 200 cm (78.7 in) x D 90 cm (35.4 in) x H 75 cm (29.5 in)",
          "why": "mid-century, warm modern; 200 cm (78.7 in) long leaves 110 cm clear at each end; about $4,190 (listed at GBP 3,300), inside the $5,684 set aside"
        },
        {
          "id": "hg-dt-01",
          "title": "Round-cornered table in ash",
          "quantity": 1,
          "cost": "$4,000",
          "size": "W 240 cm (94.5 in) x D 85 cm (33.5 in) x H 73 cm (28.7 in)",
          "why": "scandinavian, warm modern; 240 cm (94.5 in) long leaves 90 cm clear at each end; $4,000, inside the $5,684 set aside"
        },
        {
          "id": "hg-dt-09",
          "title": "Trestle dining table in oak and brass",
          "quantity": 1,
          "cost": "about $2,930",
          "size": "W 195 cm (76.8 in) x D 90 cm (35.4 in) x H 74 cm (29.1 in)",
          "why": "warm modern, art deco; 195 cm (76.8 in) long leaves 113 cm clear at each end; about $2,930 (listed at EUR 2,700), inside the $5,684 set aside"
        }
      ]
    },
    {
      "category": "dining chair",
      "set_aside": "$5,684",
      "picks": [
        {
          "id": "hg-dc-07",
          "title": "Dining chair with arms in walnut and leather",
          "quantity": 6,
          "cost": "$2,220",
          "size": "W 48.3 cm (19 in) x D 55.9 cm (22 in) x H 82.6 cm (32.5 in)",
          "why": "warm modern, minimal; 6 at $370 each, inside the $5,684 set aside"
        },
        {
          "id": "hg-dc-15",
          "title": "Side chair in cherry and leather",
          "quantity": 6,
          "cost": "about $2,100",
          "size": "W 56 cm (22 in) x D 49 cm (19.3 in) x H 78 cm (30.7 in)",
          "why": "warm modern, minimal; 6 at about $350 (listed at EUR 320) each, inside the $5,684 set aside"
        },
        {
          "id": "hg-dc-01",
          "title": "Dining chair in beech and leather",
          "quantity": 6,
          "cost": "$1,680",
          "size": "W 47 cm (18.5 in) x D 55 cm (21.7 in) x H 86 cm (33.9 in)",
          "why": "scandinavian, warm modern; 6 at $280 each, inside the $5,684 set aside"
        }
      ]
    },
    {
      "category": "sideboard",
      "set_aside": "$4,737",
      "picks": [
        {
          "id": "hg-sb-16",
          "title": "Server in white oak",
          "quantity": 1,
          "cost": "$4,300",
          "size": "W 129.5 cm (51 in) x D 45.7 cm (18 in) x H 87.6 cm (34.5 in)",
          "why": "craft, warm modern; 129.5 cm (51 in) wide fits the 4.2 m wall; $4,300, inside the $4,737 set aside"
        },
        {
          "id": "hg-sb-12",
          "title": "Sideboard in ash with linen-fronted doors",
          "quantity": 1,
          "cost": "about $4,800",
          "size": "W 150 cm (59.1 in) x D 45 cm (17.7 in) x H 72 cm (28.3 in)",
          "why": "scandinavian, minimal, warm modern; 150 cm (59.1 in) wide fits the 4.2 m wall; about $4,800 (listed at DKK 33,000), about $63 over the $4,737 set aside"
        },
        {
          "id": "hg-sb-01",
          "title": "Credenza in walnut with sliding doors",
          "quantity": 1,
          "cost": "about $3,850",
          "size": "W 176 cm (69.3 in) x D 45 cm (17.7 in) x H 78 cm (30.7 in)",
          "why": "mid-century, warm modern; 176 cm (69.3 in) wide fits the 4.2 m wall; about $3,850 (listed at EUR 3,550), inside the $4,737 set aside"
        }
      ]
    },
    {
      "category": "lamp",
      "set_aside": "$1,895",
      "picks": [
        {
          "id": "hg-lp-08",
          "title": "Column table lamp in brass and steel",
          "quantity": 1,
          "cost": "about $1,160",
          "size": "W 30 cm (11.8 in) x D 30 cm (11.8 in) x H 52 cm (20.5 in)",
          "why": "mid-century, warm modern; about $1,160 (listed at GBP 910), inside the $1,895 set aside"
        },
        {
          "id": "hg-lp-02",
          "title": "Floor lamp in walnut and steel",
          "quantity": 1,
          "cost": "$940",
          "size": "W 33 cm (13 in) x D 33 cm (13 in) x H 160 cm (63 in)",
          "why": "warm modern, brutalist; $940, inside the $1,895 set aside"
        },
        {
          "id": "hg-lp-09",
          "title": "Table lamp in oak and linen",
          "quantity": 1,
          "cost": "$380",
          "size": "W 26 cm (10.2 in) x D 26 cm (10.2 in) x H 57 cm (22.4 in)",
          "why": "scandinavian, warm modern; $380, inside the $1,895 set aside"
        }
      ]
    }
  ],
  "estimated_total": "about $11,870",
  "budget_left": "about $6,130",
  "skipped": [],
  "drawings": "https://hallowgrain-platform.vercel.app/d/{id}.svg?w=480",
  "note": "Prices are listing prices. Shipping, tax and trade discounts are not included. Converted figures use sample rates dated 2026-12-01."
}

1,638 tokens for this response

Decide · Put candidates side by side.

get_spec_sheetPull full specs and image links at stated pixel sizes for up to five pieces, for a mood board or a tear sheet.read

Inputs

piece_ids: string[]
1 to 5 ids from a search result, e.g. ["hg-sb-01"].
include_images?: boolean = true
Set to false when only the specs are needed; the image links are left out.
currency?: "USD" | "EUR" | "GBP" | "DKK" = "USD"
Currency of the prices shown.

Needs the catalog:read scope.

A sample call and what came back

get_spec_sheet({piece_ids: ["hg-sb-02"]})

hg-sb-02 Tambour-door sideboard in solid walnut: Marrowfield Studio; Marrowfield Studio, Portland, Oregon, United States; W 150 cm (59.1 in) x D 46 cm (18.1 in) x H 76 cm (29.9 in); solid walnut; $3,200; made to order, 8 weeks.

{
  "pieces": [
    {
      "id": "hg-sb-02",
      "title": "Tambour-door sideboard in solid walnut",
      "listed_as": "sideboard",
      "maker": "Marrowfield Studio",
      "gallery": "Marrowfield Studio",
      "ships_from": "Portland, Oregon, United States",
      "price": "$3,200",
      "size": "W 150 cm (59.1 in) x D 46 cm (18.1 in) x H 76 cm (29.9 in)",
      "size_as_listed": "W 150 x D 46 x H 76 cm",
      "material": "solid walnut",
      "period": "contemporary",
      "origin": "United States",
      "styles": [
        "warm modern",
        "craft",
        "minimal"
      ],
      "condition": "New, made to order in the studio.",
      "provenance": null,
      "availability": "made to order, 8 weeks",
      "images": [
        {
          "url": "https://hallowgrain-platform.vercel.app/d/hg-sb-02.svg?w=480",
          "format": "svg",
          "width": 480,
          "height": 360
        },
        {
          "url": "https://hallowgrain-platform.vercel.app/d/hg-sb-02.png?w=800",
          "format": "png",
          "width": 800,
          "height": 600
        },
        {
          "url": "https://hallowgrain-platform.vercel.app/d/hg-sb-02.png?w=1600",
          "format": "png",
          "width": 1600,
          "height": 1200
        }
      ]
    }
  ],
  "unknown_ids": [],
  "note": "Prices are listing prices. Shipping, tax and trade discounts are not included. Converted figures use sample rates dated 2026-12-01."
}

394 tokens for this response

compare_piecesPut two to four pieces side by side and call out what differs: width, price, lead time, material.read

Inputs

piece_ids: string[]
2 to 4 ids, in the order to show them.
currency?: "USD" | "EUR" | "GBP" | "DKK" = "USD"
Currency of the prices compared.

Needs the catalog:read scope.

A sample call and what came back

compare_pieces({piece_ids: ["hg-sb-01", "hg-sb-03"],currency: "USD"})

Compared hg-sb-01 Credenza in walnut with sliding doors and hg-sb-03 Mid-century buffet in walnut. Width: hg-sb-01 is 13.4 cm wider than hg-sb-03. Price: hg-sb-03 is the lowest, about $1,400 under hg-sb-01. Lead time: hg-sb-01 ships in 1 week, hg-sb-03 in 2. Material: hg-sb-01 is walnut veneer on oak; hg-sb-03 is walnut veneer on birch.

{
  "pieces": [
    {
      "id": "hg-sb-01",
      "title": "Credenza in walnut with sliding doors"
    },
    {
      "id": "hg-sb-03",
      "title": "Mid-century buffet in walnut"
    }
  ],
  "rows": [
    {
      "attribute": "listed as",
      "values": [
        "credenza",
        "buffet"
      ],
      "differs": true
    },
    {
      "attribute": "maker",
      "values": [
        "Ilse Varnholt",
        "attributed to Dorothy Kessenwick"
      ],
      "differs": true
    },
    {
      "attribute": "gallery",
      "values": [
        "Ostkamm Galerie, Berlin",
        "Corvane Gallery, Hudson, New York"
      ],
      "differs": true
    },
    {
      "attribute": "width",
      "values": [
        "176 cm (69.3 in)",
        "162.6 cm (64 in)"
      ],
      "differs": true
    },
    {
      "attribute": "depth",
      "values": [
        "45 cm (17.7 in)",
        "45.7 cm (18 in)"
      ],
      "differs": true
    },
    {
      "attribute": "height",
      "values": [
        "78 cm (30.7 in)",
        "78.7 cm (31 in)"
      ],
      "differs": true
    },
    {
      "attribute": "material",
      "values": [
        "walnut veneer on oak",
        "walnut veneer on birch"
      ],
      "differs": true
    },
    {
      "attribute": "period",
      "values": [
        "1960s",
        "1950s"
      ],
      "differs": true
    },
    {
      "attribute": "price",
      "values": [
        "about $3,850 (listed at EUR 3,550)",
        "$2,450"
      ],
      "differs": true
    },
    {
      "attribute": "availability",
      "values": [
        "in stock, ships in 1 week",
        "in stock, ships in 2 weeks"
      ],
      "differs": true
    },
    {
      "attribute": "condition",
      "values": [
        "Restored. Original finish refreshed, light wear to the top.",
        "Good vintage condition. One drawer runner replaced."
      ],
      "differs": true
    }
  ],
  "differences": [
    "Width: hg-sb-01 is 13.4 cm wider than hg-sb-03.",
    "Price: hg-sb-03 is the lowest, about $1,400 under hg-sb-01.",
    "Lead time: hg-sb-01 ships in 1 week, hg-sb-03 in 2.",
    "Material: hg-sb-01 is walnut veneer on oak; hg-sb-03 is walnut veneer on birch."
  ],
  "unknown_ids": []
}

566 tokens for this response

Keep · Projects, rooms and what they cost.

list_projectsSee the designer's projects: name, rooms, piece count and total.read

Inputs

None. The signed-in designer is read from the access token.

Needs the projects:read scope.

A sample call and what came back

list_projects({})

"Harlow House": 10 pieces in Dining room, Living room, about $28,970 of $42,000. 1 saved piece is no longer available and not counted.

{
  "projects": [
    {
      "name": "Harlow House",
      "rooms": [
        "Dining room",
        "Living room"
      ],
      "piece_count": 10,
      "no_longer_available": 1,
      "total": "about $28,970",
      "budget": "$42,000"
    }
  ]
}

84 tokens for this response

save_to_projectSave pieces to a project and room by name, as a bundle or a wishlist.write

Inputs

project: string
Project name as the designer says it.
piece_ids: string[]
Ids from a search result.
room?: string
Room within the project, e.g. "Dining room". Left out, pieces go to "Unassigned".
quantity?: integer = 1
Units of each piece, e.g. 6 for a set of chairs.
note?: string
A short note kept with the piece, 280 characters at most.
create_if_missing?: boolean = false
Create the project when no project has exactly this name.

Needs the projects:write scope.

A sample call and what came back

save_to_project({project: "Harlow House",piece_ids: ["hg-sb-02"],room: "Dining room",note: "Fits the wall by the door with 30 cm to spare."})

Saved Tambour-door sideboard in solid walnut (hg-sb-02) to Harlow House, Dining room. Dining room is now about $15,030; the project is about $32,170, about $9,830 left of $42,000.

{
  "project": "Harlow House",
  "created_project": false,
  "added": [
    {
      "id": "hg-sb-02",
      "title": "Tambour-door sideboard in solid walnut",
      "room": "Dining room",
      "quantity": 1,
      "price": "$3,200"
    }
  ],
  "room_subtotal": "about $15,030",
  "project_total": "about $32,170",
  "budget": "about $9,830 left of $42,000"
}

139 tokens for this response

swap_pieceReplace one piece in a project with another and see the price and size difference.write

Inputs

project: string
Project name as the designer says it.
remove_piece_id: string
The piece to take out.
add_piece_id: string
The piece to put in its place.
room?: string
Only needed when the piece to take out is in more than one room.

Needs the projects:write scope.

A sample call and what came back

swap_piece({project: "Harlow House",remove_piece_id: "hg-sb-02",add_piece_id: "hg-sb-01"})

Swapped Tambour-door sideboard in solid walnut for Credenza in walnut with sliding doors in Harlow House, Dining room. The new piece is about $650 more and 26 cm wider, 1 cm shallower, 2 cm taller. The project is about $32,820, about $9,180 left of $42,000.

{
  "project": "Harlow House",
  "room": "Dining room",
  "quantity": 1,
  "removed": {
    "id": "hg-sb-02",
    "title": "Tambour-door sideboard in solid walnut"
  },
  "added": {
    "id": "hg-sb-01",
    "title": "Credenza in walnut with sliding doors"
  },
  "price_difference": "about $650 more",
  "size_difference": "26 cm wider, 1 cm shallower, 2 cm taller",
  "project_total": "about $32,820",
  "budget": "about $9,180 left of $42,000"
}

180 tokens for this response

remove_from_projectTake a piece out of a project.removes

Inputs

project: string
Project name as the designer says it.
piece_id: string
The piece to take out, by its id.
room?: string
Only needed when the piece is in more than one room.

Needs the projects:write scope.

A sample call and what came back

remove_from_project({project: "Harlow House",piece_id: "hg-sb-01"})

Removed Credenza in walnut with sliding doors (hg-sb-01) from Harlow House, Dining room. The project is now about $28,970, about $13,030 left of $42,000.

{
  "project": "Harlow House",
  "removed": {
    "id": "hg-sb-01",
    "title": "Credenza in walnut with sliding doors",
    "room": "Dining room",
    "quantity": 1
  },
  "project_total": "about $28,970",
  "budget": "about $13,030 left of $42,000"
}

104 tokens for this response

cost_summaryGet the cost of a room or a whole project: lines, subtotals, total, longest lead time, anything no longer available.read

Inputs

project: string
Project name as the designer says it.
room?: string
One room only. Left out, the whole project.
currency?: "USD" | "EUR" | "GBP" | "DKK"
Currency for totals. Defaults to the project's budget currency.

Needs the projects:read scope.

A sample call and what came back

cost_summary({project: "Harlow House"})

Harlow House: about $28,970, about $13,030 left of $42,000. Dining room: about $11,830 for 7 pieces Living room: about $17,140 for 3 pieces Longest lead time: 11 weeks (Dining chair with arms in oak, hg-dc-03). No longer available, not counted: Floor lamp in walnut and linen (hg-lp-05). Shipping is not included.

{
  "project": "Harlow House",
  "room": null,
  "currency": "USD",
  "lines": [
    {
      "id": "hg-dt-07",
      "title": "Trestle dining table in oak",
      "room": "Dining room",
      "quantity": 1,
      "unit_price": "GBP 5,250",
      "line_total": "about $6,670",
      "lead_time_weeks": 3,
      "available": true
    },
    {
      "id": "hg-dc-03",
      "title": "Dining chair with arms in oak",
      "room": "Dining room",
      "quantity": 6,
      "unit_price": "DKK 5,900",
      "line_total": "about $5,160",
      "lead_time_weeks": 11,
      "available": true
    },
    {
      "id": "hg-lp-05",
      "title": "Floor lamp in walnut and linen",
      "room": "Dining room",
      "quantity": 1,
      "unit_price": "GBP 440",
      "line_total": "not available",
      "lead_time_weeks": 2,
      "available": false
    },
    {
      "id": "hg-lc-04",
      "title": "Club chair in walnut and wool",
      "room": "Living room",
      "quantity": 2,
      "unit_price": "$6,400",
      "line_total": "$12,800",
      "lead_time_weeks": 1,
      "available": true
    },
    {
      "id": "hg-ct-06",
      "title": "Cocktail table in marble",
      "room": "Living room",
      "quantity": 1,
      "unit_price": "EUR 4,000",
      "line_total": "about $4,340",
      "lead_time_weeks": 4,
      "available": true
    }
  ],
  "rooms": [
    {
      "room": "Dining room",
      "pieces": 7,
      "subtotal": "about $11,830"
    },
    {
      "room": "Living room",
      "pieces": 3,
      "subtotal": "about $17,140"
    }
  ],
  "total": "about $28,970",
  "longest_lead_time": "11 weeks (Dining chair with arms in oak, hg-dc-03)",
  "unavailable": [
    {
      "id": "hg-lp-05",
      "title": "Floor lamp in walnut and linen",
      "room": "Dining room"
    }
  ],
  "budget": "about $13,030 left of $42,000",
  "note": "Prices are listing prices. Shipping, tax and trade discounts are not included. Converted figures use sample rates dated 2026-12-01."
}

524 tokens for this response

How sign-in works

The search and the sign-in live in two separate services, the way a real platform and its assistant-facing server would. Each step below links to the live document it names.

  1. 1. The assistant calls with no token, and is told where to look

    A request to the endpoint with no token gets this answer. It was produced by the endpoint just now, as this page was rendered. A token that fails any check is refused as well.

    HTTP 401
    WWW-Authenticate: Bearer error="invalid_token",
        error_description="No authorization provided",
        resource_metadata="https://hallowgrain.vercel.app/.well-known/oauth-protected-resource/mcp"
  2. 2. It reads two discovery documents

    The resource metadata on this server names the sign-in service. The authorization server metadata on that service lists its endpoints, the three scopes, and that PKCE with S256 is required.

  3. 3. It says who it is

    Preferably with a client metadata document: a public HTTPS address the sign-in service fetches and checks. Assistants that do not have one register instead. Either way, only return addresses on claude.ai, claude.com, chatgpt.com or the user's own machine are accepted.

  4. 4. You pick a sample designer

    The sign-in page shows who is asking and what they will be able to do. Allowing sends back a code that works once, for 60 seconds, and only for the app, the return address and the server it was issued for.

  5. 5. The code becomes a 15-minute token

    The access token is a signed JWT whose audience is this server and nothing else; the public keys are published. On every call the server checks signature, issuer, audience and expiry. A token made for another server is refused, and a read-only token gets a 403 on a write tool. A refresh token works once: replaying a spent one revokes every refresh token from that sign-in, and the access tokens already issued run out within 15 minutes.

What is mocked

  • The catalog. 116 invented pieces from 13 invented galleries and 30 invented makers, in real cities. The drawings are made from each piece's listed width and height; there are no photographs.
  • The designers. Two sample designers, each with one project. Signing in gives you a private copy, removed after seven days without use.
  • The exchange rates. Fixed sample rates dated 2026-12-01. A price converted from another currency is rounded to the nearest 10, says “about”, and keeps the listing's own price beside it. A total that includes one says “about” too, and is added up from the figures shown.

What a production version would add

  • A real platform behind the same nine tools: the tools call a REST API today, so the swap is the API's address and its field mapping.
  • Lazy sign-in, so search works before anyone signs in and only projects ask for an account.
  • An in-chat carousel for search results. It is not part of this build.
  • A directory listing in each assistant, with the review each one requires.
  • Usage logs and evals: which requests reach which tool, and where an assistant picks the wrong one.
  • Gemini and Grok: the same server and the same sign-in. Each needs its return address checked against its own documentation and added to the accepted list.
  • Sellers and distributors: an account whose own listed inventory can be searched and offered to a client. Searching by gallery name already works today.
  • Homeowners: a room described in words, or a photograph of it, turned into the brief that shortlist_for_brief already takes.
  • Deployment through a hosting platform for MCP servers: the server is plain SDK code behind one HTTPS endpoint, so it can be registered or deployed elsewhere as it stands. This build runs on Vercel only.