Tanatasa Beauty
Search Singapore skincare and beauty, build guest carts, and prepare buyer checkout links.
我該用這個嗎
品質與安全性
根據工具定義與協定合規性的自動化分析。
上下文成本
這是每次將伺服器的工具載入模型上下文時所消耗的約略 token 數量。數量越高,可用於其他工作的注意力就越少。
安裝
一鍵安裝
將以下內容加入你的 `claude_desktop_config.json` 檔案:
{
"mcpServers": {
"tanatasa": {
"url": "https://tanatasa.sg/mcp"
}
}
}遠端端點
https://tanatasa.sg/mcpstreamable-http它能做什麼
工具清單
工具(10)
🟢search_products(q, brand, category, purpose, skin_type, ...)
Search public sellable variants by words, brand/category/purpose, skin type, ingredient, availability and price in SGD cents. Use variant_id when adding items; follow next_page for more results.
輸入結構描述
{
"type": "object",
"properties": {
"q": {
"type": "string",
"maxLength": 200,
"default": ""
},
"brand": {
"type": "string",
"maxLength": 100
},
"category": {
"type": "string",
"maxLength": 100
},
"purpose": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"skin_type": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"ingredient": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"min_price": {
"type": "integer",
"minimum": 0
},
"max_price": {
"type": "integer",
"minimum": 0
},
"in_stock": {
"type": "boolean",
"default": false
},
"page": {
"type": "integer",
"minimum": 1,
"maximum": 1000,
"default": 1
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 50,
"default": 20
}
},
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢get_product(product)
Get product descriptions, ingredients, usage, images and variants. product accepts a product ID, product slug, variant slug or SKU.
輸入結構描述
{
"type": "object",
"properties": {
"product": {
"type": "string",
"minLength": 1,
"maxLength": 200
}
},
"required": [
"product"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟡create_cart(guest_token)
Create an empty persistent cart without account login. Save cart_id, version and the private guest_token if returned. Pass guest_token on subsequent shopping calls. Account authentication is optional.
輸入結構描述
{
"type": "object",
"properties": {
"guest_token": {
"type": "string",
"pattern": "^[a-f0-9]{64}$",
"description": "Private guest session token from create_cart. Retain for cart, checkout and purchase-status calls; no account login needed."
}
},
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢get_cart(cart_id, guest_token)
Read cart items, coupon, version and checkout lock.
輸入結構描述
{
"type": "object",
"properties": {
"cart_id": {
"type": "string",
"format": "uuid"
},
"guest_token": {
"type": "string",
"pattern": "^[a-f0-9]{64}$",
"description": "Private guest session token from create_cart. Retain for cart, checkout and purchase-status calls; no account login needed."
}
},
"required": [
"cart_id"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🔴set_cart_item(cart_id, version, variant_id, quantity, guest_token)
Add or update a variant using an absolute quantity; zero removes it. Supply the current cart version. Maximum 20 variants and 99 units each; availability is checked.
輸入結構描述
{
"type": "object",
"properties": {
"cart_id": {
"type": "string",
"format": "uuid"
},
"version": {
"type": "integer",
"exclusiveMinimum": 0
},
"variant_id": {
"type": "integer",
"exclusiveMinimum": 0
},
"quantity": {
"type": "integer",
"minimum": 0,
"maximum": 99
},
"guest_token": {
"type": "string",
"pattern": "^[a-f0-9]{64}$",
"description": "Private guest session token from create_cart. Retain for cart, checkout and purchase-status calls; no account login needed."
}
},
"required": [
"cart_id",
"version",
"variant_id",
"quantity"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🔴set_cart_coupon(cart_id, version, coupon_code, guest_token)
Apply a coupon code or null to remove it. Supply current cart version. Auto discounts also apply.
輸入結構描述
{
"type": "object",
"properties": {
"cart_id": {
"type": "string",
"format": "uuid"
},
"version": {
"type": "integer",
"exclusiveMinimum": 0
},
"coupon_code": {
"anyOf": [
{
"type": "string",
"minLength": 1,
"maxLength": 64
},
{
"type": "null"
}
]
},
"guest_token": {
"type": "string",
"pattern": "^[a-f0-9]{64}$",
"description": "Private guest session token from create_cart. Retain for cart, checkout and purchase-status calls; no account login needed."
}
},
"required": [
"cart_id",
"version",
"coupon_code"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢quote_cart(cart_id, guest_token)
Reprice the cart with current stock, scheduled prices and discounts. All amounts are SGD cents; shipping is free within Singapore. Stock is not reserved. Save version and total for checkout.
輸入結構描述
{
"type": "object",
"properties": {
"cart_id": {
"type": "string",
"format": "uuid"
},
"guest_token": {
"type": "string",
"pattern": "^[a-f0-9]{64}$",
"description": "Private guest session token from create_cart. Retain for cart, checkout and purchase-status calls; no account login needed."
}
},
"required": [
"cart_id"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟡create_checkout(guest_token, cart_id, version, expected_total, idempotency_key)
Prepare a Tanatasa checkout review link for a quoted cart. Provide quoted version and expected_total in SGD cents. Keep the same idempotency_key and input on retries. Locks cart. Buyer reviews items and enters contact/delivery details on Tanatasa before paying. No payment occurs in this tool; get_order reports progress and webhook-confirmed status.
輸入結構描述
{
"type": "object",
"properties": {
"guest_token": {
"type": "string",
"pattern": "^[a-f0-9]{64}$",
"description": "Private guest session token from create_cart. Retain for cart, checkout and purchase-status calls; no account login needed."
},
"cart_id": {
"type": "string",
"format": "uuid"
},
"version": {
"type": "integer",
"exclusiveMinimum": 0
},
"expected_total": {
"type": "integer",
"exclusiveMinimum": 0
},
"idempotency_key": {
"type": "string",
"minLength": 1,
"maxLength": 128
}
},
"required": [
"cart_id",
"version",
"expected_total",
"idempotency_key"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢get_order(order_id, guest_token)
Get payment and fulfilment status and tracking for a purchase created by this guest session or account connection. Supply guest_token for guest purchases. Payment confirmation comes from Stripe webhooks. Does not update prior purchases.
輸入結構描述
{
"type": "object",
"properties": {
"order_id": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"guest_token": {
"type": "string",
"pattern": "^[a-f0-9]{64}$",
"description": "Private guest session token from create_cart. Retain for cart, checkout and purchase-status calls; no account login needed."
}
},
"required": [
"order_id"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟡checkout_session(guest_token, checkout_session, idempotency_key)
Prepare checkout from product feed item IDs and quantities without account login. For guests, call create_cart first and supply its guest_token. Optional item metadata is not authoritative. Returns a Tanatasa review link; the buyer enters delivery details and approves payment. Supply a new idempotency_key per purchase and retain it and guest_token on retries.
輸入結構描述
{
"type": "object",
"properties": {
"guest_token": {
"type": "string",
"pattern": "^[a-f0-9]{64}$",
"description": "Private guest session token from create_cart. Retain for cart, checkout and purchase-status calls; no account login needed."
},
"checkout_session": {
"type": "object",
"properties": {
"items": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^tanatasa-variant-[1-9]\\d*$"
},
"quantity": {
"type": "integer",
"minimum": 1,
"maximum": 99
},
"offerId": {
"type": "string",
"maxLength": 200
},
"name": {
"type": "string",
"maxLength": 500
},
"description": {
"type": "string",
"maxLength": 10000
},
"images": {
"type": "array",
"items": {
"type": "string",
"maxLength": 2000
},
"maxItems": 10
},
"url": {
"type": "string",
"maxLength": 2000
},
"merchant_name": {
"type": "string",
"maxLength": 200
},
"price": {
"type": "string",
"maxLength": 100
}
},
"required": [
"id",
"quantity"
],
"additionalProperties": false
},
"minItems": 1,
"maxItems": 20
}
},
"required": [
"items"
],
"additionalProperties": false
},
"idempotency_key": {
"type": "string",
"minLength": 1,
"maxLength": 100
}
},
"required": [
"checkout_session"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}社群
證據