site
Decor Depot: the site's own MCP server — shop; every answer cites the site.
我該用這個嗎
品質與安全性
根據工具定義與協定合規性的自動化分析。
上下文成本
這是每次將伺服器的工具載入模型上下文時所消耗的約略 token 數量。數量越高,可用於其他工作的注意力就越少。
安裝
一鍵安裝
將以下內容加入你的 `claude_desktop_config.json` 檔案:
{
"mcpServers": {
"site": {
"url": "https://decordepot.co.uk/mcp"
}
}
}遠端端點
https://decordepot.co.uk/mcpstreamable-http它能做什麼
工具清單
工具(8)
⚪store
What Decor Depot sells, its currency, where it ships, how a purchase completes, and the catalogue's size. Call this first.
輸入結構描述
{
"type": "object",
"properties": {},
"$schema": "http://json-schema.org/draft-07/schema#"
}⚪categories
The categories Decor Depot organises its products into (path, name, page URL, product count). Use a path or a name as the category of browse.
輸入結構描述
{
"type": "object",
"properties": {},
"$schema": "http://json-schema.org/draft-07/schema#"
}⚪browse(category, page, page_size, in_stock_only, sort)
A page of Decor Depot's products, optionally within a category (path or name), in stock only, sorted. Up to 50 per page.
輸入結構描述
{
"type": "object",
"properties": {
"category": {
"type": "string",
"description": "a category path (e.g. coffee/espresso-machines) or name"
},
"page": {
"type": "integer",
"minimum": 1
},
"page_size": {
"type": "integer",
"minimum": 1,
"maximum": 50
},
"in_stock_only": {
"type": "boolean"
},
"sort": {
"type": "string",
"enum": [
"relevance",
"price_asc",
"price_desc",
"title"
],
"description": "order of the results"
}
},
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢search(query, page, page_size, sort)
Products of Decor Depot whose title, description, brand, category or attributes contain the words of the query (all words, any order, case-insensitive).
輸入結構描述
{
"type": "object",
"properties": {
"query": {
"type": "string",
"minLength": 1
},
"page": {
"type": "integer",
"minimum": 1
},
"page_size": {
"type": "integer",
"minimum": 1,
"maximum": 50
},
"sort": {
"type": "string",
"enum": [
"relevance",
"price_asc",
"price_desc",
"title"
],
"description": "order of the results"
}
},
"required": [
"query"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}⚪filter(attributes, price_min, price_max, category, brand, ...)
Products of Decor Depot matching attribute values (key: value, exact, case-insensitive — the keys are the store's own specification attributes, see any product's attributes) and/or a price range in Decor Depot's currency, e.g. price_min 200, price_max 1500. Combine with a category, brand and in-stock.
輸入結構描述
{
"type": "object",
"properties": {
"attributes": {
"type": "object",
"additionalProperties": {
"type": [
"string",
"number",
"boolean"
]
},
"description": "e.g. {\"material\": \"teak\", \"groups\": 2}"
},
"price_min": {
"type": "number",
"minimum": 0,
"description": "in major units of the store's currency"
},
"price_max": {
"type": "number",
"minimum": 0
},
"category": {
"type": "string"
},
"brand": {
"type": "string"
},
"in_stock_only": {
"type": "boolean"
},
"fulfilment": {
"type": "string",
"enum": [
"own",
"affiliate"
]
},
"page": {
"type": "integer",
"minimum": 1
},
"page_size": {
"type": "integer",
"minimum": 1,
"maximum": 50
},
"sort": {
"type": "string",
"enum": [
"relevance",
"price_asc",
"price_desc",
"title"
],
"description": "order of the results"
}
},
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}⚪product(product)
Everything Decor Depot publishes about one product — by id, product URL or GTIN: description, price, stock, identifiers, attributes, images, and where it is bought.
輸入結構描述
{
"type": "object",
"properties": {
"product": {
"type": "string",
"minLength": 1,
"description": "product id, product page URL, or GTIN"
}
},
"required": [
"product"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}🔴cart(action, product, qty)
A cart kept for this MCP session (never the store's own cart). add / remove / set a quantity / view / clear; the total is live from the feed. Then checkout_link tells the buyer where to complete the purchase.
輸入結構描述
{
"type": "object",
"properties": {
"action": {
"type": "string",
"enum": [
"add",
"remove",
"set",
"view",
"clear"
]
},
"product": {
"type": "string",
"description": "product id or URL (add/remove/set)"
},
"qty": {
"type": "integer",
"minimum": 0,
"maximum": 99,
"description": "quantity to add (add, default 1) or to set (set)"
}
},
"required": [
"action"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}⚪checkout_link(product)
For this session's cart (or one product), the link(s) where a PERSON completes the purchase: the product page and the store's cart for own products (Decor Depot's own checkout), the retailer's buy link for affiliate products. This server never places an order or takes a payment.
輸入結構描述
{
"type": "object",
"properties": {
"product": {
"type": "string",
"description": "one product instead of the cart"
}
},
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}建議的提示詞
searchsearch已記錄的呼叫範例
search輸入參數
{
"query": "example search term",
"page": 0,
"page_size": 0,
"sort": "example-0"
}輸出結果
{
"result": {
"content": [
{
"type": "text",
"text": "MCP error -32602: Input validation error: Invalid arguments for tool search: Number must be greater than or equal to 1 at page\nNumber must be greater than or equal to 1 at page_size\nInvalid enum value. Expected 'relevance' | 'price_asc' | 'price_desc' | 'title', received 'example-0' at sort"
}
],
"isError": true
},
"durationMs": 501
}社群
證據