dsh-mcp-connector 0.2.108 → 0.2.110

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
@@ -1,5 +1,17 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.2.110 - 2026-11-17
4
+
5
+ - 新增执中 PE/base 双入口 stdio 桥接,通过本机凭据绑定适配官方 URL query API Key。
6
+ - 桥接限定官方端点,拒绝重定向、不自动重试,并对错误及返回内容做密钥脱敏。
7
+ - PE 表目录读取和 base 经桥接单次专利查询完成限定范围运行验收;其他工具和完整 DSH 界面流程未逐项验收。
8
+
9
+ ## 0.2.109
10
+
11
+ - 首页分类表仅展示去重后的连接器总数,每类最多三个示例,更多条目用“等”提示。
12
+ - 分类名称跳转完整目录对应分类;详情目录补齐内置卡片,保持数量与列表一致。
13
+ - 同步分类概览自动更新校验及本版本产品素材。
14
+
3
15
  ## 0.2.108
4
16
 
5
17
  - npm 与 GitHub 简介前置完整九分类表格,展示连接器数量和可点击的代表条目。
package/README.en.md CHANGED
@@ -7,19 +7,19 @@
7
7
  <!-- catalog-directory:start -->
8
8
  ## 按分类寻找连接器
9
9
 
10
- 覆盖全部 9 个分类;公共条目与插件内置卡片分别统计,示例不是使用量排行。
10
+ 覆盖全部 9 个分类,数量按连接器去重统计。点击分类查看完整列表;以下为部分连接器示例。
11
11
 
12
12
  | 分类 | 连接器数量 | 主要连接器 |
13
13
  |---|---:|---|
