dsh-mcp-connector 0.2.11 → 0.2.13

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/CHANGELOG.md CHANGED
@@ -4,6 +4,46 @@
4
4
 
5
5
  ## [Unreleased]
6
6
 
7
+ ## [0.2.13] - 2026-08-24
8
+
9
+ ### Added
10
+
11
+ - 当前市场已上架连接器全部进入推荐位;独立 Registry 新增 GitHub、Cloudflare、Notion、Tavily 四张经过官方配置与公开端点探针核验的推荐卡片。
12
+
13
+ ### Changed
14
+
15
+ - 市场筛选精简为“全部 / 推荐 / 业务分类”,移除服务商下拉框和 OAuth、Key / Token、免密接入方式筛选,降低首屏信息密度。
16
+ - 独立 Registry 的北大法宝、Wind、八爪鱼、QVeris、盈米统一使用标准分类并进入推荐位。
17
+
18
+ ### Verification
19
+
20
+ - 84 项插件自动测试、lint、内置目录校验与 45 个 npm 发布文件白名单/敏感内容扫描通过。
21
+ - Registry 9 项测试、9 条连接器构建、schema 校验与远程图标检查通过;GitHub、Cloudflare、Notion、Tavily 均完成 MCP 端点与鉴权元数据探针,未代替用户执行 OAuth 登录或授权后工具调用。
22
+
23
+ ## [0.2.12] - 2026-08-23
24
+
25
+ ### Added
26
+
27
+ - 新增 stdio 本地进程传输:支持手工配置与 `mcpServers` JSON 导入中的 `command`、`args`、`env`、`cwd`,由现有 `@deepseek-ai/dsh-mcp-client` 原生启动并注册工具。
28
+ - 市场 ConnectorDescriptor 与 Registry Schema 支持 stdio Server;公开目录探针只校验描述,绝不执行第三方目录中的本地命令。
29
+ - 市场新增“推荐”与 9 类业务分类筛选,可与搜索、服务商和接入方式组合使用;未知及历史分类在 UI 端安全归一化。
30
+
31
+ ### Changed
32
+
33
+ - 历史 `sse` 与 `type: "http"` 配置统一归一为 `streamable-http`,最终向底层只透传 `stdio` 或 `streamable-http`。
34
+ - 状态、健康检查和详情页识别 stdio 托管连接;目录审计禁止 stdio `env` 携带 token、secret、API Key、password 等密钥类变量。
35
+ - 同一连接切换 HTTP/stdio 传输时会清除上一种传输的 URL、Header、命令与环境变量,避免旧配置或凭据残留。
36
+ - 随包目录统一使用“法律合规”“金融投资”等标准分类,并将北大法宝与 Wind 标记为推荐连接器。
37
+
38
+ ### Security
39
+
40
+ - stdio 仅允许用户主动配置或安装维护者审核过的市场描述;界面明确提示本地命令执行风险,凭据型环境变量只允许保存在本机连接记录中。
41
+
42
+ ### Verification
43
+
44
+ - 84 项自动测试、lint 与 45 个 npm 发布文件白名单/敏感内容扫描通过。
45
+ - 使用 DSH Desktop 自带的 `@deepseek-ai/dsh-mcp-client@0.1.1-rc.2` 完成真实 stdio 运行时冒烟:受控本地 MCP 进程成功启动、注册并调用工具,`args`、`env` 与 `cwd` 透传符合预期。
46
+
7
47
  ## [0.2.11] - 2026-08-23
8
48
 
9
49
  ### Added
@@ -18,7 +58,7 @@
18
58
  ### Verification
19
59
 
20
60
  - 75 项自动测试与 lint 通过;新增 OAuth/OIDC 元数据合并及无撤销端点兼容回归。
21
- - 八爪鱼公开 MCP 端点、Protected Resource Metadata、Authorization Server Metadata、OIDC Discovery、PKCE S256 与动态客户端注册端点探针通过;真实账户授权和工具调用留待 Desktop 用户登录验收。
61
+ - 八爪鱼公开 MCP 端点、Protected Resource Metadata、Authorization Server Metadata、OIDC Discovery、PKCE S256 与动态客户端注册端点探针通过;Desktop 真实账户 OAuth 授权成功,枚举 1 个服务 / 12 个工具,`list_platforms` 只读调用返回成功且未创建或修改任务。
22
62
 
23
63
  ## [0.2.10] - 2026-08-22
24
64
 
package/README.en.md CHANGED
@@ -15,8 +15,8 @@ Browse and install MCP connectors from different providers in DeepSeek Harness D
15
15
  ## Features
