Xpersona
甩

甩手店长一键采集,刊登

CLAWHUB · Unverified

Builds and uses an MCP client (Streamable HTTP transport) to connect to the htyd MCP server and invoke all available tools (including login). Use when connec... Skill: 甩手店长一键采集,刊登 Owner: wang-jie-ss Summary: Builds and uses an MCP client (Streamable HTTP transport) to connect to the htyd MCP server and invoke all available tools (including login). Use when connec... Tags: latest:1.0.1 Version history: v1.0.1 | 2026-03-30T02:41:58.236Z | user Production version release with expanded Temu publishing features. - Declares this as the production ("正式生产环境版本") release for the htyd

62
Rank
84
Safety
1.1k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1.1K downloads reported by the source. Last updated 10/11/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s172z0cyndfq0jqxmz9argd6rh83gz8w:shuaishou-mcp-client
  1. Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.
  2. Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-wang-jie-ss-shuaishou-mcp-client/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

20,705 characters of source documentation, loaded on request.

Extracted files

5 files captured from the source.

SKILL.md

---
name: htyd-mcp-client-streamable
description: Builds and uses an MCP client (Streamable HTTP transport) to connect to the htyd MCP server and invoke all available tools (including login). Use when connecting to a Streamable HTTP MCP endpoint like https://dz.shuaishou.com/mcp. This is the production version.
---

# HTYD MCP Client (Streamable HTTP) - Production

## Goal

Provide an **MCP client-first** wrapper for MCP servers exposed via **Streamable HTTP** transport (`/mcp`). This is intended for hosts (e.g. OpenClaw) that **do not support MCP connections natively**: install a tiny Node client and use it to **list/call all MCP tools**, including **login**.

**这是正式生产环境版本**,连接 `https://dz.shuaishou.com/mcp`。

Default endpoint:

- `MCP_URL=https://dz.shuaishou.com/mcp`
- `MCP_APP_KEY=<your_app_key>` (sent as `Authorization: Bearer ...`)

## Quick start (OpenClaw / any shell)

1) 确保 MCP 服务可访问(生产环境:`https://dz.shuaishou.com/mcp`)。

2) 安装依赖(如需要):

```bash
cd "%USERPROFILE%\.agents\skills\htyd-mcp-client-streamable-0.1.0\scripts"
npm install
```

3) 列出工具:

```bash
node htyd-mcp.mjs tools
```

4) 调用工具:

```bash
node htyd-mcp.mjs call list_shops "{}"
node htyd-mcp.mjs call list_collected_goods "{\"claimStatus\":0,\"pageNo\":1,\"pageSize\":50}"
```

5) 登录(部分流程需要):

```bash
node htyd-mcp.mjs login_shuashou --username "YOUR_USER" --password "YOUR_PASS" --loginType "pd"
```

6) 采集商品:

```bash
node htyd-mcp.mjs collect_goods --originList "https://detail.1688.com/offer/xxx.html"
```

7) 认领商品到店铺:

```bash
node htyd-mcp.mjs claim_goods --itemIds 35476703,35476704 --platId 68 --merchantIds 2025050918
```

**推荐使用 `--originList` 替代 `--itemIds`**,客户端会自动从已采集商品中筛选可认领的(采集成功、非重复采集、非采集中)。

示例(推荐):

```bash
node htyd-mcp.mjs claim_goods --originList "https://detail.1688.com/offer/xxx.html" --platId 68 --merchantIds 2025050918
```

8) 一键采集+认领+发布:

```bash
node htyd-mcp.mjs collect_and_publish --originList "https://detail.1688.com/offer/xxx.html" --platId 68 --merchantIds 2025050918 --pubShops 2025050918
```

此命令执行:采集 → 认领 → 查询草稿 → 发布。

**默认会跟踪发布结果**,通过 `list_publish_records` 轮询直到 SUCCESS/FAIL:

```bash
node htyd-mcp.mjs collect_and_publish --originList "https://detail.1688.com/offer/xxx.html" --platId 68 --merchantIds 2025050918 --pubShops 2025050918 --timeoutSec 180 --intervalSec 3
```

跳过结果跟踪(仅发送发布请求):

```bash
node htyd-mcp.mjs collect_and_publish --originList "https://detail.1688.com/offer/xxx.html" --platId 68 --merchantIds 2025050918 --pubShops 2025050918 --track false
```

如果发布失败,客户端会打印**错误信息**,并建议到**甩手店长**后台修正商品信息后重新发布。

8.1) 仅发布并跟踪(适用于已有草稿 itemIds):

