beacon-mfg-mcp 1.6.0 → 1.7.0
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/RELEASE.md +23 -2
- package/package.json +49 -44
- package/server.py +3739 -3483
package/RELEASE.md
CHANGED
|
@@ -1,8 +1,29 @@
|
|
|
1
|
-
# Beacon-MFG 只读 MCP 服务 · v1.
|
|
1
|
+
# Beacon-MFG 只读 MCP 服务 · v1.7.0
|
|
2
2
|
|
|
3
3
|
面向 Agent 的供应商名录检索服务:**只读**,不参与交易、不写入任何数据、不持有密钥。
|
|
4
4
|
|
|
5
|
-
## 本次更新(v1.
|
|
5
|
+
## 本次更新(v1.7.0)
|
|
6
|
+
|
|
7
|
+
**一句话:从「工厂名录」升级为「全部国标行业门类的主体名录」——服务业、
|
|
8
|
+
流通业主体现在是一等公民,不再被当成「非制造商」反向排除。**
|
|
9
|
+
|
|
10
|
+
- **新增 `etype` 参数**(`生产` / `流通` / `服务`),替换已下线的 `manufacturer_only`。
|
|
11
|
+
按国标门类推导:生产 = A/B/C/D/E(含采矿、电力、建筑),流通 = F/G,服务 = H~S。
|
|
12
|
+
旧的布尔开关在全行业口径下会把采矿/电力/建筑这些生产型主体也排掉,所以直接下线,
|
|
13
|
+
不做兼容层;传非法值返回 `bad_etype` 而不是静默忽略。
|
|
14
|
+
- **修复 `etype` 只筛计数不筛结果**:别名召回与能力召回两条路径绕过了统一过滤点,
|
|
15
|
+
表现为「`total_matched` 跟着 etype 变、`results` 却原样返回」。
|
|
16
|
+
- **能力命中提到首档排序**:查询词是能力别名时(「医院」「银行」「药店」「物流」),
|
|
17
|
+
主体本身干这个的排在「名字里恰好有这个词」的前面。此前搜「医院」前 10 条全是
|
|
18
|
+
「XX酒店(市人民医院店)」。
|
|
19
|
+
- **修复一词多码被单域抢占**:`物流` 原来只映射到零售域的 `rdm_freight`,物流服务域的
|
|
20
|
+
`log_freight` 永不命中;改为一词多码后按域并集召回。
|
|
21
|
+
- **`_name_fit` 增加连片命中分档**:关键词在品牌名里连续出现(「贵州启谋法律顾问部」)
|
|
22
|
+
得 2 分,散落命中得 1 分,缓解同名门店压过本体的老问题。
|
|
23
|
+
- 数据侧同步覆盖到 B/D/G/J/K/L/N/Q 八个原本空白门类(采矿、电力热力、住宿餐饮之外
|
|
24
|
+
的交通运输、信息服务、金融、租赁商务、科研技术、水利环境、居民服务等)。
|
|
25
|
+
|
|
26
|
+
## 本次更新(v1.6.0,已发布)
|
|
6
27
|
|
|
7
28
|
- **新增 `account` 工具**(`status` / `request` / `confirm` / `logout`):匿名档查额度、
|
|
8
29
|
绑手机号升 `verified`、解绑回匿名。此前没有任何升级入口,verified 档等于空档。
|
package/package.json
CHANGED
|
@@ -1,44 +1,49 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "beacon-mfg-mcp",
|
|
3
|
-
"version": "1.
|
|
4
|
-
"description": "Read-only MCP server exposing the BeaconMFG
|
|
5
|
-
"keywords": [
|
|
6
|
-
"mcp",
|
|
7
|
-
"model-context-protocol",
|
|
8
|
-
"beacon-mfg",
|
|
9
|
-
"
|
|
10
|
-
"
|
|
11
|
-
"china",
|
|
12
|
-
"
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
"
|
|
17
|
-
"
|
|
18
|
-
|
|
19
|
-
"
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
"
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
"
|
|
33
|
-
"
|
|
34
|
-
"
|
|
35
|
-
"
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
"
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "beacon-mfg-mcp",
|
|
3
|
+
"version": "1.7.0",
|
|
4
|
+
"description": "Read-only MCP server exposing the BeaconMFG灯塔 directory of business entities across ALL GB/T 4754 industry divisions (manufacturing, services, retail, logistics, catering, IT, and more) to any MCP-compatible agent. No signup and no API key: an anonymous identity is generated on first run, phone binding is optional (only needed for L2 capability cards).",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"mcp",
|
|
7
|
+
"model-context-protocol",
|
|
8
|
+
"beacon-mfg",
|
|
9
|
+
"business-directory",
|
|
10
|
+
"company-search",
|
|
11
|
+
"china",
|
|
12
|
+
"gb-t-4754",
|
|
13
|
+
"industry-classification",
|
|
14
|
+
"suppliers",
|
|
15
|
+
"manufacturing",
|
|
16
|
+
"service-providers",
|
|
17
|
+
"sourcing"
|
|
18
|
+
],
|
|
19
|
+
"homepage": "https://github.com/eiry16/beacon-mfg#readme",
|
|
20
|
+
"repository": {
|
|
21
|
+
"type": "git",
|
|
22
|
+
"url": "git+https://github.com/eiry16/beacon-mfg.git"
|
|
23
|
+
},
|
|
24
|
+
"bugs": {
|
|
25
|
+
"url": "https://github.com/eiry16/beacon-mfg/issues"
|
|
26
|
+
},
|
|
27
|
+
"license": "MIT",
|
|
28
|
+
"bin": {
|
|
29
|
+
"beacon-mfg-mcp": "bin/beacon-mfg-mcp.js"
|
|
30
|
+
},
|
|
31
|
+
"files": [
|
|
32
|
+
"server.py",
|
|
33
|
+
"identity.py",
|
|
34
|
+
"http_server.py",
|
|
35
|
+
"mcp_adapter.py",
|
|
36
|
+
"bin/",
|
|
37
|
+
"rfq-kernel/",
|
|
38
|
+
"copy-rfk.js",
|
|
39
|
+
"README.md",
|
|
40
|
+
"RELEASE.md"
|
|
41
|
+
],
|
|
42
|
+
"scripts": {
|
|
43
|
+
"prepack": "node copy-rfk.js"
|
|
44
|
+
},
|
|
45
|
+
"engines": {
|
|
46
|
+
"node": ">=16"
|
|
47
|
+
},
|
|
48
|
+
"dependencies": {}
|
|
49
|
+
}
|