mcp-release-prep
GitHub自动化准备MCP服务器和插件发布,同步更新package.json、manifest.json等核心文件版本及文档脚注,并生成changelog。
Trigger Scenarios
Install
npx skills add dathere/qsv --skill mcp-release-prep -g -y
SKILL.md
Frontmatter
{
"name": "mcp-release-prep",
"description": "Prepare an MCP server and plugin release by bumping versions across all files and updating changelog",
"disable-model-invocation": true
}
MCP Server & Plugin Release Preparation
Prepare an MCP server and plugin release by updating version numbers across all required files and generating a changelog entry. Per the policy adopted in 20.0.0, the MCP server version tracks the qsv binary version — 20.0.0, 20.1.0, 21.0.0, 21.1.0 and 22.0.1 all shipped as companion releases to the matching binary. (The version numbers are mechanically independent — nothing enforces the match — but pick the binary's version unless you have a specific reason not to.)
Arguments
version(required): The new MCP server version number (e.g., "16.2.0")minimum_qsv_version(optional): New minimum qsv binary version, if changing
All paths below are relative to .claude/skills/.
Version Bump Checklist
Core (must always update)
package.json: find"version":field — source of truth;version.tsreads this at runtimemanifest.json: find"version":field near top — must match package.json.claude-plugin/plugin.json: find"version":field../../.claude-plugin/marketplace.json(repo root): find"version":in bothmetadataandplugins[0]— must match package.json
After bumping package.json, run npm install --package-lock-only to sync package-lock.json.
Do NOT look for a
version:field inagents/*.mdfrontmatter. Agent frontmatter carried one through 19.1.1 but it was removed since; the three agent files now have onlyname,description, andallowed-tools. There is nothing to bump there.
Conditional (only if minimum qsv binary version changes)
-
manifest.json: find"minimum_qsv_version":in_meta["com.dathere.qsv"]— this is the single source of truth and the only edit point.Both consumers read it from
manifest.jsonat runtime; neither holds a hardcoded version, so do not go hunting for aMINIMUM_QSV_VERSIONconstant to edit:src/config.ts—loadMinimumQsvVersion()→readMinimumQsvVersionFromManifest(); falls back to"0.0.0"(check becomes a no-op) if the manifest can't be read.scripts/cowork-setup.cjs— same logic in CJS, same"0.0.0"fallback.
Raise the floor when the regenerated skill JSONs advertise flags that only exist in the new binary (the 21.1.0 and 22.0.1 precedent). If the release is purely a docs/packaging change, leaving the floor alone is fine.
Documentation (hardcoded versions to update)
These footers rot easily — they have been missed in past releases, so check all three even if the
release is small. Each is an **Updated**: YYYY-MM-DD / **Version**: X.Y.Z pair at the bottom
of the file.
README-MCP.md:**Version**:footer near the bottomdocs/desktop/README-MCPB.md:**Version**:footer near the bottom (this is the only version string in the file — there are noreleases/download/<ver>/URLs to update)README.md:**Version**:footer near the bottomdocs/guides/START_HERE.md: check for hardcoded version references (currently none — it uses an unversioned.mcpbreference)
A catch-all sweep for anything the list misses — from the repo root, with <old> as the version
you are replacing:
git grep -n '<old>' -- .claude/skills .claude-plugin
This must come back clean (modulo historical prose in docs/audits/) before packaging: the
packaging scripts do no cross-validation, so a partial sweep silently produces a correctly-named
bundle containing a stale manifest.
Command count verification
Verify the skill-based command count matches actual files:
ls qsv/qsv-*.json | wc -l
Then check descriptions in these files for stale counts:
.claude-plugin/plugin.jsondescription../../.claude-plugin/marketplace.json— bothmetadata.descriptionandplugins[0].descriptioncowork-CLAUDE.md— Tool Discovery sectionskills/csv-wrangling/SKILL.md— Tool Discovery sectionmanifest.json—_meta.com.dathere.qsv.featuresarray
Changelog Entry
Add a new section at the top of CHANGELOG.md (in .claude/skills/) following this format:
## [X.Y.Z] - YYYY-MM-DD
### Added
- (new features)
### Changed
- (changes to existing features)
### Fixed
- (bug fixes)
Find the last qsv release tag and use it to populate the changelog:
# Find the most recent qsv release tag
LAST_TAG=$(git describe --tags --match '[0-9]*.[0-9]*.[0-9]*' --abbrev=0 2>/dev/null || echo "")
# List relevant commits since that tag (or all commits from repo root if no tag exists)
git log --oneline --no-merges --grep="(mcp)" "${LAST_TAG:-$(git rev-list --max-parents=0 HEAD)}"..HEAD
Only commits with (mcp) or (plugin) in the title are relevant to MCP server releases.
Verification Steps
After version bumps:
npm run build— TypeScript compilation succeedsnpm test— all tests pass. This is the real gate: release commits use[skip ci], somcp-server-ci.ymlwill not run on them.npm run mcpb:package— generatesqsv-mcp-server-X.Y.Z.mcpbnpm run plugin:package— generatesqsv-data-wrangling-X.Y.Z.plugin
⚠️ Run steps 3 and 4 back to back. clean:bundles is chained onto both and deletes every
.mcpb/.plugin not matching the current version — so mcpb:package removes the previous
release's .plugin before plugin:package rebuilds it. Stopping in between leaves you with only
one artifact on disk. (Harmless in practice: prior artifacts live on their GitHub release, and
both file types are gitignored, so they are never committed.)
Publishing
There are two independent channels, and only one involves an artifact:
| Channel | Mechanism | Artifact? |
|---|---|---|
| Claude Code marketplace | marketplace.json has "source": "./.claude/skills" — installs pull live from master |
No — pushing to master is the publish |
| GitHub release assets | .mcpb (Claude Desktop) + .plugin (Cowork) attached to the qsv release |
Yes, uploaded by hand |
Nothing is automated; there is no CI job that packages or publishes either artifact.
git commit # subject: chore(mcp): vX.Y.Z release of MCP Server and Claude Cowork plugin
# body: [skip ci]
git push
gh release upload <tag> qsv-mcp-server-X.Y.Z.mcpb qsv-data-wrangling-X.Y.Z.plugin
⚠️ Check the binary release is complete before pushing. Because the marketplace serves live
from master, pushing advertises a plugin whose minimum_qsv_version users must be able to satisfy
by download. If publish.yml is still in flight — or the release is still marked Pre-release —
some platforms have no binary yet, and those users get a version-floor warning from
cowork-setup.cjs (a warning, not a refusal). Confirm with gh release view <tag> and
gh run list --workflow=publish.yml first.
Cowork Plugin
The Cowork plugin (.plugin file) is a separate distribution artifact from the Desktop Extension (.mcpb). It provides the workflow layer (skills, agents, hooks) without the MCP server itself.
Plugin components (all relative to .claude/skills/)
.claude-plugin/plugin.json— plugin manifest (version already bumped in Core step 3)scripts/cowork-setup.cjs— SessionStart hook that deployscowork-CLAUDE.mdto the working directory and validates the qsv binarycowork-CLAUDE.md— workflow template deployed by the hookskills/— 15 SKILL.md files: 9 user-invocable (csv-query, data-clean, data-convert, data-describe, data-join, data-profile, data-validate, data-viz, infer-ontology) + 6 model-invoked (bls-query, csv-wrangling, data-quality, genai-disclaimer, qsv-performance, reproducible-analysis)agents/— subagents (data-analyst, data-wrangler, policy-analyst)
Plugin-specific review
When preparing a release, also review:
cowork-CLAUDE.md: check that tool names, workflow steps, and limits are still accuratescripts/cowork-setup.cjs: ifminimum_qsv_versionchanged, update theMINIMUM_QSV_VERSIONconstant (listed in Conditional step 10)skills/,agents/: check for any hardcoded version references or stale tool names
Important Notes
- MCP server version advances independently of qsv binary version
minimum_qsv_versiontracks binary compatibility, not server version — enforced in 3 places:src/config.ts,manifest.json, andscripts/cowork-setup.cjs(all must stay in sync)- Skill JSON files (
qsv/*.json) are auto-generated by the qsv binary (qsv --update-mcp-skills), not by this skill — only bump those via/release-prep version.tsreads version frompackage.jsonat runtime — no need to editversion.tsdirectly- The
.pluginpackage reads its version frompackage.json(same source of truth as the.mcpb)
Version History
- 2f6b659 Current 2026-08-20 16:15


