dsh-mcp-connector 0.2.1 → 0.2.2
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 +14 -1
- package/README.en.md +103 -0
- package/README.md +7 -3
- package/package.json +14 -3
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,18 @@
|
|
|
4
4
|
|
|
5
5
|
## [Unreleased]
|
|
6
6
|
|
|
7
|
+
## [0.2.2] - 2026-08-21
|
|
8
|
+
|
|
9
|
+
### Added
|
|
10
|
+
|
|
11
|
+
- 新增英文版 README,便于国际用户了解安装、连接方式、市场目录和发布流程。
|
|
12
|
+
|
|
13
|
+
### Changed
|
|
14
|
+
|
|
15
|
+
- 产品名称和介绍统一为通用 MCP Connector Marketplace;企查查作为项目发起方、维护方和首批连接器提供方,不限定可接入厂商。
|
|
16
|
+
- 重构 npm 关键词,保留 DSH、Cordis、MCP、OAuth/PKCE 和企查查检索入口,并补充 `dsh-plugin`、`mcp-client`、`oauth2`、`enterprise-data`。
|
|
17
|
+
- 更新市场注册移交文档、测试数量和 awesome-dsh-plugin 注册描述,移除易过期的工具与 Prompt 数量。
|
|
18
|
+
|
|
7
19
|
## [0.2.1] - 2026-08-21
|
|
8
20
|
|
|
9
21
|
### Added
|
|
@@ -80,7 +92,8 @@
|
|
|
80
92
|
- 外部 URL 与导入 Header 执行安全校验。
|
|
81
93
|
- iframe 消息校验同源和消息来源。
|
|
82
94
|
|
|
83
|
-
[Unreleased]: https://github.com/duhu2000/dsh-mcp-connector/compare/v0.2.
|
|
95
|
+
[Unreleased]: https://github.com/duhu2000/dsh-mcp-connector/compare/v0.2.2...HEAD
|
|
96
|
+
[0.2.2]: https://github.com/duhu2000/dsh-mcp-connector/compare/v0.2.1...v0.2.2
|
|
84
97
|
[0.2.1]: https://github.com/duhu2000/dsh-mcp-connector/compare/v0.2.0...v0.2.1
|
|
85
98
|
[0.2.0]: https://github.com/duhu2000/dsh-mcp-connector/compare/v0.1.0...v0.2.0
|
|
86
99
|
[0.1.0]: https://github.com/duhu2000/dsh-mcp-connector/releases/tag/v0.1.0
|
package/README.en.md
ADDED
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
# MCP Connector Marketplace for DeepSeek Harness
|
|
2
|
+
|
|
3
|
+
> A general-purpose MCP connector marketplace initiated and maintained by the Qichacha team
|
|
4
|
+
|
|
5
|
+
Browse and install MCP connectors from different providers in DeepSeek Harness Desktop. Connect through OAuth, API key/URL configuration, JSON import, or a connector descriptor URL; discover tools, start a new conversation from an example prompt, and manage installed connections.
|
|
6
|
+
|
|
7
|
+
[简体中文](README.md)
|
|
8
|
+
|
|
9
|
+
[](https://github.com/duhu2000/dsh-mcp-connector/actions/workflows/ci.yml)
|
|
10
|
+
[](https://www.npmjs.com/package/dsh-mcp-connector)
|
|
11
|
+
[](LICENSE)
|
|
12
|
+
|
|
13
|
+
## Features
|
|
14
|
+
|
|
15
|
+
- A primary sidebar entry below New Conversation and above workspaces/conversations, with a public footer-slot fallback for incompatible DSH DOM versions.
|
|
16
|
+
- Searchable Marketplace and Installed views with connection status and catalog refresh.
|
|
17
|
+
- OAuth 2.0 Authorization Code with PKCE, API key/Bearer/unauthenticated URL configuration, and `mcpServers` JSON import.
|
|
18
|
+
- Installation from a credential-free connector descriptor URL.
|
|
19
|
+
- Credential and MCP initialize validation before API-key connectors are saved as installed.
|
|
20
|
+
- Dynamic tool discovery grouped by MCP server, including descriptions, search, batched rendering, and an independent scroll region.
|
|
21
|
+
- Curated prompt templates that can open a DSH conversation and prefill its draft; missing variables are requested before the prompt is sent.
|
|
22
|
+
- Persistent connection lifecycle management: restore on restart, enable/disable, disconnect, refresh OAuth tokens, and revoke authorization.
|
|
23
|
+
- Built-in, remote, and local catalogs with `published` and `featured` controls.
|
|
24
|
+
- A standalone remote Registry, allowing new marketplace cards to appear after refresh without publishing a new npm version.
|
|
25
|
+
- Explicit, non-destructive migration of authorization from the two earlier Qichacha OAuth plugins.
|
|
26
|
+
|
|
27
|
+
The first four bundled cards are Qichacha connectors. The public catalog also includes PKULaw and Wind connectors; the architecture is provider-neutral.
|
|
28
|
+
|
|
29
|
+
## Installation
|
|
30
|
+
|
|
31
|
+
Requirements: DeepSeek Harness Desktop or web profile, and Node.js 20 or later.
|
|
32
|
+
|
|
33
|
+
```bash
|
|
34
|
+
dsh plugin --profile web add dsh-mcp-connector
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
Or use the installer:
|
|
38
|
+
|
|
39
|
+
```bash
|
|
40
|
+
bash <(curl -fsSL https://raw.githubusercontent.com/duhu2000/dsh-mcp-connector/main/install.sh)
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
Fully quit and restart DeepSeek Harness Desktop after installation or upgrade.
|
|
44
|
+
|
|
45
|
+
## Usage
|
|
46
|
+
|
|
47
|
+
1. Select **MCP Connector** in the primary sidebar.
|
|
48
|
+
2. Choose a connector in Marketplace and complete authorization or configuration.
|
|
49
|
+
3. Open its details to inspect tools or send an example prompt to a new conversation draft.
|
|
50
|
+
4. Use Installed or the conversation tools to enable, disable, inspect, or disconnect a connection.
|
|
51
|
+
|
|
52
|
+
Connected tools are exposed to the model with the `mcp__<serverName>__*` prefix.
|
|
53
|
+
|
|
54
|
+
## Connector catalog
|
|
55
|
+
|
|
56
|
+
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.
|
|
57
|
+
|
|
58
|
+
The public connector registration process and descriptor requirements are documented in [docs/MARKET-REGISTRATION.md](docs/MARKET-REGISTRATION.md).
|
|
59
|
+
|
|
60
|
+
## Configuration
|
|
61
|
+
|
|
62
|
+
The default bundle configuration is in `cordis.patch.yml`:
|
|
63
|
+
|
|
64
|
+
```yaml
|
|
65
|
+
- id: mcp-connector
|
|
66
|
+
name: dsh-mcp-connector
|
|
67
|
+
config:
|
|
68
|
+
catalogUrl: 'https://raw.githubusercontent.com/duhu2000/dsh-mcp-connector-registry/main/catalog.json'
|
|
69
|
+
persistSecrets: true
|
|
70
|
+
entryPrefix: mcp
|
|
71
|
+
refreshSkewMs: 300000
|
|
72
|
+
openBrowser: true
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
Set `catalogUrl` to an empty string for an explicitly offline/private setup.
|
|
76
|
+
|
|
77
|
+
## Development and release checks
|
|
78
|
+
|
|
79
|
+
```bash
|
|
80
|
+
npm run check
|
|
81
|
+
npm run registry:build
|
|
82
|
+
npm run registry:validate
|
|
83
|
+
npm run dev:ui
|
|
84
|
+
```
|
|
85
|
+
|
|
86
|
+
`npm run check` performs syntax checks, automated tests, and an npm package allowlist/sensitive-content audit. 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`.
|
|
87
|
+
|
|
88
|
+
The current public version is [`dsh-mcp-connector@0.2.2`](https://www.npmjs.com/package/dsh-mcp-connector), with [GitHub Release v0.2.2](https://github.com/duhu2000/dsh-mcp-connector/releases/tag/v0.2.2).
|
|
89
|
+
|
|
90
|
+
See [CHANGELOG.md](CHANGELOG.md) for version history and [docs/DESKTOP-E2E.md](docs/DESKTOP-E2E.md) for the Desktop release checklist.
|
|
91
|
+
|
|
92
|
+
## Security and limitations
|
|
93
|
+
|
|
94
|
+
- Credentials are stored only in the DSH storage domain and are not written to the catalog, Git repository, or conversation history.
|
|
95
|
+
- Failed API key/token validation is not persisted; authentication, timeout, DNS, and TLS/network errors are reported separately.
|
|
96
|
+
- External URLs must use HTTPS; HTTP is allowed only for loopback development.
|
|
97
|
+
- 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.
|
|
98
|
+
- Streamable HTTP is the primary transport with SSE compatibility. stdio entries are explicitly skipped.
|
|
99
|
+
- The primary sidebar placement uses the stable DSH `data-slot` marker and falls back to the footer if that marker is removed.
|
|
100
|
+
|
|
101
|
+
## License
|
|
102
|
+
|
|
103
|
+
MIT
|
package/README.md
CHANGED
|
@@ -1,6 +1,10 @@
|
|
|
1
|
-
# MCP
|
|
1
|
+
# MCP 连接器市场(DeepSeek Harness 插件)
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
> 通用 MCP Connector Marketplace,由企查查团队发起并维护
|
|
4
|
+
|
|
5
|
+
在 DeepSeek Harness Desktop 中浏览和安装不同厂商的 MCP 连接器,通过 OAuth、API Key/URL 或 JSON 接入服务,发现工具、使用示例 Prompt 发起新会话,并管理已安装连接。
|
|
6
|
+
|
|
7
|
+
[English](README.en.md)
|
|
4
8
|
|
|
5
9
|
[](https://github.com/duhu2000/dsh-mcp-connector/actions/workflows/ci.yml)
|
|
6
10
|
[](https://www.npmjs.com/package/dsh-mcp-connector)
|
|
@@ -77,7 +81,7 @@ npm run dev:ui
|
|
|
77
81
|
|
|
78
82
|
`check` 执行语法检查、自动测试和 npm 发布包白名单校验;`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`。
|
|
79
83
|
|
|
80
|
-
当前公开版本为 [`dsh-mcp-connector@0.2.
|
|
84
|
+
当前公开版本为 [`dsh-mcp-connector@0.2.2`](https://www.npmjs.com/package/dsh-mcp-connector),对应 [GitHub Release v0.2.2](https://github.com/duhu2000/dsh-mcp-connector/releases/tag/v0.2.2)。
|
|
81
85
|
|
|
82
86
|
版本能力与变更记录见 [CHANGELOG.md](CHANGELOG.md)。
|
|
83
87
|
Desktop 发版回归见 [docs/DESKTOP-E2E.md](docs/DESKTOP-E2E.md)。
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-mcp-connector",
|
|
3
|
-
"version": "0.2.
|
|
4
|
-
"description": "DeepSeek Harness
|
|
3
|
+
"version": "0.2.2",
|
|
4
|
+
"description": "General-purpose MCP Connector Marketplace for DeepSeek Harness with OAuth 2.0 PKCE, API key/URL, JSON import, tool discovery, prompt templates, and connection management.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "lib/index.js",
|
|
7
7
|
"exports": {
|
|
@@ -21,6 +21,7 @@
|
|
|
21
21
|
"docs/MARKET-REGISTRATION.md",
|
|
22
22
|
"cordis.patch.yml",
|
|
23
23
|
"README.md",
|
|
24
|
+
"README.en.md",
|
|
24
25
|
"CHANGELOG.md",
|
|
25
26
|
"LICENSE",
|
|
26
27
|
"install.sh",
|
|
@@ -41,12 +42,22 @@
|
|
|
41
42
|
"keywords": [
|
|
42
43
|
"deepseek-harness",
|
|
43
44
|
"dsh",
|
|
45
|
+
"dsh-plugin",
|
|
44
46
|
"cordis",
|
|
45
47
|
"mcp",
|
|
48
|
+
"mcp-client",
|
|
49
|
+
"mcp-connector",
|
|
46
50
|
"connector",
|
|
51
|
+
"marketplace",
|
|
47
52
|
"oauth",
|
|
53
|
+
"oauth2",
|
|
48
54
|
"pkce",
|
|
49
|
-
"
|
|
55
|
+
"json-import",
|
|
56
|
+
"enterprise-data",
|
|
57
|
+
"qichacha",
|
|
58
|
+
"qcc",
|
|
59
|
+
"tools",
|
|
60
|
+
"prompts"
|
|
50
61
|
],
|
|
51
62
|
"license": "MIT",
|
|
52
63
|
"publishConfig": {
|