16
16
 
17
17
  - A primary sidebar entry below New Conversation and above workspaces/conversations, with a public footer-slot fallback for incompatible DSH DOM versions.
18
- - Searchable Marketplace and Installed views, provider and connection-method filters, catalog refresh, and active health checks that distinguish Configured, Connected, Reauthorization Required, Partially Unavailable, and Connection Error states.
19
- - OAuth 2.0 Authorization Code with PKCE, API key/Bearer/unauthenticated URL configuration, and `mcpServers` JSON import.
18
+ - Searchable Marketplace and Installed views, featured and nine-category filters, catalog refresh, and active health checks that distinguish Configured, Connected, Reauthorization Required, Partially Unavailable, and Connection Error states.
19
+ - OAuth 2.0 Authorization Code with PKCE, API key/Bearer/unauthenticated HTTP configuration, stdio local-process configuration, and `mcpServers` JSON import.
20
20
  - Installation from a credential-free connector descriptor URL.
21
21
  - Credential and MCP initialize validation before API-key connectors are saved as installed.
22
22
  - Dynamic tool discovery grouped by MCP server, including descriptions, search, batched rendering, and an independent scroll region.
@@ -26,7 +26,7 @@ Browse and install MCP connectors from different providers in DeepSeek Harness D
26
26
  - A standalone remote Registry, allowing new marketplace cards to appear after refresh without publishing a new npm version.
27
27
  - Explicit, non-destructive migration of authorization from the two earlier Qichacha OAuth plugins.
28
28
 
29
- The first four bundled cards are Qichacha connectors, followed by PKULaw and Wind. After a remote Registry refresh, Yingmi, QVeris, and Bazhuayu Cloud Collection are also available, for nine published marketplace cards in total. Bazhuayu is the first third-party example to exercise the complete OAuth 2.1 + PKCE dynamic-registration flow; the architecture remains provider-neutral.
29
+ The first four bundled cards are Qichacha connectors, followed by PKULaw and Wind. After a remote Registry refresh, Yingmi, QVeris, Bazhuayu Cloud Collection, GitHub, Cloudflare, Notion, and Tavily are also available, for 13 published marketplace cards after deduplication. Bazhuayu is the first third-party example to exercise the complete OAuth 2.1 + PKCE dynamic-registration flow; the architecture remains provider-neutral.
30
30
 
31
31
  ## Interface and demo
32
32
 