```bash
node htyd-mcp.mjs publish_and_track --itemIds 1306795 --pubShops 2025050918 --timeoutSec 180 --intervalSec 3
```

## 业务流程说明

### 闭环1:采集 → 认领(到草稿箱)

仅完成商品采集并认领到指定店铺,停留在草稿箱状态,不自动发布。

```bash
# Step 1: 采集
node htyd-mcp.mjs collect_goods --originList "https://detail.1688.com/offer/xxx.html"

# Step 2: 认领(认领到草稿箱)
node htyd-mcp.mjs claim_goods --originList "https://detail.1688.com/offer/xxx.html" --platId 68 --me

scripts/README.md

# htyd-mcp-client scripts

Install:

```bash
npm install
```

Set endpoint (optional):

```bash
set MCP_URL=https://dz.shuaishou.com/mcp
set MCP_APP_KEY=ak_test_001
```

List tools:

```bash
node htyd-mcp.mjs tools
```

Call any tool:

```bash
node htyd-mcp.mjs call list_shops "{}"
```

## Business Workflow

This toolset supports two business workflows:

### Workflow 1: Collect → Claim (to drafts)

Only collects the product and claims it to a specified shop, stays in draft status, does NOT auto-publish.

```bash
# Step 1: Collect
node htyd-mcp.mjs collect_goods --originList "https://detail.1688.com/offer/xxx.html"

# Step 2: Claim (to drafts)
node htyd-mcp.mjs claim_goods --originList "https://detail.1688.com/offer/xxx.html" --platId 68 --merchantIds 2025050918
```

### Workflow 2: Collect → Claim → Publish (one-step) NEW

User provides a link, completes the full workflow of collect → claim → publish. **The flow ends when publish API call completes**, without waiting for async processing results.

```bash
node htyd-mcp.mjs collect_and_publish \
  --originList "https://detail.1688.com/offer/730708656407.html" \
  --platId 68 \
  --merchantIds 2025050918 \
  --pubShops 2025050918
```

#### Parameters

- `--originList` (required) - Product URL(s), multiple allowed
- `--platId` (required) - Platform ID, e.g., 68 for Temu
- `--merchantIds` (required) - Shop IDs for claiming, comma-separated
- `--pubShops` (optional) - Shop IDs for publishing, defaults to first merchantIds

#### Workflow (5 steps)

```
[1/5] collect_goods         → Call collect API with the link
[2/5] list_collected_goods  → Query collection result, get itemId
[3/5] claim_goods           → Claim to target shop (creates draft)
[4/5] list_temu_drafts      → Query drafts to locate claimed item
[5/5] publish_temu          → Call publish API (flow ends here)
```

**IMPORTANT**: Step 5 considers the flow complete when `publish_temu` API request is sent. It does NOT wait for or check async processing status, actual listing result, etc. **For publish success/failure status, user should check in Shuashou Store Manager (甩手店长).**

#### Draft Locating Strategy

After claiming, need to find the claimed item in drafts for publishing. Strategy:

1. **Shop scope**: Query only target shop (`shopId=merchantIds[0]`)
2. **Status scope**: Only unpublished (`status=UNPUBLISH`), excludes already published/publishing
3. **Time sort**: Sort by claim time descending, latest first
4. **URL match**: Match origin URL (partial domain+path matching)

**Duplicate claim handling**: If same link claimed multiple times to same shop, **always takes the latest claim** for publishing.

#### When to Use

Use case: When user says "publish this link to shop" or "collect and publish to shop", use this command instead of separate calls.

```bash
# Example: User wants to publish 1688 product to Temu shop
node htyd-mcp.mjs collect_and_publish \
  --originList "https://detail.1688.com/offer/730708656407.html" \
  --platId 68 \
  -

_meta.json

{
  "ownerId": "kn7deyrtdr6vate454kf09y3wh838hc1",
  "slug": "shuaishou-mcp-client",
  "version": "1.0.1",
  "publishedAt": 1774838518236
}

scripts/node_modules/.package-lock.json

{
  "name": "htyd-mcp-client",
  "version": "0.1.0",
  "lockfileVersion": 3,
  "requires": true,
  "packages": {}
}

scripts/package-lock.json

{
  "name": "htyd-mcp-client",
  "version": "0.1.0",
  "lockfileVersion": 3,
  "requires": true,
  "packages": {
    "": {
      "name": "htyd-mcp-client",
      "version": "0.1.0",
      "license": "MIT"
    }
  }
}

Sponsored

Ads related to 甩手店长一键采集,刊登 and adjacent AI workflows.