dsh-plugin-mcp-mvp-mes 0.0.0-stage → 0.1.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/LICENSE +21 -0
- package/README.md +51 -3
- package/cordis.patch.yml +24 -0
- package/package.json +13 -6
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,3 +1,51 @@
|
|
|
1
|
-
#
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
# dsh-plugin-mcp-mvp-mes
|
|
2
|
+
|
|
3
|
+
MOM MES MCP Connector for DeepSeek Harness (DSH)
|
|
4
|
+
|
|
5
|
+
## 简介
|
|
6
|
+
|
|
7
|
+
这是一个 Streamable HTTP 类型 MCP 连接器,对接 MOM MES 制造执行系统。
|
|
8
|
+
DSH 安装插件后,配置 API Key 和后端地址,即可调用 MES 相关工具,用于工单查询、设备状态、生产记录等业务操作。
|
|
9
|
+
|
|
10
|
+
> 本插件仅为 DSH 配置桥接包,**不包含 MES 后端服务**,依赖独立部署的 MCP 服务。
|
|
11
|
+
|
|
12
|
+
## MCP 信息
|
|
13
|
+
|
|
14
|
+
- Transport: `streamable-http`
|
|
15
|
+
- Endpoint: `https://mom-mes-connector-t.hdt.cosmoplat.com/mcp`
|
|
16
|
+
|
|
17
|
+
## 安装
|
|
18
|
+
|
|
19
|
+
```bash
|
|
20
|
+
# Web 配置文件
|
|
21
|
+
dsh plugin --profile web add dsh-plugin-mcp-mvp-mes
|
|
22
|
+
|
|
23
|
+
# Desktop 配置文件
|
|
24
|
+
dsh plugin --profile desktop add dsh-plugin-mcp-mvp-mes
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
## 使用说明
|
|
28
|
+
|
|
29
|
+
1. 安装插件
|
|
30
|
+
2. 打开插件配置面板,填写两项参数:
|
|
31
|
+
- `apiKey`:Bearer 认证密钥
|
|
32
|
+
- `xApiBaseUrl`:MES 后端基础地址,示例:`https://mom-dev.hdt.cosmoplat.com`
|
|
33
|
+
3. 保存配置,DSH 自动连接 MCP 服务,加载可用工具列表
|
|
34
|
+
|
|
35
|
+
## 参数说明
|
|
36
|
+
|
|
37
|
+
- `apiKey`:用于 `Authorization: Bearer` 鉴权
|
|
38
|
+
- `xApiBaseUrl`:请求头 `x-api-base-url`,用于后端路由转发
|
|
39
|
+
|
|
40
|
+
## 自测清单
|
|
41
|
+
|
|
42
|
+
- ✅ 本地 tgz 包安装成功
|
|
43
|
+
- ✅ 配置表单正常渲染,必填项校验生效
|
|
44
|
+
- ✅ 可正常调用 `tools/list` 获取工具
|
|
45
|
+
- ✅ Header 注入逻辑正确:`Authorization`、`x-api-base-url`
|
|
46
|
+
- ✅ 无硬编码密钥,凭据由用户自行维护
|
|
47
|
+
|
|
48
|
+
## License
|
|
49
|
+
|
|
50
|
+
MIT
|
|
51
|
+
|
package/cordis.patch.yml
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
insert:
|
|
2
|
+
- id: mcp-mvp-mes
|
|
3
|
+
name: mcp-mvp-mes
|
|
4
|
+
config:
|
|
5
|
+
transport: streamable-http
|
|
6
|
+
url: "https://mom-mes-connector-t.hdt.cosmoplat.com/mcp"
|
|
7
|
+
headers:
|
|
8
|
+
Authorization: "Bearer {{apiKey}}"
|
|
9
|
+
x-api-base-url: "{{xApiBaseUrl}}"
|
|
10
|
+
configurable: true
|
|
11
|
+
configSchema:
|
|
12
|
+
type: object
|
|
13
|
+
properties:
|
|
14
|
+
apiKey:
|
|
15
|
+
type: string
|
|
16
|
+
title: "API Key"
|
|
17
|
+
description: "认证密钥,示例:deecfd29-34da-4504-a745-22d69bf840c7"
|
|
18
|
+
xApiBaseUrl:
|
|
19
|
+
type: string
|
|
20
|
+
title: "x-api-base-url"
|
|
21
|
+
description: "后端基础地址,示例:https://mom-dev.hdt.cosmoplat.com"
|
|
22
|
+
required:
|
|
23
|
+
- apiKey
|
|
24
|
+
- xApiBaseUrl
|
package/package.json
CHANGED
|
@@ -1,6 +1,13 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "dsh-plugin-mcp-mvp-mes",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
|
|
1
|
+
{
|
|
2
|
+
"name": "dsh-plugin-mcp-mvp-mes",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "MOM MES MCP 连接器,对接 mom-mes-connector-t.hdt.cosmoplat.com",
|
|
5
|
+
"keywords": ["dsh-plugin", "deepseek-harness", "mcp", "mes", "mom"],
|
|
6
|
+
"engines": {
|
|
7
|
+
"dsh": ">=0.1.0-rc.6"
|
|
8
|
+
},
|
|
9
|
+
"dependencies": {},
|
|
10
|
+
"files": [
|
|
11
|
+
"cordis.patch.yml"
|
|
12
|
+
]
|
|
13
|
+
}
|