zwitchy-store
Travel eSIM catalog: search plans, check availability, and get exact quotes with checkout links.
我該用這個嗎
品質與安全性
根據工具定義與協定合規性的自動化分析。
上下文成本
這是每次將伺服器的工具載入模型上下文時所消耗的約略 token 數量。數量越高,可用於其他工作的注意力就越少。
安裝
一鍵安裝
將以下內容加入你的 `claude_desktop_config.json` 檔案:
{
"mcpServers": {
"zwitchy-store": {
"url": "https://zwitchy.io/api/mcp"
}
}
}遠端端點
https://zwitchy.io/api/mcpstreamable-http它能做什麼
工具清單
工具(4)
🟢search_plans(destination, region, min_data_bytes, min_duration_days, max_price_cents, ...)
Search the purchasable travel eSIM plan catalog. Filter by destination country, region, minimum data, minimum duration, and maximum price. Returns public plan details (prices in USD cents) sorted cheapest first, with offset pagination via next_offset.
輸入結構描述
{
"type": "object",
"properties": {
"destination": {
"description": "Country to cover: ISO-2 code (e.g. 'JP') or English name (e.g. 'Japan').",
"type": "string",
"maxLength": 64
},
"region": {
"description": "Region name filter, e.g. 'Europe' or 'Asia'.",
"type": "string",
"maxLength": 64
},
"min_data_bytes": {
"description": "Minimum total data allowance in bytes (unlimited plans always match).",
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"min_duration_days": {
"description": "Minimum validity in days.",
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"max_price_cents": {
"description": "Maximum retail price in USD cents.",
"type": "integer",
"minimum": 1,
"maximum": 9007199254740991
},
"limit": {
"description": "Page size, 1-50 (default 20).",
"type": "integer",
"minimum": 1,
"maximum": 50
},
"offset": {
"description": "Pagination offset from a previous next_offset.",
"type": "integer",
"minimum": 0,
"maximum": 5000
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}🟢get_plan(package_code)
Fetch full public details for a single purchasable plan by its package_code: coverage, data allowance, validity, retail price in USD cents. Errors with plan_not_found for unknown or unsellable codes.
輸入結構描述
{
"type": "object",
"properties": {
"package_code": {
"type": "string",
"minLength": 1,
"maxLength": 128,
"description": "The plan's package_code from search_plans."
}
},
"required": [
"package_code"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}🟢check_availability(package_code, quantity)
Check whether a plan can be fulfilled right now for a given quantity, using the same gate the checkout runs. Returns available true/false; reason 'delisted' means the SKU left the catalog, 'unavailable' means it temporarily cannot be fulfilled.
輸入結構描述
{
"type": "object",
"properties": {
"package_code": {
"type": "string",
"minLength": 1,
"maxLength": 128,
"description": "The plan's package_code from search_plans."
},
"quantity": {
"description": "Units to buy (default 1, max 10).",
"type": "integer",
"minimum": 1,
"maximum": 10
}
},
"required": [
"package_code"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}🟢get_quote(package_code, quantity, promo_code)
Price an order (package_code, quantity, optional promo code) exactly as checkout would: returns subtotal, discount, and the final total in USD cents, plus the promo status. Purely informational — no order is created.
輸入結構描述
{
"type": "object",
"properties": {
"package_code": {
"type": "string",
"minLength": 1,
"maxLength": 128,
"description": "The plan's package_code from search_plans."
},
"quantity": {
"description": "Units to buy (default 1, max 10).",
"type": "integer",
"minimum": 1,
"maximum": 10
},
"promo_code": {
"description": "Optional promo code to apply.",
"type": "string",
"maxLength": 64
}
},
"required": [
"package_code"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}社群
證據