@@ -70,6 +70,7 @@ Connected tools are exposed to the model with the `mcp__<serverName>__*` prefix.
70
70
  The package contains a bundled fallback catalog. By default, it refreshes from the public [dsh-mcp-connector-registry](https://github.com/duhu2000/dsh-mcp-connector-registry); cached or bundled data remains available if the remote registry cannot be reached.
71
71
 
72
72
  The public connector registration process and descriptor requirements are documented in [docs/MARKET-REGISTRATION.md](docs/MARKET-REGISTRATION.md).
73
+ The stdio architecture, passthrough boundary, and security constraints are documented in [docs/STDIO-SUPPORT.md](docs/STDIO-SUPPORT.md).
73
74
 
74
75
  ## Configuration
75
76
 
@@ -100,7 +101,7 @@ npm run dev:ui
100
101
 
101
102
  `npm run check` performs syntax checks, automated tests, and an npm package allowlist/sensitive-content audit. `npm run market:check` tracks the external DSH marketplace PR and live directory. Tags matching `v*` trigger GitHub Actions; the tag must match `package.json`. npm releases use Trusted Publishing through GitHub OIDC and do not require a long-lived `NPM_TOKEN`.
102
103
 
103
- The current public version is [`dsh-mcp-connector@0.2.11`](https://www.npmjs.com/package/dsh-mcp-connector), with [GitHub Release v0.2.11](https://github.com/duhu2000/dsh-mcp-connector/releases/tag/v0.2.11).
104
+ The current public version is [`dsh-mcp-connector@0.2.13`](https://www.npmjs.com/package/dsh-mcp-connector), with [GitHub Release v0.2.13](https://github.com/duhu2000/dsh-mcp-connector/releases/tag/v0.2.13).
104
105
 
105
106
  See [CHANGELOG.md](CHANGELOG.md) for version history and [docs/DESKTOP-E2E.md](docs/DESKTOP-E2E.md) for the Desktop release checklist.
106
107
 
@@ -110,7 +111,8 @@ See [CHANGELOG.md](CHANGELOG.md) for version history and [docs/DESKTOP-E2E.md](d
110
111
  - Failed API key/token validation is not persisted; authentication, timeout, DNS, and TLS/network errors are reported separately.
111
112
  - External URLs must use HTTPS; HTTP is allowed only for loopback development.
112
113
  - Remote descriptors and catalogs are limited to 2 MiB, Web API requests to 1 MiB, and imported JSON is scanned for credential fields before normalization.
113
- - Streamable HTTP is the primary transport. Legacy SSE entries can still be provisioned to the DSH Host, while live health checks, tool discovery, and pagination in the connector UI target Streamable HTTP. stdio entries are explicitly skipped.
114
+ - Streamable HTTP and stdio are supported end to end. Legacy `sse` entries are normalized to Streamable HTTP. The connector passes stdio `command/args/env/cwd` to `@deepseek-ai/dsh-mcp-client` instead of reimplementing process transport.
115
+ - stdio starts a local process. Import or connect only trusted commands and packages; catalog descriptors may not contain token/secret-shaped environment variables.
114
116
  - The primary sidebar placement uses the stable DSH `data-slot` marker and falls back to the footer if that marker is removed.
115
117
 
116
118
  ## License
package/README.md CHANGED
@@ -15,11 +15,11 @@
15
15
  ## 功能
16
16
 
17
17
  - 左侧主导航入口:目标位置为“新会话”下方、“工作区/会话列表”上方;若 DSH DOM 结构不兼容,自动回退到底部公开插槽。
18
- - 图形化市场:市场/已安装、全文搜索、服务商/接入方式组合筛选、刷新与主动健康检查;区分“已配置”、“已连接”、“需重新授权”、“部分异常”和“连接异常”。
19
- - 图形化添加:手动 URL/鉴权、`mcpServers` JSON、连接器描述 URL 三种入口,失败时保留表单并给出修复建议。
18
+ - 图形化市场:市场/已安装、推荐与 9 类业务分类、全文搜索、刷新与主动健康检查;区分“已配置”、“已连接”、“需重新授权”、“部分异常”和“连接异常”。
19
+ - 图形化添加:手动 HTTP/stdio、`mcpServers` JSON、连接器描述 URL 三种入口,失败时保留表单并给出修复建议。
20
20
  - 连接器详情:精选 Prompt 优先展示,点击可带入 DSH 新会话;工具按 Server 分组,支持描述、搜索和独立滚动。
21
21
  - Prompt 模板:使用 `{{company}}` 等变量,发送前填写真实查询主体。
22
- - 三种接入:OAuth 2.0 PKCE、自定义 URL/鉴权、导入 `mcpServers` JSON;也支持从连接器描述 URL 安装。
22
+ - 三种接入:OAuth 2.0 PKCE、自定义 HTTP/stdio、导入 `mcpServers` JSON;也支持从连接器描述 URL 安装。
23
23
  - 市场 Bearer/API Key 连接器先执行 MCP initialize 连通性与凭据校验,全部 Server 通过后才持久化凭据并进入“已安装”。
24
24
  - 生命周期管理:连接持久化、重启恢复、启停、断开、OAuth 刷新与撤销。
25
25
  - 目录运营:内置目录、远程 registry、本地覆盖,支持 `published` 上下架与 `featured` 精选。
@@ -28,7 +28,7 @@
28
28
  - 平滑迁移:显式扫描并复制两个旧企查查 OAuth 插件授权;不删除原插件或原凭据。
29
29
  - 对话工具:`mcp_connector_catalog`、`connect`、`configure`、`import_json`、`install_from_url`、`status`、`health_check`、`set_enabled`、`disconnect`、`refresh_catalog`、`publish`、`tools_list`。
30
30
 
31
- 随包目录前 4 张为企查查连接器,另含“北大法宝·法律检索”和“Wind·股票数据”。远程 Registry 刷新后还会加入“盈米·基金投顾”、“QVerisMCP”和“八爪鱼·云采集”,当前共 9 张已发布市场卡片;其中八爪鱼是首个完整跑通标准 OAuth 2.1 + PKCE 动态注册链路的第三方示例,插件架构不限定厂商。
31
+ 随包目录前 4 张为企查查连接器,另含“北大法宝·法律检索”和“Wind·股票数据”。远程 Registry 刷新后还会加入“盈米·基金投顾”、“QVerisMCP”、“八爪鱼·云采集”、GitHub、Cloudflare、Notion 和 Tavily,合并去重后当前共 13 张已发布市场卡片;其中八爪鱼是首个完整跑通标准 OAuth 2.1 + PKCE 动态注册链路的第三方示例,插件架构不限定厂商。
32
32
 
33
33
  ## 界面与演示
34
34
 
@@ -96,11 +96,12 @@ npm run dev:ui
96
96
 
97
97
  `check` 执行语法检查、自动测试和 npm 发布包白名单校验;`market:check` 检查外部 DSH 市场 PR 与线上目录;`dev:ui` 启动不含真实凭据的本地 mock 市场。CI 使用 `--legacy-peer-deps` 安装显式测试依赖,DSH 运行期 peer 仍由 Host 提供。`v*` Tag 会触发 GitHub Actions;Tag 必须与 `package.json` 版本一致。Release 通过 npm Trusted Publishing (GitHub OIDC) 发布,不依赖长期 `NPM_TOKEN`。
98
98
 
99
- 当前公开版本为 [`dsh-mcp-connector@0.2.11`](https://www.npmjs.com/package/dsh-mcp-connector),对应 [GitHub Release v0.2.11](https://github.com/duhu2000/dsh-mcp-connector/releases/tag/v0.2.11)。
99
+ 当前公开版本为 [`dsh-mcp-connector@0.2.13`](https://www.npmjs.com/package/dsh-mcp-connector),对应 [GitHub Release v0.2.13](https://github.com/duhu2000/dsh-mcp-connector/releases/tag/v0.2.13)。
100
100
 
101
101
  版本能力与变更记录见 [CHANGELOG.md](CHANGELOG.md)。
102
102
  Desktop 发版回归见 [docs/DESKTOP-E2E.md](docs/DESKTOP-E2E.md)。
103
103
  市场卡片、公共 registry 与 OAuth 一键授权要求见 [docs/MARKET-REGISTRATION.md](docs/MARKET-REGISTRATION.md)。
104
+ stdio 传输的架构、透传边界与安全约束见 [docs/STDIO-SUPPORT.md](docs/STDIO-SUPPORT.md)。
104
105
 
105
106
  ## 安全与限制
106
107
 
@@ -108,7 +109,8 @@ Desktop 发版回归见 [docs/DESKTOP-E2E.md](docs/DESKTOP-E2E.md)。
108
109
  - 市场 Key/Token 校验失败时不写入 storage domain;鉴权、超时、DNS、TLS/网络错误会分类提示。
109
110
  - 外部 URL 仅允许 HTTPS,HTTP 仅允许回环地址;导入配置会校验 URL 与 Header。
110
111
  - 远程目录/描述响应限制 2 MiB,Web API 请求限制 1 MiB;原始 JSON 在归一化前扫描凭据字段。
111
- - 当前以 Streamable HTTP 为主;可把旧 SSE 条目交给 DSH Host 兼容运行,但详情页的实时健康检查、工具枚举和分页仅面向 Streamable HTTP。stdio 配置会被明确跳过。
112
+ - 完整覆盖 Streamable HTTP 与 stdio;旧 `sse` 配置在导入/恢复时归一为 Streamable HTTP。stdio 的 `command/args/env/cwd` 原样交给 `@deepseek-ai/dsh-mcp-client`,插件本身不重复实现进程传输。
113
+ - stdio 会启动本机进程:仅导入或连接可信命令/软件包。市场目录不得携带 token/secret 类环境变量;用户凭据只允许在本机配置。
112
114
  - 顶部入口通过 DSH 稳定 `data-slot` 定位并使用 React Portal;DSH 若移除该标记,入口会回退到底部,不影响连接器功能。
113
115
  - 旧授权迁移必须显式确认,只复制不删除;确认新连接可用后再手动停用旧插件。
114
116
 
@@ -72,7 +72,7 @@
72
72
  "description": "法律法规逐字条文、指导性/公报/典型案例检索、案号引用核验,面向法律意见书与类案检索场景。",
73
73
  "tags": ["法律", "法规", "案例", "核验"],
74
74
  "published": true,
75
- "featured": false,
75
+ "featured": true,
76
76
  "homepage": "https://open.qcc.com",
77
77
  "promptVariables": [
78
78
  { "name": "topic", "label": "法律主题", "default": "劳动合同解除", "placeholder": "例如:劳动合同解除", "required": true }
@@ -106,7 +106,7 @@
106
106
  "description": "覆盖全国招投标公告、中标结果、采购信息,适用于竞对分析、市场研究、销售线索挖掘场景。",
107
107
  "tags": ["招投标", "采购", "中标", "竞对"],
108
108
  "published": true,
109
- "featured": false,
109
+ "featured": true,
110
110
  "homepage": "https://open.qcc.com",
111
111
  "promptVariables": [
112
112
  { "name": "keyword", "label": "项目关键词", "default": "智慧城市", "placeholder": "例如:智慧城市", "required": true },
@@ -139,7 +139,7 @@
139
139
  "description": "基于企业数据自动生成分析报告、尽职调查文档,支持文档结构化解析与内容提取。",
140
140
  "tags": ["文档", "报告", "分析"],
141
141
  "published": true,
142
- "featured": false,
142
+ "featured": true,
143
143
  "homepage": "https://open.qcc.com",
144
144
  "promptVariables": [
145
145
  { "name": "company", "label": "企业名称", "default": "小米科技有限责任公司", "placeholder": "例如:小米科技有限责任公司", "required": true }
@@ -166,12 +166,12 @@
166
166
  "name": "北大法宝·法律检索",
167
167
  "vendor": "北大法宝 PKULaw",
168
168
  "icon": "/mcp-connector/ui/assets/pkulaw-logo.png",
169
- "category": "法律数据",
169
+ "category": "法律合规",
170
170
  "summary": "法规 / 法条 / 司法案例检索与引用核验",
171
171
  "description": "接入北大法宝法律法规、司法案例、法条识别与引用核验能力。需使用北大法宝 Access Token,相关服务可能需要单独开通或购买。",
172
172
  "tags": ["法律", "法规", "案例", "法条", "第三方收录"],
173
173
  "published": true,
174
- "featured": false,
174
+ "featured": true,
175
175
  "homepage": "https://mcp.pkulaw.com/",
176
176
  "promptVariables": [
177
177
  { "name": "topic", "label": "法律主题", "default": "劳动合同解除", "placeholder": "例如:劳动合同解除", "required": true },
@@ -208,12 +208,12 @@
208
208
  "name": "Wind·股票数据",
209
209
  "vendor": "Wind 万得",
210
210
  "icon": "/mcp-connector/ui/assets/wind-logo.png",
211
- "category": "金融数据",
211
+ "category": "金融投资",
212
212
  "summary": "全球股票档案 / 行情 / 技术指标 / 财务与公司事件",
213
213
  "description": "接入万得股票数据服务,覆盖公司档案、股本与股东、行情报价、技术指标、基本面财务、公司事件及风险波动性数据。需使用 Wind Key,服务权限以万得账户实际开通范围为准。",
214
214
  "tags": ["股票", "行情", "财务", "技术指标", "第三方收录"],
215
215
  "published": true,
216
- "featured": false,
216
+ "featured": true,
217
217
  "homepage": "https://aifinmarket.wind.com.cn/#/market?tab=mcps&detailType=mcp&detailId=wind_stock_data-0",
218
218
  "promptVariables": [
219
219
  { "name": "stock", "label": "股票名称或代码", "default": "贵州茅台(600519.SH)", "placeholder": "例如:贵州茅台(600519.SH)", "required": true }
@@ -168,7 +168,7 @@ QVeris Hosted MCP 提供单一 Streamable HTTP 端点 `https://mcp.qveris.ai/mcp
168
168
 
169
169
  因此可以作为本市场首个完整的第三方 OAuth 一键授权示例。连接器不复用 WorkBuddy 的 `client_id` 或私有回调协议,而是由 DSH 插件为本机 loopback callback 动态注册独立公共客户端;授权结果只保存在 DSH storage domain。
170
170
 
171
- 市场卡片使用八爪鱼官网 favicon 的像素副本并由 Registry 自托管;能力描述与 10 个工具快照以官方 MCP 文档为准。涉及启动/停止云任务的 Prompt 必须先征求用户确认,实际云采集配额、费用、平台范围与数据使用责任以用户账户和八爪鱼官方规则为准。
171
+ 市场卡片使用八爪鱼官网 favicon 的像素副本并由 Registry 自托管。官方文档基线列出 10 个工具;2026-08-23 Desktop 真实授权后服务端实际返回 12 个工具,新增 `get_task_status` 与 `describe_ecommerce_dataset`,Registry 快照已按运行时结果校正。`list_platforms` 只读调用成功并返回 902 个平台。涉及启动/停止云任务的 Prompt 必须先征求用户确认,实际云采集配额、费用、平台范围与数据使用责任以用户账户和八爪鱼官方规则为准。
172
172
 
173
173
  参考:
174
174