pdd_search
Search Pinduoduo products via browser emulation. Each session permits one search; restart the MCP server to search again.
Instructions
搜索拼多多商品。需要 Chrome + PDD cookie(PDDAccessToken + pdd_user_id)。
⚠️ 严重限制:拼多多手机搜索每个浏览器会话仅允许一次搜索。 第一次搜索后,所有后续搜索返回「系统繁忙」。 如需再次搜索,必须重启 MCP server 以创建新的浏览器会话。
原理: Chrome CDP + iPhone UA 模拟手机浏览器搜索。 Cookie 文件: ~/.cn-scraper-cookies/pdd.json Token 有效期约 1 小时,需定期从手机浏览器重新导出。
并发: ⚠️ 使用 BrowserLock 保护 CDP 端口,同端口调用自动串行化。
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"keyword": "<keyword>"
},
"name": "pdd_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | 返回条数上限 (默认 10) | |
| keyword | Yes | 搜索关键词 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||