@camstack/mcp-develop

中文文档
0.1.31发布于 2026/11/07MITTypeScriptES Module近 30 天下载 4276

Deprecated alias of camstack mcp --toolsets develop. MCP server for CamStack plugin authors: catalogue, scaffold, validate, find_example, track review (wraps @camstack/develop).

原始使用文档
文档目录4 节
  1. Workspace tools
  2. Track review tools
  3. Configuration
  4. Requirements

@camstack/mcp-develop

Deprecated. This package is an alias for one more release. The same tools now ship inside the CLI: npm i -g camstack, then claude mcp add camstack -- camstack mcp --toolsets develop.

MCP server (stdio) for CamStack plugin authors. Run it with npx @camstack/mcp-develop; it wraps @camstack/develop.

Workspace tools

Operate on the local CamStack workspace only (no hub): list_addons, get_addon, list_capabilities, get_capability, who_provides, list_examples, find_example, validate_addon, scaffold_addon, scaffold_cap_stub, extend_addon, list_skills, get_skill.

Track review tools

Find tracks whose class is wrong and curate them into the re-training set. The procedure, the signals and the verdict vocabulary are in the track-review skill (get_skill track-review).

ToolHub accessWhat it does
track_review_triagereadRank recent video tracks by how likely the class is wrong; returns suspects with features, cameraName and inTraining (suspects already in the retrain corpus are skipped, counted in skippedInTraining, unless excludeInTraining: false) and a random control sample of non-suspects. few-observations is not evaluated here (slim rows carry no positions); signalsNotEvaluated says so. Walks the hub one camera at a time (1000 rows/page), bounded at 20000 tracks or 60 s; a partial read is announced in the first text block and in fetched.truncatedBy.
track_review_framereadThe best clean frame of one track as an image (size-bounded) plus its features and trajectory envelope. Prefers a whole-scene frame; on a thumbnail-crop fallback the envelope is withheld (imageSpace: crop) with a warning, since its full-frame coordinates do not map onto the crop.
track_review_plannoneTurn verdicts into the exact write plan, keeping each verdict's note and an optional collectionName. Local, writes nothing.
track_review_applywriteExecute a plan: flag tracks for training, copy a frame, save corrected annotations, mark complete, add to a named collection. Refuses without confirm: true and a collection name (the collectionName argument, else plan.collectionName); idempotent; never replaces existing annotations unless overwrite: true; returns a per-track log and the corpus KPI before and after. A box copied from the pipeline is saved as the pipeline's (source: 'pipeline', with its model, score and an origin snapshot), and the save names the frame revision it read so a frame changed elsewhere is refused.
track_review_backfill_originwrite (dry-run by default)For annotations saved before origins existed, reconstruct each row's origin by EXACT rectangle match against the pipeline box the hub re-derives for its frame. Name a collection or frameIds. Returns per frame the rows that would get an origin, the rows that stay unmatched (approximate) and those that already have one; writes (backfillRetrainOrigins, origin column only) only with confirm: true, and never overwrites an existing origin.

Hub methods used (pipelineAnalytics.* unless noted): deviceManager.listAll, listRecentTracks, getTrack, listTrackMedia, getTrackMedia, getRetrainCorpusKpi, listRetrainCollections, listRetrainFrames, listRetrainAnnotations; writes: setTrackFlags, selectRetrainFrames, saveRetrainAnnotations, backfillRetrainOrigins, setRetrainFrameComplete, createRetrainCollection, addRetrainFramesToCollection; also reads listRetrainCorpusPage (the backfill walks a collection with it).

Configuration

VariableMeaning
CAMSTACK_HUB_URLHub address, e.g. https://hub.local:4443.
CAMSTACK_HUB_TOKEN_FILEFile holding one token (preferred). CAMSTACK_HUB_TOKEN also works.
CAMSTACK_HUB_CA_FILEPEM of the hub's CA / pinned certificate for a self-signed hub.

TLS verification is never disabled. track_review_apply and track_review_backfill_origin (with confirm) need an admin token; the hub's refusal is shown as-is. Tokens never appear in output.

{ "mcpServers": { "camstack-develop": {
  "command": "npx", "args": ["@camstack/mcp-develop"],
  "env": { "CAMSTACK_HUB_URL": "https://hub.local:4443",
           "CAMSTACK_HUB_TOKEN_FILE": "/home/me/.camstack/review.token",
           "CAMSTACK_HUB_CA_FILE": "/home/me/.camstack/hub-ca.pem" } } } }

Package @camstack/mcp-develop on npm.

Requirements

  • Node.js >=24.

See CHANGELOG.md for what changed in each version.

版本与发布记录

@camstack/mcp-develop 共发布 32 个版本,首次发布于 2026/10/06;过去 12 个月发布了 32 个版本。

版本发布日期距今
0.1.31latest2026/11/072 天前
0.1.302026/11/054 天前
0.1.292026/11/018 天前
0.1.282026/10/3010 天前
0.1.272026/10/2812 天前
0.1.262026/10/2614 天前

关于 @camstack/mcp-develop 的常见问题

@camstack/mcp-develop 是什么?

Deprecated alias of camstack mcp --toolsets develop. MCP server for CamStack plugin authors: catalogue, scaffold, validate, find_example, track review (wraps @camstack/develop).

如何安装 @camstack/mcp-develop?

在项目目录运行 npm install @camstack/mcp-develop,或使用 pnpm add / yarn add / bun add。它还提供命令行工具 camstack-mcp-develop,可以用 npx camstack-mcp-develop 直接运行。

@camstack/mcp-develop 支持 TypeScript 吗?

支持。包内自带 TypeScript 类型声明(package.json 声明了 types 入口),安装后即可获得类型提示,无需再安装 @types 包。

@camstack/mcp-develop 支持 ESM 还是 CommonJS?

以 ES Module 形式发布,推荐使用 import 引入。在 CommonJS 项目中,Node.js 20.19+ / 22.12+ 可以直接 require() 不含顶层 await 的 ES Module,更早的版本需要改用动态 import()。

@camstack/mcp-develop 需要什么版本的 Node.js?

package.json 的 engines 字段要求 Node.js >=24。版本不符时 npm 默认只给出警告,开启 engine-strict 后会拒绝安装。

@camstack/mcp-develop 可以商用吗?

@camstack/mcp-develop 使用 MIT 许可。宽松许可:允许商业使用、修改和再分发,通常只需在分发时保留原版权与许可声明。以上为概括,不构成法律意见,请以许可原文为准。

@camstack/mcp-develop 的下载量有多少?

根据 npm 官方下载统计,@camstack/mcp-develop 在 2026/10/09 – 2026/11/07 这 30 天内被下载 4,276 次,日均约 143 次。下载量会把 CI 构建、镜像同步和作为其他包依赖的安装一并计入,适合横向比较热度,不能直接等同于使用人数。

@camstack/mcp-develop 还在维护吗?

最新版本 0.1.31 发布于 2026/11/07(2 天前);至今共发布 32 个版本,其中过去 12 个月发布了 32 个;首次发布于 2026/10/06。发布频率只是参考信号:功能稳定的工具可能很少需要更新,建议结合源码仓库的 issue 和提交记录判断。