Files
market/manifest.json
T
yige ae42a56205 docs: 自建 MCP 指南的连接测试显式传 timeout / Pass an explicit timeout to MCP connection tests (#281)
## 中文

### 背景

DesireCore 主仓
[desirecore/desirecore#6228](https://github.com/desirecore/desirecore/pull/6228)(ADR-366)把
stdio MCP 服务端的连接测试期限从 30 秒改为 120 秒:uvx / npx 首次启动要先下载依赖,30
秒常常不够。测试结果要等子进程回收后才返回,最长约 130 秒。

内置技能「自建 Tool 与 MCP」(`tool-mcp-authoring`)的 MCP 服务参考引导 Agent 经
`HttpRequest` 调 `POST /api/mcp/test-connection`,但没有写
`timeout`。`HttpRequest` 缺省 30 秒,会先于服务端测试结束:Agent
只看到「请求超时」,看不到期限说明、stderr 尾部与启动未完成提示。

### 改动

-
`references/mcp-server.zh-CN.md`、`references/mcp-server.md`:test-connection
调用补一句:首次启动可能约两分钟才返回,经 `HttpRequest` 调用时传 `timeout: 150000`。中英两份内容一致。
- 技能版本 1.0.1 → 1.0.2(`SKILL.md` 与 `catalog-metadata.v1.json`),市场版本
1.5.25 → 1.5.26。

旧客户端的连接测试仍是 30 秒,多传 `timeout` 不影响它们。

### 验证

- `validate-i18n.py`:0 个错误
- `validate_catalog_metadata.py --require-complete`:0 个错误
- `translate.py --check`:退出码 0;技能正文与元数据字符串没有变,翻译哈希仍然有效
- diff 不含凭据,内容与客户无关

主仓的 `defaults/market.zip` 不在本 PR 范围内,合入后再另行运行 `npm run sync-market`。

## English

### Background

DesireCore
[desirecore/desirecore#6228](https://github.com/desirecore/desirecore/pull/6228)
(ADR-366) raises the connection-test deadline for stdio MCP servers from
30 to 120 seconds, because uvx / npx often need longer than 30 seconds
to download dependencies on first launch. The result is returned only
after the child process is reclaimed, so it can take about 130 seconds.

The MCP server reference of the built-in "Self-authored Tools and MCP"
skill (`tool-mcp-authoring`) tells the Agent to call `POST
/api/mcp/test-connection` through `HttpRequest` without a `timeout`.
`HttpRequest` defaults to 30 seconds and gives up before the server-side
test finishes. The Agent then sees only "request timed out" and never
gets the deadline message, the stderr tail or the startup hint.

### Changes

- `references/mcp-server.zh-CN.md` and `references/mcp-server.md`: the
test-connection call now says a first launch can take about two minutes
and that `HttpRequest` calls should pass `timeout: 150000`. Both
languages say the same thing.
- Skill version 1.0.1 → 1.0.2 (`SKILL.md` and
`catalog-metadata.v1.json`); market version 1.5.25 → 1.5.26.

Older clients still use a 30-second connection test; the extra `timeout`
does not affect them.

### Validation

- `validate-i18n.py`: 0 errors
- `validate_catalog_metadata.py --require-complete`: 0 errors
- `translate.py --check`: exit code 0; the skill body and metadata
strings are unchanged, so translation hashes stay fresh
- The diff contains no credentials and stays customer-neutral

Updating `defaults/market.zip` in the main repository is out of scope
here; `npm run sync-market` runs separately after this merges.
2026-11-16 23:36:33 +08:00

44 lines
1003 B
JSON

{
"name": "DesireCore Official Market",
"version": "1.5.26",
"schemaVersion": "1.1.0",
"supportedLocales": [
"zh-CN",
"en-US"
],
"defaultLocale": "en-US",
"i18n": {
"default_locale": "en-US",
"zh-CN": {
"name": "DesireCore 官方市场",
"description": "DesireCore 官方市场,提供精选高质量的 Agent 和 Skill"
},
"en-US": {
"name": "DesireCore Official Market",
"description": "Curated, high-quality Agents and Skills published by the DesireCore team."
}
},
"maintainer": {
"name": "DesireCore Team",
"email": "market@desirecore.net",
"url": "https://desirecore.net"
},
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/desirecore/market.git"
},
"stats": {
"totalAgents": 10,
"totalTeams": 2,
"totalSkills": 148,
"lastUpdated": "2026-11-09"
},
"features": [
"curated-index",
"auto-sync",
"multi-language",
"ai-translation"
]
}