Modular Closets MCP server for AI agents
Let Claude, ChatGPT or your own agent read Modular Closets: 3 typed functions through one MCP server. No Modular Closets API key needed.
- Functions
- 3
- Sign-in
- Not needed
- Works with
- MCP, HTTP, Node, Python
Connect
An MCP server for Modular Closets alone, with one tool per function. Paste it into Claude, ChatGPT, Cursor or any MCP client as a remote server.
https://api.bowmark.ai/mcp/site/modularclosetsOne MCP server for Modular Closets and every other site Bowmark covers. Your agent looks up what it needs and calls it.
https://api.bowmark.ai/mcpSet it up in your clientBoth need a Bowmark API key. The quickstart gets you one and a first result in a few minutes.
Functions
Open a function to see its arguments, what it returns and how to call it.
getKitConfiguratorReads one kit's real option tree (Color, Width, and.Arguments
Name Type Required handlestringYes Returns
ModularClosetsConfiguratorinterface ModularClosetsOption { name: string; // e.g. "Color", "Width", "Doors included" values: string[]; // this kit's real values for that option } interface ModularClosetsVariant { variantId: number; selections: Record<string, string>; // every real option name -> this variant's value price: number; // the real Shopify-priced total for this exact combination available: boolean; } interface ModularClosetsConfigurator { handle: string; title: string; options: ModularClosetsOption[]; variants: ModularClosetsVariant[]; // every real priced combination }HTTP endpoint
POST https://api.bowmark.ai/v1/sites/modularclosets/getKitConfiguratorCall it
import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.modularclosets.getKitConfigurator("alto-total-closet-kit");import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.modularclosets.getKitConfigurator("alto-total-closet-kit"))curl -X POST https://api.bowmark.ai/v1/sites/modularclosets/getKitConfigurator \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{"handle":"alto-total-closet-kit"}'// The body of a run: the MCP run tool, or POST /v1/run return await bowmark.providers.modularclosets.getKitConfigurator("alto-total-closet-kit");priceKitConfigurationResolves one exact kit build (a handle + a chosen value for every real option on that kit) to Modular Closets' own real Shopify-priced variant.Arguments
Name Type Required handlestringYes selectionsRecord<string, string>Yes Returns
ModularClosetsPriceResultinterface ModularClosetsPriceResult { handle: string; selections: Record<string, string>; variantId: number; price: number; // the real number the site's own product page would show available: boolean; }HTTP endpoint
POST https://api.bowmark.ai/v1/sites/modularclosets/priceKitConfigurationCall it
import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.modularclosets.priceKitConfiguration("alto-total-closet-kit", { Color: "White", Width: "60\" WIDE" });import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.modularclosets.priceKitConfiguration("alto-total-closet-kit", {"Color": "White", "Width": "60\" WIDE"}))curl -X POST https://api.bowmark.ai/v1/sites/modularclosets/priceKitConfiguration \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{"handle":"alto-total-closet-kit","selections":{"Color":"White","Width":"60\" WIDE"}}'// The body of a run: the MCP run tool, or POST /v1/run return await bowmark.providers.modularclosets.priceKitConfiguration("alto-total-closet-kit", { Color: "White", Width: "60\" WIDE" });searchClosetKitsSearches Modular Closets' real pre-configured kit catalog (closets, wardrobes, pantries, laundry rooms, mudrooms.Arguments
Name Type Required querystringNo Returns
ModularClosetsKit[]// Modular Closets' OWN shapes, not a capability contract. interface ModularClosetsKit { handle: string; // the key getKitConfigurator/priceKitConfiguration take title: string; tags: string[]; // the site's own room-type/grouping tags, e.g. ["Bedroom"] priceMin: number; // dollars, cheapest real combination priceMax: number; }HTTP endpoint
POST https://api.bowmark.ai/v1/sites/modularclosets/searchClosetKitsCall it
import { bowmark } from "@bowmark/web"; const result = await bowmark.providers.modularclosets.searchClosetKits("laundry");import asyncio from bowmark_web import bowmark result = asyncio.run(bowmark.providers.modularclosets.searchClosetKits("laundry"))curl -X POST https://api.bowmark.ai/v1/sites/modularclosets/searchClosetKits \ -H "Authorization: Bearer $BOWMARK_API_KEY" \ -H "Content-Type: application/json" \ -d '{"query":"laundry"}'// The body of a run: the MCP run tool, or POST /v1/run return await bowmark.providers.modularclosets.searchClosetKits("laundry");
Use it from code
- Node
npm i @bowmark/web - Python
pip install bowmark-web - HTTP
POST /v1/sites/modularclosets/<function> - OpenAPI
/v1/sites/modularclosets/openapi.json