14
- | 企业数据 | 公共 0+内置 2 | [企查查·企业工商](https://github.com/duhu2000/dsh-mcp-connector/blob/main/catalog/catalog.json)、[企查查·招投标](https://github.com/duhu2000/dsh-mcp-connector/blob/main/catalog/catalog.json) |
15
- | 金融投资 | 公共 13+内置 0 | [Wind·股票数据](https://github.com/duhu2000/dsh-mcp-connector-registry/blob/main/connectors/wind-stock-data.json)、[TuShare](https://github.com/duhu2000/dsh-mcp-connector-registry/blob/main/connectors/tushare.json)、[AKShare](https://github.com/duhu2000/dsh-mcp-connector-registry/blob/main/connectors/akshare.json)、[BIS 全球银行与金融统计](https://github.com/duhu2000/dsh-mcp-connector-registry/blob/main/connectors/bis-global-statistics.json)、[巨潮资讯上市公司报告](https://github.com/duhu2000/dsh-mcp-connector-registry/blob/main/connectors/cninfo-listed-company-reports.json) |
16
- | 法律合规 | 公共 4+内置 1 | [企查查·法律数据](https://github.com/duhu2000/dsh-mcp-connector/blob/main/catalog/catalog.json)、[北大法宝·法律检索](https://github.com/duhu2000/dsh-mcp-connector-registry/blob/main/connectors/pkulaw-legal.json)、[巴西参议院开放数据](https://github.com/duhu2000/dsh-mcp-connector-registry/blob/main/connectors/brazil-senate-open-data.json)、[元典法律数据](https://github.com/duhu2000/dsh-mcp-connector-registry/blob/main/connectors/huayu-legal.json)、[威科先行](https://github.com/duhu2000/dsh-mcp-connector-registry/blob/main/connectors/wolterskluwer.json) |
17
- | 调研分析 | 公共 38+内置 0 | [飞常准航空数据](https://github.com/duhu2000/dsh-mcp-connector-registry/blob/main/connectors/variflight-aviation-data.json)、[智慧芽专利与文献](https://github.com/duhu2000/dsh-mcp-connector-registry/blob/main/connectors/patsnap.json)、[OpenAlex 全球学术研究](https://github.com/duhu2000/dsh-mcp-connector-registry/blob/main/connectors/openalex-research-catalog.json)、[PubMed 生物医学文献](https://github.com/duhu2000/dsh-mcp-connector-registry/blob/main/connectors/pubmed-biomedical-literature.json)、[AgentNative 政府公共数据](https://github.com/duhu2000/dsh-mcp-connector-registry/blob/main/connectors/agentnative-government-open-data.json) |
18
- | 办公协作 | 公共 17+内置 0 | [腾讯文档](https://github.com/duhu2000/dsh-mcp-connector-registry/blob/main/connectors/tencent-docs.json)、[飞书开放平台](https://github.com/duhu2000/dsh-mcp-connector-registry/blob/main/connectors/feishu.json)、[Notion](https://github.com/duhu2000/dsh-mcp-connector-registry/blob/main/connectors/notion.json)、[钉钉工作台](https://github.com/duhu2000/dsh-mcp-connector-registry/blob/main/connectors/dingtalk.json)、[Google 日历](https://github.com/duhu2000/dsh-mcp-connector-registry/blob/main/connectors/google-calendar.json) |
19
- | 开发工具 | 公共 23+内置 0 | [GitHub](https://github.com/duhu2000/dsh-mcp-connector-registry/blob/main/connectors/github.json)、[Playwright](https://github.com/duhu2000/dsh-mcp-connector-registry/blob/main/connectors/playwright.json)、[Chrome DevTools](https://github.com/duhu2000/dsh-mcp-connector-registry/blob/main/connectors/chrome-devtools.json)、[腾讯云 CloudBase](https://github.com/duhu2000/dsh-mcp-connector-registry/blob/main/connectors/cloudbase.json)、[Cloudflare](https://github.com/duhu2000/dsh-mcp-connector-registry/blob/main/connectors/cloudflare-api.json) |
20
- | 设计创意 | 公共 10+内置 0 | [Canva 可画](https://github.com/duhu2000/dsh-mcp-connector-registry/blob/main/connectors/canva.json)、[draw.io](https://github.com/duhu2000/dsh-mcp-connector-registry/blob/main/connectors/drawio.json)、[可灵 AI(AceDataCloud)](https://github.com/duhu2000/dsh-mcp-connector-registry/blob/main/connectors/kling.json)、[MasterGo Magic MCP](https://github.com/duhu2000/dsh-mcp-connector-registry/blob/main/connectors/mastergo.json)、[MediaKit CLI](https://github.com/duhu2000/dsh-mcp-connector-registry/blob/main/connectors/mediakit.json) |
21
- | 效率工具 | 公共 6+内置 1 | [企查查·智能文档解析](https://github.com/duhu2000/dsh-mcp-connector/blob/main/catalog/catalog.json)、[高德地图](https://github.com/duhu2000/dsh-mcp-connector-registry/blob/main/connectors/amap.json)、[百度地图](https://github.com/duhu2000/dsh-mcp-connector-registry/blob/main/connectors/baidu-maps.json)、[八爪鱼·云采集](https://github.com/duhu2000/dsh-mcp-connector-registry/blob/main/connectors/bazhuayu-cloud-collection.json)、[中华通胜 · 黄历择日 MCP](https://github.com/duhu2000/dsh-mcp-connector-registry/blob/main/connectors/chinese-almanac-mcp.json) |
22
- | 其他 | 公共 2+内置 0 | [FlyBest·AI 订酒店](https://github.com/duhu2000/dsh-mcp-connector-registry/blob/main/connectors/flybest-hotels.json)、[QVerisMCP](https://github.com/duhu2000/dsh-mcp-connector-registry/blob/main/connectors/qveris-capability-network.json) |
14
+ | [企业数据](https://github.com/duhu2000/dsh-mcp-connector-registry/blob/main/docs/CONNECTOR-DIRECTORY.md#%E4%BC%81%E4%B8%9A%E6%95%B0%E6%8D%AE) | 2 | [企查查·企业工商](https://github.com/duhu2000/dsh-mcp-connector/blob/main/catalog/catalog.json)、[企查查·招投标](https://github.com/duhu2000/dsh-mcp-connector/blob/main/catalog/catalog.json) |
15
+ | [金融投资](https://github.com/duhu2000/dsh-mcp-connector-registry/blob/main/docs/CONNECTOR-DIRECTORY.md#%E9%87%91%E8%9E%8D%E6%8A%95%E8%B5%84) | 13 | [Wind·股票数据](https://github.com/duhu2000/dsh-mcp-connector-registry/blob/main/connectors/wind-stock-data.json)、[TuShare](https://github.com/duhu2000/dsh-mcp-connector-registry/blob/main/connectors/tushare.json)、[AKShare](https://github.com/duhu2000/dsh-mcp-connector-registry/blob/main/connectors/akshare.json) 等 |
16
+ | [法律合规](https://github.com/duhu2000/dsh-mcp-connector-registry/blob/main/docs/CONNECTOR-DIRECTORY.md#%E6%B3%95%E5%BE%8B%E5%90%88%E8%A7%84) | 5 | [企查查·法律数据](https://github.com/duhu2000/dsh-mcp-connector/blob/main/catalog/catalog.json)、[北大法宝·法律检索](https://github.com/duhu2000/dsh-mcp-connector-registry/blob/main/connectors/pkulaw-legal.json)、[巴西参议院开放数据](https://github.com/duhu2000/dsh-mcp-connector-registry/blob/main/connectors/brazil-senate-open-data.json) 等 |
17
+ | [调研分析](https://github.com/duhu2000/dsh-mcp-connector-registry/blob/main/docs/CONNECTOR-DIRECTORY.md#%E8%B0%83%E7%A0%94%E5%88%86%E6%9E%90) | 42 | [飞常准航空数据](https://github.com/duhu2000/dsh-mcp-connector-registry/blob/main/connectors/variflight-aviation-data.json)、[智慧芽专利与文献](https://github.com/duhu2000/dsh-mcp-connector-registry/blob/main/connectors/patsnap.json)、[OpenAlex 全球学术研究](https://github.com/duhu2000/dsh-mcp-connector-registry/blob/main/connectors/openalex-research-catalog.json) 等 |
18
+ | [办公协作](https://github.com/duhu2000/dsh-mcp-connector-registry/blob/main/docs/CONNECTOR-DIRECTORY.md#%E5%8A%9E%E5%85%AC%E5%8D%8F%E4%BD%9C) | 17 | [腾讯文档](https://github.com/duhu2000/dsh-mcp-connector-registry/blob/main/connectors/tencent-docs.json)、[飞书开放平台](https://github.com/duhu2000/dsh-mcp-connector-registry/blob/main/connectors/feishu.json)、[Notion](https://github.com/duhu2000/dsh-mcp-connector-registry/blob/main/connectors/notion.json) 等 |
19
+ | [开发工具](https://github.com/duhu2000/dsh-mcp-connector-registry/blob/main/docs/CONNECTOR-DIRECTORY.md#%E5%BC%80%E5%8F%91%E5%B7%A5%E5%85%B7) | 23 | [GitHub](https://github.com/duhu2000/dsh-mcp-connector-registry/blob/main/connectors/github.json)、[Playwright](https://github.com/duhu2000/dsh-mcp-connector-registry/blob/main/connectors/playwright.json)、[Chrome DevTools](https://github.com/duhu2000/dsh-mcp-connector-registry/blob/main/connectors/chrome-devtools.json) 等 |
20
+ | [设计创意](https://github.com/duhu2000/dsh-mcp-connector-registry/blob/main/docs/CONNECTOR-DIRECTORY.md#%E8%AE%BE%E8%AE%A1%E5%88%9B%E6%84%8F) | 10 | [Canva 可画](https://github.com/duhu2000/dsh-mcp-connector-registry/blob/main/connectors/canva.json)、[draw.io](https://github.com/duhu2000/dsh-mcp-connector-registry/blob/main/connectors/drawio.json)、[可灵 AI(AceDataCloud)](https://github.com/duhu2000/dsh-mcp-connector-registry/blob/main/connectors/kling.json) 等 |
21
+ | [效率工具](https://github.com/duhu2000/dsh-mcp-connector-registry/blob/main/docs/CONNECTOR-DIRECTORY.md#%E6%95%88%E7%8E%87%E5%B7%A5%E5%85%B7) | 7 | [企查查·智能文档解析](https://github.com/duhu2000/dsh-mcp-connector/blob/main/catalog/catalog.json)、[高德地图](https://github.com/duhu2000/dsh-mcp-connector-registry/blob/main/connectors/amap.json)、[百度地图](https://github.com/duhu2000/dsh-mcp-connector-registry/blob/main/connectors/baidu-maps.json) 等 |
22
+ | [其他](https://github.com/duhu2000/dsh-mcp-connector-registry/blob/main/docs/CONNECTOR-DIRECTORY.md#%E5%85%B6%E4%BB%96) | 2 | [FlyBest·AI 订酒店](https://github.com/duhu2000/dsh-mcp-connector-registry/blob/main/connectors/flybest-hotels.json)、[QVerisMCP](https://github.com/duhu2000/dsh-mcp-connector-registry/blob/main/connectors/qveris-capability-network.json) |
23
23
 
24
24
  [完整分类目录](https://github.com/duhu2000/dsh-mcp-connector-registry/blob/main/docs/CONNECTOR-DIRECTORY.md) · [近期新增](https://github.com/duhu2000/dsh-mcp-connector-registry/blob/main/docs/RECENT-ADDITIONS.md)
25
25
  <!-- catalog-directory:end -->
@@ -142,7 +142,7 @@ If the plugin helps you connect an MCP server faster, consider [starring the rep
142
142
  - The two legacy Qichacha OAuth plugins support explicit authorization migration. For an affected connection, select **Connection error** in the marketplace or **View recovery steps** under Installed to see which DSH plugin or remaining service entry to disable. After a full DSH restart, MCP Connector takes over the authorization, or prompts for authorization again if it has expired.
143
143
 
144
144
  <!-- catalog-stats:start -->
145
- As of 2026-11-14, the public Registry publishes 113 connector descriptors. After merging and deduplicating them with the 4 bundled Qichacha cards, the Marketplace exposes 117 cards across 9 business categories. Homepage recommendations follow the installed plugin version, not the Registry featured count. The Registry evolves independently; the badge shown after a client refresh and the live badges above are the authoritative current counts.
145
+ As of 2026-11-16, the public Registry publishes 117 connector descriptors. After merging and deduplicating them with the 4 bundled Qichacha cards, the Marketplace exposes 121 cards across 9 business categories. Homepage recommendations follow the installed plugin version, not the Registry featured count. The Registry evolves independently; the badge shown after a client refresh and the live badges above are the authoritative current counts.
146
146
  <!-- catalog-stats:end -->
147
147
 
148
148
  ## Interface and demo
@@ -157,7 +157,7 @@ As of 2026-11-14, the public Registry publishes 113 connector descriptors. After
157
157
  | Connection diagnostics and last-success cache | |
158
158
  | ![Connection diagnostics](https://raw.githubusercontent.com/duhu2000/dsh-mcp-connector/main/docs/screenshots/en/07-connection-diagnostics.png) | |
159
159
 
160
- <!-- generated:media -->English UI screenshots and GIF were captured from v0.2.108 (2026-11-14), using the credential-free Mock harness. Provider content retains its original language. They demonstrate UI, not real business acceptance; counts are fixtures. See [asset provenance](docs/screenshots/README.md).<!-- /generated:media -->
160
+ <!-- generated:media -->English UI screenshots and GIF were captured from v0.2.110 (2026-11-17), using the credential-free Mock harness. Provider content retains its original language. They demonstrate UI, not real business acceptance; counts are fixtures. See [asset provenance](docs/screenshots/README.md).<!-- /generated:media -->
161
161
 
162
162
  ## Installation
163
163
 
@@ -299,7 +299,7 @@ npm run dev:ui
299
299
 
300
300
  Every Registry merge regenerates `catalog-stats.json`; an hourly workflow in this repository synchronizes the Chinese and English product copy plus a local stats snapshot. The static npm README updates with package releases, while the live badges above read the Registry directly and therefore stay current without another npm release.
301
301
 
302
- <!-- generated:version -->The current public version is [`dsh-mcp-connector@0.2.108`](https://www.npmjs.com/package/dsh-mcp-connector), with [GitHub Release v0.2.108](https://github.com/duhu2000/dsh-mcp-connector/releases/tag/v0.2.108).<!-- /generated:version -->
302
+ <!-- generated:version -->The current public version is [`dsh-mcp-connector@0.2.110`](https://www.npmjs.com/package/dsh-mcp-connector), with [GitHub Release v0.2.110](https://github.com/duhu2000/dsh-mcp-connector/releases/tag/v0.2.110).<!-- /generated:version -->
303
303
 
304
304
  See [CHANGELOG.md](CHANGELOG.md) for version history and [docs/DESKTOP-E2E.md](docs/DESKTOP-E2E.md) for the Desktop release checklist.
305
305
 
package/README.md CHANGED
@@ -7,19 +7,19 @@
7
7
  <!-- catalog-directory:start -->
8
8
  ## 按分类寻找连接器
9
9
 
10
- 覆盖全部 9 个分类;公共条目与插件内置卡片分别统计,示例不是使用量排行。
10
+ 覆盖全部 9 个分类,数量按连接器去重统计。点击分类查看完整列表;以下为部分连接器示例。
11
11
 
12
12
  | 分类 | 连接器数量 | 主要连接器 |
13
13
  |---|---:|---|
14
- | 企业数据 | 公共 0+内置 2 | [企查查·企业工商](https://github.com/duhu2000/dsh-mcp-connector/blob/main/catalog/catalog.json)、[企查查·招投标](https://github.com/duhu2000/dsh-mcp-connector/blob/main/catalog/catalog.json) |
15
- | 金融投资 | 公共 13+内置 0 | [Wind·股票数据](https://github.com/duhu2000/dsh-mcp-connector-registry/blob/main/connectors/wind-stock-data.json)、[TuShare](https://github.com/duhu2000/dsh-mcp-connector-registry/blob/main/connectors/tushare.json)、[AKShare](https://github.com/duhu2000/dsh-mcp-connector-registry/blob/main/connectors/akshare.json)、[BIS 全球银行与金融统计](https://github.com/duhu2000/dsh-mcp-connector-registry/blob/main/connectors/bis-global-statistics.json)、[巨潮资讯上市公司报告](https://github.com/duhu2000/dsh-mcp-connector-registry/blob/main/connectors/cninfo-listed-company-reports.json) |
16
- | 法律合规 | 公共 4+内置 1 | [企查查·法律数据](https://github.com/duhu2000/dsh-mcp-connector/blob/main/catalog/catalog.json)、[北大法宝·法律检索](https://github.com/duhu2000/dsh-mcp-connector-registry/blob/main/connectors/pkulaw-legal.json)、[巴西参议院开放数据](https://github.com/duhu2000/dsh-mcp-connector-registry/blob/main/connectors/brazil-senate-open-data.json)、[元典法律数据](https://github.com/duhu2000/dsh-mcp-connector-registry/blob/main/connectors/huayu-legal.json)、[威科先行](https://github.com/duhu2000/dsh-mcp-connector-registry/blob/main/connectors/wolterskluwer.json) |
17
- | 调研分析 | 公共 38+内置 0 | [飞常准航空数据](https://github.com/duhu2000/dsh-mcp-connector-registry/blob/main/connectors/variflight-aviation-data.json)、[智慧芽专利与文献](https://github.com/duhu2000/dsh-mcp-connector-registry/blob/main/connectors/patsnap.json)、[OpenAlex 全球学术研究](https://github.com/duhu2000/dsh-mcp-connector-registry/blob/main/connectors/openalex-research-catalog.json)、[PubMed 生物医学文献](https://github.com/duhu2000/dsh-mcp-connector-registry/blob/main/connectors/pubmed-biomedical-literature.json)、[AgentNative 政府公共数据](https://github.com/duhu2000/dsh-mcp-connector-registry/blob/main/connectors/agentnative-government-open-data.json) |
18
- | 办公协作 | 公共 17+内置 0 | [腾讯文档](https://github.com/duhu2000/dsh-mcp-connector-registry/blob/main/connectors/tencent-docs.json)、[飞书开放平台](https://github.com/duhu2000/dsh-mcp-connector-registry/blob/main/connectors/feishu.json)、[Notion](https://github.com/duhu2000/dsh-mcp-connector-registry/blob/main/connectors/notion.json)、[钉钉工作台](https://github.com/duhu2000/dsh-mcp-connector-registry/blob/main/connectors/dingtalk.json)、[Google 日历](https://github.com/duhu2000/dsh-mcp-connector-registry/blob/main/connectors/google-calendar.json) |
19
- | 开发工具 | 公共 23+内置 0 | [GitHub](https://github.com/duhu2000/dsh-mcp-connector-registry/blob/main/connectors/github.json)、[Playwright](https://github.com/duhu2000/dsh-mcp-connector-registry/blob/main/connectors/playwright.json)、[Chrome DevTools](https://github.com/duhu2000/dsh-mcp-connector-registry/blob/main/connectors/chrome-devtools.json)、[腾讯云 CloudBase](https://github.com/duhu2000/dsh-mcp-connector-registry/blob/main/connectors/cloudbase.json)、[Cloudflare](https://github.com/duhu2000/dsh-mcp-connector-registry/blob/main/connectors/cloudflare-api.json) |
20
- | 设计创意 | 公共 10+内置 0 | [Canva 可画](https://github.com/duhu2000/dsh-mcp-connector-registry/blob/main/connectors/canva.json)、[draw.io](https://github.com/duhu2000/dsh-mcp-connector-registry/blob/main/connectors/drawio.json)、[可灵 AI(AceDataCloud)](https://github.com/duhu2000/dsh-mcp-connector-registry/blob/main/connectors/kling.json)、[MasterGo Magic MCP](https://github.com/duhu2000/dsh-mcp-connector-registry/blob/main/connectors/mastergo.json)、[MediaKit CLI](https://github.com/duhu2000/dsh-mcp-connector-registry/blob/main/connectors/mediakit.json) |
21
- | 效率工具 | 公共 6+内置 1 | [企查查·智能文档解析](https://github.com/duhu2000/dsh-mcp-connector/blob/main/catalog/catalog.json)、[高德地图](https://github.com/duhu2000/dsh-mcp-connector-registry/blob/main/connectors/amap.json)、[百度地图](https://github.com/duhu2000/dsh-mcp-connector-registry/blob/main/connectors/baidu-maps.json)、[八爪鱼·云采集](https://github.com/duhu2000/dsh-mcp-connector-registry/blob/main/connectors/bazhuayu-cloud-collection.json)、[中华通胜 · 黄历择日 MCP](https://github.com/duhu2000/dsh-mcp-connector-registry/blob/main/connectors/chinese-almanac-mcp.json) |
22
- | 其他 | 公共 2+内置 0 | [FlyBest·AI 订酒店](https://github.com/duhu2000/dsh-mcp-connector-registry/blob/main/connectors/flybest-hotels.json)、[QVerisMCP](https://github.com/duhu2000/dsh-mcp-connector-registry/blob/main/connectors/qveris-capability-network.json) |
14
+ | [企业数据](https://github.com/duhu2000/dsh-mcp-connector-registry/blob/main/docs/CONNECTOR-DIRECTORY.md#%E4%BC%81%E4%B8%9A%E6%95%B0%E6%8D%AE) | 2 | [企查查·企业工商](https://github.com/duhu2000/dsh-mcp-connector/blob/main/catalog/catalog.json)、[企查查·招投标](https://github.com/duhu2000/dsh-mcp-connector/blob/main/catalog/catalog.json) |
15
+ | [金融投资](https://github.com/duhu2000/dsh-mcp-connector-registry/blob/main/docs/CONNECTOR-DIRECTORY.md#%E9%87%91%E8%9E%8D%E6%8A%95%E8%B5%84) | 13 | [Wind·股票数据](https://github.com/duhu2000/dsh-mcp-connector-registry/blob/main/connectors/wind-stock-data.json)、[TuShare](https://github.com/duhu2000/dsh-mcp-connector-registry/blob/main/connectors/tushare.json)、[AKShare](https://github.com/duhu2000/dsh-mcp-connector-registry/blob/main/connectors/akshare.json) 等 |
16
+ | [法律合规](https://github.com/duhu2000/dsh-mcp-connector-registry/blob/main/docs/CONNECTOR-DIRECTORY.md#%E6%B3%95%E5%BE%8B%E5%90%88%E8%A7%84) | 5 | [企查查·法律数据](https://github.com/duhu2000/dsh-mcp-connector/blob/main/catalog/catalog.json)、[北大法宝·法律检索](https://github.com/duhu2000/dsh-mcp-connector-registry/blob/main/connectors/pkulaw-legal.json)、[巴西参议院开放数据](https://github.com/duhu2000/dsh-mcp-connector-registry/blob/main/connectors/brazil-senate-open-data.json) 等 |
17
+ | [调研分析](https://github.com/duhu2000/dsh-mcp-connector-registry/blob/main/docs/CONNECTOR-DIRECTORY.md#%E8%B0%83%E7%A0%94%E5%88%86%E6%9E%90) | 42 | [飞常准航空数据](https://github.com/duhu2000/dsh-mcp-connector-registry/blob/main/connectors/variflight-aviation-data.json)、[智慧芽专利与文献](https://github.com/duhu2000/dsh-mcp-connector-registry/blob/main/connectors/patsnap.json)、[OpenAlex 全球学术研究](https://github.com/duhu2000/dsh-mcp-connector-registry/blob/main/connectors/openalex-research-catalog.json) 等 |
18
+ | [办公协作](https://github.com/duhu2000/dsh-mcp-connector-registry/blob/main/docs/CONNECTOR-DIRECTORY.md#%E5%8A%9E%E5%85%AC%E5%8D%8F%E4%BD%9C) | 17 | [腾讯文档](https://github.com/duhu2000/dsh-mcp-connector-registry/blob/main/connectors/tencent-docs.json)、[飞书开放平台](https://github.com/duhu2000/dsh-mcp-connector-registry/blob/main/connectors/feishu.json)、[Notion](https://github.com/duhu2000/dsh-mcp-connector-registry/blob/main/connectors/notion.json) 等 |
19
+ | [开发工具](https://github.com/duhu2000/dsh-mcp-connector-registry/blob/main/docs/CONNECTOR-DIRECTORY.md#%E5%BC%80%E5%8F%91%E5%B7%A5%E5%85%B7) | 23 | [GitHub](https://github.com/duhu2000/dsh-mcp-connector-registry/blob/main/connectors/github.json)、[Playwright](https://github.com/duhu2000/dsh-mcp-connector-registry/blob/main/connectors/playwright.json)、[Chrome DevTools](https://github.com/duhu2000/dsh-mcp-connector-registry/blob/main/connectors/chrome-devtools.json) 等 |
20
+ | [设计创意](https://github.com/duhu2000/dsh-mcp-connector-registry/blob/main/docs/CONNECTOR-DIRECTORY.md#%E8%AE%BE%E8%AE%A1%E5%88%9B%E6%84%8F) | 10 | [Canva 可画](https://github.com/duhu2000/dsh-mcp-connector-registry/blob/main/connectors/canva.json)、[draw.io](https://github.com/duhu2000/dsh-mcp-connector-registry/blob/main/connectors/drawio.json)、[可灵 AI(AceDataCloud)](https://github.com/duhu2000/dsh-mcp-connector-registry/blob/main/connectors/kling.json) 等 |
21
+ | [效率工具](https://github.com/duhu2000/dsh-mcp-connector-registry/blob/main/docs/CONNECTOR-DIRECTORY.md#%E6%95%88%E7%8E%87%E5%B7%A5%E5%85%B7) | 7 | [企查查·智能文档解析](https://github.com/duhu2000/dsh-mcp-connector/blob/main/catalog/catalog.json)、[高德地图](https://github.com/duhu2000/dsh-mcp-connector-registry/blob/main/connectors/amap.json)、[百度地图](https://github.com/duhu2000/dsh-mcp-connector-registry/blob/main/connectors/baidu-maps.json) 等 |
22
+ | [其他](https://github.com/duhu2000/dsh-mcp-connector-registry/blob/main/docs/CONNECTOR-DIRECTORY.md#%E5%85%B6%E4%BB%96) | 2 | [FlyBest·AI 订酒店](https://github.com/duhu2000/dsh-mcp-connector-registry/blob/main/connectors/flybest-hotels.json)、[QVerisMCP](https://github.com/duhu2000/dsh-mcp-connector-registry/blob/main/connectors/qveris-capability-network.json) |
23
23
 
24
24
  [完整分类目录](https://github.com/duhu2000/dsh-mcp-connector-registry/blob/main/docs/CONNECTOR-DIRECTORY.md) · [近期新增](https://github.com/duhu2000/dsh-mcp-connector-registry/blob/main/docs/RECENT-ADDITIONS.md)
25
25
  <!-- catalog-directory:end -->
@@ -156,7 +156,7 @@ Desktop 需要完全退出并重新启动应用;Web 需要停止原 `dsh web`
156
156
  - 对话工具:`mcp_connector_catalog`、`connect`、`configure`、`import_json`、`export_config`、`snapshot`、`install_from_url`、`status`、`scope`、`health_check`、`policy`、`set_enabled`、`session_tools`、`disconnect`、`refresh_catalog`、`publish`、`tools_list`、`tool_search`、`tool_detail`。搜索/详情只做渐进式能力发现,不执行目标 MCP 工具。
157
157
 
158
158
  <!-- catalog-stats:start -->
159
- 截至 2026-11-14,公共 Registry 已发布 113 条连接器描述;与随包的 4 张企查查卡片合并去重后,市场页可浏览 117 张卡片,覆盖企业数据、金融投资、法律合规、开发工具、办公协作、调研分析、设计创意、效率工具、其他 9 类。首页推荐由当前插件版本的推荐规则决定,不以 Registry featured 数量代表首页推荐数量。Registry 可独立持续更新,实际数量以客户端刷新后的市场页签徽标和上方实时统计徽标为准。
159
+ 截至 2026-11-16,公共 Registry 已发布 117 条连接器描述;与随包的 4 张企查查卡片合并去重后,市场页可浏览 121 张卡片,覆盖企业数据、金融投资、法律合规、开发工具、办公协作、调研分析、设计创意、效率工具、其他 9 类。首页推荐由当前插件版本的推荐规则决定,不以 Registry featured 数量代表首页推荐数量。Registry 可独立持续更新,实际数量以客户端刷新后的市场页签徽标和上方实时统计徽标为准。
160
160
  <!-- catalog-stats:end -->
161
161
 
162
162
  ## 界面与演示
@@ -171,7 +171,7 @@ Desktop 需要完全退出并重新启动应用;Web 需要停止原 `dsh web`
171
171
  | 连接诊断与最后成功缓存 | |
172
172
  | ![连接诊断](https://raw.githubusercontent.com/duhu2000/dsh-mcp-connector/main/docs/screenshots/07-connection-diagnostics.png) | |
173
173
 
174
- <!-- generated:media -->截图与 GIF 采集自 v0.2.108(2026-11-14)无凭据 Mock 页面,展示界面而非真实业务验收;市场数量是测试夹具。来源与更新方法见 [素材说明](docs/screenshots/README.md)。<!-- /generated:media -->
174
+ <!-- generated:media -->截图与 GIF 采集自 v0.2.110(2026-11-17)无凭据 Mock 页面,展示界面而非真实业务验收;市场数量是测试夹具。来源与更新方法见 [素材说明](docs/screenshots/README.md)。<!-- /generated:media -->
175
175
 
176
176
  ## 安装
177
177
 
@@ -306,7 +306,7 @@ npm run dev:ui
306
306
 
307
307
  公共 Registry 每次合并后会生成 `catalog-stats.json`;本仓库的定时工作流每小时同步中英文介绍和统计快照。npm 页面中的静态正文随版本发布更新,上方动态统计徽标则直接读取 Registry,可在不发布新 npm 版本时保持实时数量一致。
308
308
 
309
- <!-- generated:version -->当前公开版本为 [`dsh-mcp-connector@0.2.108`](https://www.npmjs.com/package/dsh-mcp-connector),对应 [GitHub Release v0.2.108](https://github.com/duhu2000/dsh-mcp-connector/releases/tag/v0.2.108)。<!-- /generated:version -->
309
+ <!-- generated:version -->当前公开版本为 [`dsh-mcp-connector@0.2.110`](https://www.npmjs.com/package/dsh-mcp-connector),对应 [GitHub Release v0.2.110](https://github.com/duhu2000/dsh-mcp-connector/releases/tag/v0.2.110)。<!-- /generated:version -->
310
310
 
311
311
  版本能力与变更记录见 [CHANGELOG.md](CHANGELOG.md)。
312
312
  Desktop 发版回归见 [docs/DESKTOP-E2E.md](docs/DESKTOP-E2E.md)。
@@ -680,3 +680,13 @@ cwd: { type: 'string', description: 'transport=stdio 时的工作目录,默认
680
680
  **设计基线版本**:v0.2.1
681
681
 
682
682
  **实施版本规划**:v0.3.0
683
+
684
+ ## 执中双入口:本机凭据桥接
685
+
686
+ 新增 `dsh-zerone-mcp-bridge --service pe|base`,将本机 stdio 工具请求转发到执中官方的两个固定 HTTPS MCP 入口。桥接由 DSH 社区维护,服务端仍为执中;它不是执中提供的原生 stdio 包。
687
+
688
+ Key 通过本机环境变量 `ZERONE_API_KEY` 传入,启动后从进程环境中移除该字段,仅保留运行所需的内存值。市场卡片使用现有 `credentialFields` / `credentialBindings` 输入和绑定,公开 URL、命令行参数中均不含 Key。持久化仍沿用本机 stdio 凭据配置与现有脱敏分享/备份流程。
689
+
690
+ 桥接支持 `initialize`、`ping`、`tools/list`(保留分页游标)、`tools/call`;不宣称支持远端 Prompt、Resource、采样或双向通知。请求携带远端会话 ID,支持 JSON / SSE 响应,拒绝重定向,错误使用固定文本,响应中原样或编码后的密钥会被脱敏。请求失败或超时不会自动重试业务工具。网络代理沿用本机 HTTP(S) 代理环境配置。
691
+
692
+ 开发者可从源码运行 `node scripts/zerone-bridge.mjs --service pe`;生产卡片必须固定到已经正式发布、实际包含该命令的 npm 版本,不能引用尚未发布的未来版本。两个服务账号权限分别验收,一项读取成功不代表所有工具或另一个服务通过。
Binary file
@@ -1,6 +1,6 @@
1
1
  # 产品截图与演示的来源及更新
2
2
 
3
- <!-- generated:media -->本组 8 张截图和 GIF 均从 v0.2.108 于 2026-11-14 重新采集,未修改截图中的版本文字。<!-- /generated:media -->
3
+ <!-- generated:media -->本组 8 张截图和 GIF 均从 v0.2.110 于 2026-11-17 重新采集,未修改截图中的版本文字。<!-- /generated:media -->
4
4
 
5
5
  前七张素材由真实产品 UI 的无凭据 Mock harness 渲染:1280×720 浏览器视口、800px 产品面板、桌面两列卡片。顶部保留“无凭据 Mock”标识;目录数、连接数与工具数是演示夹具,不代表生产统计或真实授权、业务验收。不会读取用户 profile、调用服务商或上传业务数据。
6
6
 
@@ -2,8 +2,8 @@
2
2
  "schemaVersion": 1,
3
3
  "capture": {
4
4
  "locale": "zh-CN",
5
- "capturedOn": "2026-11-14",
6
- "sourceVersion": "0.2.108",
5
+ "capturedOn": "2026-11-17",
6
+ "sourceVersion": "0.2.110",
7
7
  "sourceFingerprint": "45f634fcb74fbca16beec3844c151912635e859098ebc5d4e64e720734c46a64",
8
8
  "browserViewport": {
9
9
  "width": 1280,
@@ -17,63 +17,63 @@
17
17
  "screenshots": [
18
18
  {
19
19
  "path": "docs/screenshots/01-market-overview.jpg",
20
- "sha256": "8acb674c71d57defe5cf8365d6e9795b03ab5295c4c39faae6907c318290cbb2",
20
+ "sha256": "b6113c5793e0a8f6c757a40a1028cdf30bf88122ebd342450ab128ffc99aee45",
21
21
  "width": 1280,
22
22
  "height": 720,
23
- "capturedOn": "2026-11-14",
24
- "sourceVersion": "0.2.108"
23
+ "capturedOn": "2026-11-17",
24
+ "sourceVersion": "0.2.110"
25
25
  },
26
26
  {
27
27
  "path": "docs/screenshots/02-connector-detail.jpg",
28
- "sha256": "b9869ca2c375df6abce40df73ffa43fbfb77596b04eb77c34cb33c1a4540ebb9",
28
+ "sha256": "439274bdb535ea2bb665cb9d714c53a0b10fbcdbe946bfd52a11992e3b05267a",
29
29
  "width": 1280,
30
30
  "height": 720,
31
- "capturedOn": "2026-11-14",
32
- "sourceVersion": "0.2.108"
31
+ "capturedOn": "2026-11-17",
32
+ "sourceVersion": "0.2.110"
33
33
  },
34
34
  {
35
35
  "path": "docs/screenshots/03-tool-discovery.jpg",
36
- "sha256": "65aacb9271f54e4df8519753cdd11b9105a830778e9c21690e5be050d3d061fe",
36
+ "sha256": "8ac62fdebee89de9118a9b3020d4ea7a201bc9b5aebedabf5f504d67bcd806eb",
37
37
  "width": 1280,
38
38
  "height": 720,
39
- "capturedOn": "2026-11-14",
40
- "sourceVersion": "0.2.108"
39
+ "capturedOn": "2026-11-17",
40
+ "sourceVersion": "0.2.110"
41
41
  },
42
42
  {
43
43
  "path": "docs/screenshots/04-json-import.jpg",
44
- "sha256": "7177f51ce5c7a06f5fa87145c4a10f9190d3fab53d61ba59ab7dfd7b612dfce0",
44
+ "sha256": "e41b3289f4c77791baf2b4b61bc5a6bd9c9af5bf4c4e20bbc85bb812aea19961",
45
45
  "width": 1280,
46
46
  "height": 720,
47
- "capturedOn": "2026-11-14",
48
- "sourceVersion": "0.2.108"
47
+ "capturedOn": "2026-11-17",
48
+ "sourceVersion": "0.2.110"
49
49
  },
50
50
  {
51
51
  "path": "docs/screenshots/05-unified-tool-search.png",
52
- "sha256": "8ae03e6c080e4d31f15ad28fe986c6ae00b4e87e8705a5310269634d563d5257",
52
+ "sha256": "c92f4be5b2aca4537aebcf2447b445aaa7db74c92fef03ee18b74a6993ddf7f3",
53
53
  "width": 1280,
54
54
  "height": 720,
55
- "capturedOn": "2026-11-14",
56
- "sourceVersion": "0.2.108"
55
+ "capturedOn": "2026-11-17",
56
+ "sourceVersion": "0.2.110"
57
57
  },
58
58
  {
59
59
  "path": "docs/screenshots/06-tool-parameters.png",
60
- "sha256": "38a3b9d28f0d42cffd6aaa262aed9ef70c3810e9781b5cf72f06abfe53e33445",
60
+ "sha256": "d1e1bb27c8239c657ef65eafbf69fe7f28138232f2c835842d2eca4956a16345",
61
61
  "width": 1280,
62
62
  "height": 720,
63
- "capturedOn": "2026-11-14",
64
- "sourceVersion": "0.2.108"
63
+ "capturedOn": "2026-11-17",
64
+ "sourceVersion": "0.2.110"
65
65
  },
66
66
  {
67
67
  "path": "docs/screenshots/07-connection-diagnostics.png",
68
- "sha256": "b57e7e4d5b516ffb65ad0bfba5455f5b87eb8b860327ebdb16e1c75f0dd7a8db",
68
+ "sha256": "12873efc1627a260c973cfd9326fa159080f3f614f71f6e3b3efaa7935c26af9",
69
69
  "width": 1280,
70
70
  "height": 720,
71
- "capturedOn": "2026-11-14",
72
- "sourceVersion": "0.2.108"
71
+ "capturedOn": "2026-11-17",
72
+ "sourceVersion": "0.2.110"
73
73
  },
74
74
  {
75
75
  "path": "docs/screenshots/08-ten-recommendations.jpg",
76
- "sha256": "2e0f39f796f239c07f46bd563639c8eb55e614d21b6950b6804dfe1c24597a5c",
76
+ "sha256": "b92cb085091dc40d225621ff18519f1f35e9c46551c1dfd6d8d447b7d20abea6",
77
77
  "width": 1280,
78
78
  "height": 1400,
79
79
  "browserViewport": {
@@ -81,17 +81,17 @@
81
81
  "height": 1400
82
82
  },
83
83
  "panelHeight": 1280,
84
- "capturedOn": "2026-11-14",
85
- "sourceVersion": "0.2.108"
84
+ "capturedOn": "2026-11-17",
85
+ "sourceVersion": "0.2.110"
86
86
  }
87
87
  ],
88
88
  "demo": {
89
89
  "path": "docs/demo.gif",
90
- "sha256": "1d6a2a34aae27f95ea534be7e62f93927329b0a3765f31fcea6682ed89375647",
90
+ "sha256": "91934b90ee7cfa36ddaf0d0ebc6eb0d548db004d059d7cb483ccd145ff5b8312",
91
91
  "width": 960,
92
92
  "height": 540,
93
- "capturedOn": "2026-11-14",
94
- "sourceVersion": "0.2.108",
93
+ "capturedOn": "2026-11-17",
94
+ "sourceVersion": "0.2.110",
95
95
  "durationSeconds": 36
96
96
  }
97
97
  }
@@ -2,8 +2,8 @@
2
2
  "schemaVersion": 1,
3
3
  "capture": {
4
4
  "locale": "en",
5
- "capturedOn": "2026-11-14",
6
- "sourceVersion": "0.2.108",
5
+ "capturedOn": "2026-11-17",
6
+ "sourceVersion": "0.2.110",
7
7
  "sourceFingerprint": "45f634fcb74fbca16beec3844c151912635e859098ebc5d4e64e720734c46a64",
8
8
  "browserViewport": {
9
9
  "width": 1280,
@@ -17,63 +17,63 @@
17
17
  "screenshots": [
18
18
  {
19
19
  "path": "docs/screenshots/en/01-market-overview.jpg",
20
- "sha256": "4e1091b8220e5e691e8195c6fa57138740a46b3abffa7838a7164f7d5afc4944",
20
+ "sha256": "8b7e070a7322db6527d37c2caa35384baf02255b011130cb97906ddca28f0a1c",
21
21
  "width": 1280,
22
22
  "height": 720,
23
- "capturedOn": "2026-11-14",
24
- "sourceVersion": "0.2.108"
23
+ "capturedOn": "2026-11-17",
24
+ "sourceVersion": "0.2.110"
25
25
  },
26
26
  {
27
27
  "path": "docs/screenshots/en/02-connector-detail.jpg",
28
- "sha256": "c26676fca0f9ae46a2902b4d08b05bea2cfe64bbfed7c27d8d4f13df95a1873d",
28
+ "sha256": "37c3496f507a6bd75c7659b998602809f39d929df41bebfddc6938b1b907a301",
29
29
  "width": 1280,
30
30
  "height": 720,
31
- "capturedOn": "2026-11-14",
32
- "sourceVersion": "0.2.108"
31
+ "capturedOn": "2026-11-17",
32
+ "sourceVersion": "0.2.110"
33
33
  },
34
34
  {
35
35
  "path": "docs/screenshots/en/03-tool-discovery.jpg",
36
- "sha256": "a13c1acdf84b126c4104198f72740afa3f838cc7832441a39639b5fbbadb8533",
36
+ "sha256": "7f8cf3e10e8e5164a6c81ee67ad72c74ed659083076acbf49fb6fe637526482a",
37
37
  "width": 1280,
38
38
  "height": 720,
39
- "capturedOn": "2026-11-14",
40
- "sourceVersion": "0.2.108"
39
+ "capturedOn": "2026-11-17",
40
+ "sourceVersion": "0.2.110"
41
41
  },
42
42
  {
43
43
  "path": "docs/screenshots/en/04-json-import.jpg",
44
- "sha256": "ee11ae1f921b804dc443b83a7c6ed98c5e72214d9394bec0f78f0719c1433f76",
44
+ "sha256": "54abec6b4852a73f331ee24fe45fcc09daae7fd9ecb600462a7b0c8e5156cdb0",
45
45
  "width": 1280,
46
46
  "height": 720,
47
- "capturedOn": "2026-11-14",
48
- "sourceVersion": "0.2.108"
47
+ "capturedOn": "2026-11-17",
48
+ "sourceVersion": "0.2.110"
49
49
  },
50
50
  {
51
51
  "path": "docs/screenshots/en/05-unified-tool-search.png",
52
- "sha256": "05e1f156fe87ff16c480e0d332e0b2a61b82455b373751fe006999e0bf23ee07",
52
+ "sha256": "3d0bea50d1ab39c1c3d81789fcdbd78d7f37e9f1e03899d21315ebf98939ae69",
53
53
  "width": 1280,
54
54
  "height": 720,
55
- "capturedOn": "2026-11-14",
56
- "sourceVersion": "0.2.108"
55
+ "capturedOn": "2026-11-17",
56
+ "sourceVersion": "0.2.110"
57
57
  },
58
58
  {
59
59
  "path": "docs/screenshots/en/06-tool-parameters.png",
60
- "sha256": "cb9fc2a9c9011f4c62ad4b227082d1ed06fae251edfad4553ded369dbb761d4a",
60
+ "sha256": "7bdcabbcaaf847a960257b61c9e00e34c4f81c5aa3b4b480ac8887536f7bfcbe",
61
61
  "width": 1280,
62
62
  "height": 720,
63
- "capturedOn": "2026-11-14",
64
- "sourceVersion": "0.2.108"
63
+ "capturedOn": "2026-11-17",
64
+ "sourceVersion": "0.2.110"
65
65
  },
66
66
  {
67
67
  "path": "docs/screenshots/en/07-connection-diagnostics.png",
68
- "sha256": "34966fef87b06e5c33a14390a02b642790b5e45764112fc1742b2a2b4a954206",
68
+ "sha256": "4c2dfa58c2b70a3c5a93949f05370d5cc79625f0691c7270f51113d37f16b84e",
69
69
  "width": 1280,
70
70
  "height": 720,
71
- "capturedOn": "2026-11-14",
72
- "sourceVersion": "0.2.108"
71
+ "capturedOn": "2026-11-17",
72
+ "sourceVersion": "0.2.110"
73
73
  },
74
74
  {
75
75
  "path": "docs/screenshots/en/08-ten-recommendations.jpg",
76
- "sha256": "690efbc500e51e47436d0f5f1982a01e312d6b22d01256eb5d1ba16050a51470",
76
+ "sha256": "4defdbcad96ba65945c82e61bf1291940e04686ce744d4838c71f3c7ce27b105",
77
77
  "width": 1280,
78
78
  "height": 1400,
79
79
  "browserViewport": {
@@ -81,17 +81,17 @@
81
81
  "height": 1400
82
82
  },
83
83
  "panelHeight": 1280,
84
- "capturedOn": "2026-11-14",
85
- "sourceVersion": "0.2.108"
84
+ "capturedOn": "2026-11-17",
85
+ "sourceVersion": "0.2.110"
86
86
  }
87
87
  ],
88
88
  "demo": {
89
89
  "path": "docs/screenshots/en/demo.gif",
90
- "sha256": "f59b97d68488654793baddcc1ec6d67f5def59fd1d09eb1d0b0b75c2dd04e897",
90
+ "sha256": "80dc40a210785ce4a68662f2714b72eda8a09da0abe1649b54149f355b541798",
91
91
  "width": 960,
92
92
  "height": 540,
93
- "capturedOn": "2026-11-14",
94
- "sourceVersion": "0.2.108",
93
+ "capturedOn": "2026-11-17",
94
+ "sourceVersion": "0.2.110",
95
95
  "durationSeconds": 36
96
96
  }
97
97
  }
Binary file
@@ -8,7 +8,7 @@
8
8
 
9
9
  | 项目 | 验收要求 |
10
10
  |---|---|
11
- | 前提 | <!-- generated:version -->正式 `dsh-mcp-connector@0.2.108`<!-- /generated:version -->;当前 Workspace;企查查 OAuth 可用;测试账号具有目标企业数据权限 |
11
+ | 前提 | <!-- generated:version -->正式 `dsh-mcp-connector@0.2.110`<!-- /generated:version -->;当前 Workspace;企查查 OAuth 可用;测试账号具有目标企业数据权限 |
12
12
  | 权限/管理员 | 账号权限、组织授权和可见字段由服务商控制;企业组织可能需要管理员开通,当前文档不能替代审批 |
13
13
  | 费用 | 可能受套餐、次数或字段权限影响;MCP连接器无法确认本次费用,调用前在服务商侧核对 |
14
14
  | 运行/数据去向 | 远程 MCP Server;企业名称、查询参数和调用结果经 DSH Host 发送到/返回自 `agent.qcc.com` |
@@ -0,0 +1,141 @@
1
+ /** Tools-only stdio bridge for the two official Zerone query-auth endpoints. */
2
+ import { readSseResponse } from './mcp-sse.js';
3
+
4
+ const ENDPOINTS = Object.freeze({ pe: 'https://ai.zerone.com.cn/mcp/pe', base: 'https://ai.zerone.com.cn/mcp/base' });
5
+ const LIMIT = 2 * 1024 * 1024;
6
+
7
+ async function readPayload(response, id) {
8
+ if (response.headers.get('content-type')?.toLowerCase().includes('text/event-stream')) {
9
+ return (await readSseResponse(response, { id, maxBytes: LIMIT, tooLarge: () => new Error('response limit') })).payload;
10
+ }
11
+ if (!response.body) throw new Error('empty response');
12
+ const reader = response.body.getReader();
13
+ let total = 0;
14
+ const parts = [];
15
+ try {
16
+ for (;;) {
17
+ const { value, done } = await reader.read();
18
+ if (done) break;
19
+ total += value.length;
20
+ if (total > LIMIT) throw new Error('response limit');
21
+ parts.push(value);
22
+ }
23
+ } finally {
24
+ void reader.cancel().catch(() => {});
25
+ reader.releaseLock();
26
+ }
27
+ return JSON.parse(Buffer.concat(parts).toString('utf8'));
28
+ }
29
+
30
+ export function createZeroneBridge({ service, apiKey, fetchImpl = fetch, timeoutMs = 60_000 } = {}) {
31
+ if (!Object.hasOwn(ENDPOINTS, service)) throw new Error('Choose --service pe or base');
32
+ if (typeof apiKey !== 'string' || !apiKey.trim()) throw new Error('ZERONE_API_KEY is required in the local environment');
33
+ if (!Number.isSafeInteger(timeoutMs) || timeoutMs < 1) throw new Error('Invalid request timeout');
34
+ const url = new URL(ENDPOINTS[service]);
35
+ url.searchParams.set('api_key', apiKey);
36
+ // No key in argv, emitted server identity, exception text, or on-disk state.
37
+ const secrets = [...new Set([apiKey, encodeURIComponent(apiKey), new URLSearchParams({ k: apiKey }).toString().slice(2)])]
38
+ .filter(Boolean).sort((a, b) => b.length - a.length);
39
+ const scrubText = (text) => {
40
+ for (const secret of secrets) text = text.split(secret).join('[REDACTED]');
41
+ return text;
42
+ };
43
+ const scrub = (value) => {
44
+ if (typeof value === 'string') return scrubText(value);
45
+ if (Array.isArray(value)) return value.map(scrub);
46
+ if (value && typeof value === 'object') return Object.fromEntries(
47
+ Object.entries(value).map(([key, item]) => [scrubText(key), scrub(item)]),
48
+ );
49
+ return value;
50
+ };
51
+ let sessionId;
52
+ let protocolVersion;
53
+ let phase = 'new';
54
+ let remoteId = 0;
55
+ const error = (id, code, message) => ({ jsonrpc: '2.0', id, error: { code, message } });
56
+
57
+ async function post(method, params, notification = false) {
58
+ const id = notification ? undefined : ++remoteId;
59
+ const response = await fetchImpl(url.toString(), {
60
+ method: 'POST', redirect: 'error', signal: AbortSignal.timeout(timeoutMs),
61
+ headers: {
62
+ 'Content-Type': 'application/json', Accept: 'application/json, text/event-stream',
63
+ ...(sessionId ? { 'Mcp-Session-Id': sessionId } : {}),
64
+ ...(protocolVersion ? { 'MCP-Protocol-Version': protocolVersion } : {}),
65
+ },
66
+ body: JSON.stringify({ jsonrpc: '2.0', ...(notification ? {} : { id }), method, params }),
67
+ });
68
+ if (!response.ok || response.status >= 300) {
69
+ void response.body?.cancel().catch(() => {});
70
+ throw new Error('remote request failed');
71
+ }
72
+ const nextSession = response.headers.get('mcp-session-id');
73
+ if (nextSession) sessionId = nextSession;
74
+ if (notification) {
75
+ void response.body?.cancel().catch(() => {});
76
+ return;
77
+ }
78
+ const payload = await readPayload(response, id);
79
+ if (payload?.jsonrpc !== '2.0' || payload.id !== id || payload.error || !Object.hasOwn(payload, 'result')) {
80
+ throw new Error('remote protocol error');
81
+ }
82
+ return payload.result;
83
+ }
84
+
85
+ return {
86
+ async handle(request) {
87
+ const id = request?.id;
88
+ const hasId = id !== undefined;
89
+ if (!request || request.jsonrpc !== '2.0' || typeof request.method !== 'string'
90
+ || (hasId && !(typeof id === 'string' || typeof id === 'number' && Number.isFinite(id)))) {
91
+ return error(null, -32600, 'Invalid JSON-RPC request');
92
+ }
93
+ if (!hasId) {
94
+ if (request.method === 'notifications/initialized' && phase === 'initialized') phase = 'ready';
95
+ return undefined;
96
+ }
97
+ if (request.method === 'ping') return { jsonrpc: '2.0', id, result: {} };
98
+ try {
99
+ if (request.method === 'initialize') {
100
+ if (phase !== 'new') return error(id, -32600, 'Already initialized; start a new bridge session');
101
+ if (typeof request.params?.protocolVersion !== 'string') return error(id, -32602, 'protocolVersion is required');
102
+ phase = 'initializing';
103
+ const result = await post('initialize', {
104
+ protocolVersion: request.params.protocolVersion, capabilities: {},
105
+ clientInfo: { name: 'dsh-zerone-bridge', version: '1.0.0' },
106
+ });
107
+ if (typeof result?.protocolVersion !== 'string' || !result.capabilities?.tools) throw new Error('unsupported upstream');
108
+ protocolVersion = result.protocolVersion;
109
+ await post('notifications/initialized', {}, true);
110
+ phase = 'initialized';
111
+ return scrub({ jsonrpc: '2.0', id, result: {
112
+ protocolVersion, capabilities: { tools: {} },
113
+ serverInfo: { name: `dsh-zerone-${service}-bridge`, version: '1.0.0' },
114
+ instructions: 'Community tools-only bridge to the official Zerone service. Queries may be billable. No automatic retries. Use only tools within your account permissions.',
115
+ } });
116
+ }
117
+ if (!['tools/list', 'tools/call'].includes(request.method)) return error(id, -32601, 'This bridge supports tools only');
118
+ if (phase !== 'ready') return error(id, -32000, 'Initialize this session first');
119
+ if (request.method === 'tools/call' && typeof request.params?.name !== 'string') return error(id, -32602, 'Tool name is required');
120
+ const result = await post(request.method, request.params ?? {});
121
+ return scrub({ jsonrpc: '2.0', id, result });
122
+ } catch {
123
+ if (phase === 'initializing') phase = 'failed';
124
+ // Upstream errors or URLs can echo the key. Never expose them or retry.
125
+ return error(id, -32000, 'Zerone request failed or timed out; no automatic retry. Check account access, quota and network.');
126
+ }
127
+ },
128
+ async close() {
129
+ phase = 'closed';
130
+ if (!sessionId) return;
131
+ try {
132
+ const response = await fetchImpl(url.toString(), {
133
+ method: 'DELETE', redirect: 'error', signal: AbortSignal.timeout(3_000),
134
+ headers: { 'Mcp-Session-Id': sessionId, 'MCP-Protocol-Version': protocolVersion },
135
+ });
136
+ void response.body?.cancel().catch(() => {});
137
+ } catch { /* Session cleanup is best effort and never retried. */ }
138
+ sessionId = undefined;
139
+ },
140
+ };
141
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-mcp-connector",
3
- "version": "0.2.108",
3
+ "version": "0.2.110",
4
4
  "description": "MCP Connector for DeepSeek Harness: a data marketplace connecting enterprise, financial, legal, patent and research data. Manage authorization, search tools and troubleshoot MCP connections. Supports OAuth, API keys and HTTP/stdio.",
5
5
  "type": "module",
6
6
  "main": "lib/index.js",
@@ -11,7 +11,8 @@
11
11
  },
12
12
  "bin": {
13
13
  "dsh-mcp-connector-probe": "scripts/probe-connector.mjs",
14
- "dsh-mcp-cli-bridge": "scripts/cli-bridge.mjs"
14
+ "dsh-mcp-cli-bridge": "scripts/cli-bridge.mjs",
15
+ "dsh-zerone-mcp-bridge": "scripts/zerone-bridge.mjs"
15
16
  },
16
17
  "files": [
17
18
  "lib",
@@ -45,11 +46,12 @@
45
46
  "scripts/build-registry.mjs",
46
47
  "scripts/ui-harness.mjs",
47
48
  "docs/DATA-MCP-CONTRIBUTION-REVIEW.md",
48
- "docs/SHAREABLE-CONNECTION-TEMPLATES.md"
49
+ "docs/SHAREABLE-CONNECTION-TEMPLATES.md",
50
+ "scripts/zerone-bridge.mjs"
49
51
  ],
50
52
  "scripts": {
51
53
  "test": "node --test",
52
- "lint": "node --check lib/discovery-policy.js && node --check lib/index.js && node --check lib/web.js && node --check lib/client.js && node --check lib/settings.js && node --check lib/version-status.js && node --check lib/schema.js && node --check lib/catalog.js && node --check lib/prompts.js && node --check lib/probe.js && node --check lib/diagnostics.js && node --check lib/connection-backup.js && node --check lib/shareable-connection-template.js && node --check lib/connection-editor.js && node --check lib/connection-scopes.js && node --check lib/governance.js && node --check lib/session-injection.js && node --check lib/tool-catalog-cache.js && node --check lib/status-events.js && node --check lib/mcp-validation.js && node --check lib/mcp-http.js && node --check lib/mcp-sse.js && node --check lib/migration.js && node --check lib/stores.js && node --check lib/grant-journal.js && node --check lib/oauth.js && node --check lib/grant-lifecycle.js && node --check lib/callback-server.js && node --check lib/mcp-provision.js && node --check lib/stdio-startup-guard.js && node --check lib/cli-providers.js && node --check lib/util.js && node --check lib/constants.js && node --check lib/tools.js && node --check lib/connectors/oauth-connector.js && node --check lib/connectors/manual-connector.js && node --check lib/connectors/json-connector.js && node --check ui/sharing-experience.js && node --check ui/connection-template-sharing.js && node --check scripts/probe-connector.mjs && node --check scripts/cli-bridge.mjs && node --check scripts/build-registry.mjs && node --check scripts/ui-harness.mjs && node --check scripts/check-market-registration.mjs && node --check scripts/check-market-search-rank.mjs && node --check scripts/check-distribution-sync.mjs && node --check scripts/check-readme-version.mjs && node --check scripts/check-first-use-docs.mjs && node --check scripts/check-marketing-metadata.mjs && node --check scripts/check-storefront-screenshots.mjs && node --check scripts/sync-registry-stats.mjs && node --check scripts/verify-pack.mjs && node --check scripts/check-tutorial-links.mjs",
54
+ "lint": "node --check lib/discovery-policy.js && node --check lib/index.js && node --check lib/web.js && node --check lib/client.js && node --check lib/settings.js && node --check lib/version-status.js && node --check lib/schema.js && node --check lib/catalog.js && node --check lib/prompts.js && node --check lib/probe.js && node --check lib/diagnostics.js && node --check lib/connection-backup.js && node --check lib/shareable-connection-template.js && node --check lib/connection-editor.js && node --check lib/connection-scopes.js && node --check lib/governance.js && node --check lib/session-injection.js && node --check lib/tool-catalog-cache.js && node --check lib/status-events.js && node --check lib/mcp-validation.js && node --check lib/mcp-http.js && node --check lib/mcp-sse.js && node --check lib/migration.js && node --check lib/stores.js && node --check lib/grant-journal.js && node --check lib/oauth.js && node --check lib/grant-lifecycle.js && node --check lib/callback-server.js && node --check lib/mcp-provision.js && node --check lib/stdio-startup-guard.js && node --check lib/cli-providers.js && node --check lib/util.js && node --check lib/constants.js && node --check lib/tools.js && node --check lib/connectors/oauth-connector.js && node --check lib/connectors/manual-connector.js && node --check lib/connectors/json-connector.js && node --check ui/sharing-experience.js && node --check ui/connection-template-sharing.js && node --check scripts/probe-connector.mjs && node --check scripts/cli-bridge.mjs && node --check scripts/build-registry.mjs && node --check scripts/ui-harness.mjs && node --check scripts/check-market-registration.mjs && node --check scripts/check-market-search-rank.mjs && node --check scripts/check-distribution-sync.mjs && node --check scripts/check-readme-version.mjs && node --check scripts/check-first-use-docs.mjs && node --check scripts/check-marketing-metadata.mjs && node --check scripts/check-storefront-screenshots.mjs && node --check scripts/sync-registry-stats.mjs && node --check scripts/verify-pack.mjs && node --check scripts/check-tutorial-links.mjs && node --check lib/zerone-bridge.js && node --check scripts/zerone-bridge.mjs",
53
55
  "registry:build": "node scripts/build-registry.mjs",
54
56
  "registry:validate": "node scripts/probe-connector.mjs catalog/catalog.json --validate-only",
55
57
  "dev:ui": "node scripts/ui-harness.mjs",
@@ -0,0 +1,43 @@
1
+ #!/usr/bin/env node
2
+ import { EnvHttpProxyAgent, fetch } from 'undici';
3
+ import { createZeroneBridge } from '../lib/zerone-bridge.js';
4
+
5
+ const argv = process.argv.slice(2);
6
+ if (argv.length !== 2 || argv[0] !== '--service' || !['pe', 'base'].includes(argv[1])) {
7
+ process.stderr.write('Usage: dsh-zerone-mcp-bridge --service pe|base (Key via ZERONE_API_KEY only)\n');
8
+ process.exit(2);
9
+ }
10
+ const key = process.env.ZERONE_API_KEY;
11
+ delete process.env.ZERONE_API_KEY;
12
+ if (!key?.trim()) {
13
+ process.stderr.write('Missing local credential: ZERONE_API_KEY\n');
14
+ process.exit(2);
15
+ }
16
+ const dispatcher = new EnvHttpProxyAgent();
17
+ const bridge = createZeroneBridge({ service: argv[1], apiKey: key, fetchImpl: (url, options) => fetch(url, { ...options, dispatcher }) });
18
+ let buffer = '';
19
+ let chain = Promise.resolve();
20
+ const send = (message) => { if (message) process.stdout.write(JSON.stringify(message) + '\n'); };
21
+ const invalid = (code, message) => send({ jsonrpc: '2.0', id: null, error: { code, message } });
22
+ process.stdin.setEncoding('utf8');
23
+ process.stdin.on('data', (chunk) => {
24
+ buffer += chunk;
25
+ if (Buffer.byteLength(buffer) > 2_000_000) {
26
+ process.stderr.write('MCP input limit exceeded\n');
27
+ process.exit(2);
28
+ }
29
+ let end;
30
+ while ((end = buffer.indexOf('\n')) >= 0) {
31
+ const line = buffer.slice(0, end).trim();
32
+ buffer = buffer.slice(end + 1);
33
+ if (!line) continue;
34
+ chain = chain.then(async () => {
35
+ let request;
36
+ try { request = JSON.parse(line); } catch { invalid(-32700, 'Invalid JSON'); return; }
37
+ send(await bridge.handle(request));
38
+ }).catch(() => invalid(-32603, 'Bridge failure; no automatic retry'));
39
+ }
40
+ });
41
+ process.stdin.on('end', () => {
42
+ chain.then(() => bridge.close()).finally(() => dispatcher.close()).catch(() => {});
43
+ });