daguands-mcp 1.0.13 → 1.0.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/daemon.js CHANGED
@@ -6,8 +6,8 @@ import express from 'express';
6
6
  import { createServer } from 'http';
7
7
  import { getAllTools } from './tools/index.js';
8
8
  import { daemonLog as log } from './logger.js';
9
- const WS_PORT = 18765;
10
- const HTTP_PORT = 18766;
9
+ const WS_PORT = 28765;
10
+ const HTTP_PORT = 28766;
11
11
  /**
12
12
  * 扩展连接管理
13
13
  */
@@ -18,7 +18,7 @@ export const TAOBAO_TOOLS = [
18
18
  },
19
19
  },
20
20
  {
21
- name: 'fetch_market_info_keyword',
21
+ name: 'fetch_marketInfo_keyword',
22
22
  description: '获取淘宝市场数据,提供在淘宝搜索页查询关键词搜索结果,可以按销量、综合排序取,取多少页数',
23
23
  platform: 'taobao',
24
24
  inputSchema: {
@@ -39,5 +39,32 @@ export const TAOBAO_TOOLS = [
39
39
  },
40
40
  required: ['keyword'],
41
41
  },
42
+ },
43
+ {
44
+ name: 'fetch_rateInfo_url',
45
+ description: '获取淘宝评价数据,提供获取淘宝详情页评价数据',
46
+ platform: 'taobao',
47
+ inputSchema: {
48
+ type: 'object',
49
+ properties: {
50
+ goodsUrl: {
51
+ type: 'string',
52
+ description: '淘宝商品链接',
53
+ },
54
+ goodsId: {
55
+ type: 'String',
56
+ description: '淘宝商品Id',
57
+ },
58
+ pageNo: {
59
+ type: 'string',
60
+ description: '页码',
61
+ },
62
+ filterRate: {
63
+ type: 'boolean',
64
+ description: '是否过滤掉无效评价',
65
+ }
66
+ },
67
+ required: ['goodsId'],
68
+ },
42
69
  }
43
70
  ];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "daguands-mcp",
3
- "version": "1.0.13",
3
+ "version": "1.0.15",
4
4
  "description": "daguands mcp",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",