Lengow MCP by usefulapi
Read marketplace orders and action results; set order ids and send accept or ship actions in Lengow.
사용해야 할까요
품질 및 안전성
도구 정의와 프로토콜 준수에 대한 자동 분석을 기반으로 합니다.
컨텍스트 비용
이는 서버의 도구가 모델의 컨텍스트에 로드될 때마다 소비되는 대략적인 토큰 수입니다. 수치가 높을수록 다른 작업에 사용할 수 있는 주의가 줄어듭니다.
설치
원클릭 설치
`claude_desktop_config.json` 파일에 다음을 추가하세요:
{
"mcpServers": {
"lengow": {
"url": "https://lengow.usefulapi.io/mcp"
}
}
}원격 엔드포인트
https://lengow.usefulapi.io/mcpstreamable-http할 수 있는 일
도구 목록
도구 (5)
🟢lengow_list_orders(marketplace, marketplace_order_id, merchant_order_id, lengow_status, lengow_line_status, ...)
List marketplace orders of the account with their status, lines and customer delivery data. Without a date filter, Lengow returns only the last 7 days. Use it to find orders to ship or check. Lengow API: GET /v3.0/orders/.
입력 스키마
{
"type": "object",
"properties": {
"marketplace": {
"description": "Marketplace code, for example \"amazon_fr\" (see lengow_list_marketplaces).",
"type": "string"
},
"marketplace_order_id": {
"description": "The marketplace's own order reference.",
"type": "string"
},
"merchant_order_id": {
"description": "Your internal order id, set with lengow_set_merchant_order_id.",
"type": "string"
},
"lengow_status": {
"description": "Lengow order status, for example \"accepted\" or \"shipped\".",
"type": "string"
},
"lengow_line_status": {
"description": "Status of the order lines.",
"type": "string"
},
"marketplace_order_date_from": {
"description": "ISO 8601 date or date-time with offset, for example 2026-10-01 or 2026-10-01T00:00:00+00:00.",
"type": "string"
},
"marketplace_order_date_to": {
"description": "ISO 8601 date or date-time with offset, for example 2026-10-01 or 2026-10-01T00:00:00+00:00.",
"type": "string"
},
"updated_from": {
"description": "ISO 8601 date or date-time with offset, for example 2026-10-01 or 2026-10-01T00:00:00+00:00.",
"type": "string"
},
"updated_to": {
"description": "ISO 8601 date or date-time with offset, for example 2026-10-01 or 2026-10-01T00:00:00+00:00.",
"type": "string"
},
"page": {
"description": "Page number (default 1).",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"page_size": {
"description": "Results per page (max 100).",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 100
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢lengow_list_order_actions(marketplace, marketplace_order_id, action_type, processed, queued, ...)
List the actions sent to marketplaces (accept, ship, cancel and others) with their result. Use it after an action to see whether the marketplace processed it: processed=true and queued=false means success; errors names the failure. Lengow API: GET /v3.0/orders/actions/.
입력 스키마
{
"type": "object",
"properties": {
"marketplace": {
"description": "Marketplace code, for example \"amazon_fr\" (see lengow_list_marketplaces).",
"type": "string"
},
"marketplace_order_id": {
"description": "The marketplace's own order reference.",
"type": "string"
},
"action_type": {
"description": "Action type, for example \"ship\".",
"type": "string"
},
"processed": {
"description": "true = processed by the marketplace, false = failed or not yet processed.",
"type": "boolean"
},
"queued": {
"description": "true = Lengow is still retrying the action.",
"type": "boolean"
},
"created_from": {
"description": "ISO 8601 date or date-time with offset, for example 2026-10-01 or 2026-10-01T00:00:00+00:00.",
"type": "string"
},
"created_to": {
"description": "ISO 8601 date or date-time with offset, for example 2026-10-01 or 2026-10-01T00:00:00+00:00.",
"type": "string"
},
"updated_from": {
"description": "ISO 8601 date or date-time with offset, for example 2026-10-01 or 2026-10-01T00:00:00+00:00.",
"type": "string"
},
"updated_to": {
"description": "ISO 8601 date or date-time with offset, for example 2026-10-01 or 2026-10-01T00:00:00+00:00.",
"type": "string"
},
"page": {
"description": "Page number (default 1).",
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢lengow_list_marketplaces(marketplace)
List the connected marketplaces with their codes, order statuses, the actions each allows and the required fields of each action (for example the carriers for ship). Call it before lengow_create_order_action. Lengow API: GET /v3.0/marketplaces/.
입력 스키마
{
"type": "object",
"properties": {
"marketplace": {
"description": "Marketplace code, for example \"amazon_fr\" (see lengow_list_marketplaces).",
"type": "string"
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟡lengow_set_merchant_order_id(marketplace, marketplace_order_id, merchant_order_id)
Store your own internal order id on a Lengow order, so later imports can skip it. Safe to repeat with the same values. Lengow API: PATCH /v3.0/orders/moi/.
입력 스키마
{
"type": "object",
"properties": {
"marketplace": {
"type": "string",
"description": "Marketplace code of the order."
},
"marketplace_order_id": {
"type": "string",
"description": "The marketplace's own order reference."
},
"merchant_order_id": {
"minItems": 1,
"type": "array",
"items": {
"type": "string"
},
"description": "Your internal order id(s), as an array of strings."
}
},
"required": [
"marketplace",
"marketplace_order_id",
"merchant_order_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🔴lengow_create_order_action(marketplace, marketplace_order_id, action_type, tracking_number, tracking_url, ...)
Send an accept or ship action for one order to its marketplace. Lengow runs it asynchronously and retries it up to 5 times: check the result with lengow_list_order_actions. Ship needs tracking_number (and carrier when the marketplace requires it: see lengow_list_marketplaces). Lengow API: POST /v3.0/orders/actions/.
입력 스키마
{
"type": "object",
"properties": {
"marketplace": {
"type": "string",
"description": "Marketplace code of the order."
},
"marketplace_order_id": {
"type": "string",
"description": "The marketplace's own order reference."
},
"action_type": {
"type": "string",
"enum": [
"accept",
"ship"
],
"description": "accept = accept the order; ship = mark it as shipped."
},
"tracking_number": {
"description": "Tracking number (required for ship).",
"type": "string"
},
"tracking_url": {
"description": "Tracking URL.",
"type": "string"
},
"carrier": {
"description": "Carrier code from lengow_list_marketplaces.",
"type": "string"
},
"line": {
"description": "marketplace_order_line_id, for a partial action on one line.",
"type": "string"
}
},
"required": [
"marketplace",
"marketplace_order_id",
"action_type"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}커뮤니티
증거