Shipcheck

io.github.CloudCorpRecords由 GitHub 账号 CloudCorpRecords 发布v0.2.0更新于 Nov 2, 2026

Release verification for Node and Python: tag, npm, PyPI, Registry, and GHCR must agree, or NO-GO.

概览

AI 生成的概览

校验 GitHub 发布是否在各处一致落地:git 标签、npm、PyPI、MCP Registry 与 GHCR,并给出统一的 GO 或 NO-GO 结论。

可以做什么
  • 对指定仓库和版本执行完整发布检查,逐项比对各个公开渠道并给出 GO 或 NO-GO 及证据
  • 检查 npm 包:版本是否已发布、dist-tags.latest 是否指向该版本,可发现暂存发布挂起
  • 检查 PyPI 包:版本是否带文件发布且为最新版,未上架时报告为跳过
  • 检查 MCP Registry:服务器是否列出该版本并标记为最新且有效
  • 查看 git 标签、标签指向的提交、包元数据、server.json、GitHub 发布、GHCR 标签,以及 README、Dockerfile、测试等软性检查
适用场景
适合发布 Node、Python 或混合型包后确认版本在各渠道都已上线,或发布流水线显示成功但用户反馈版本不存在时排查。也适合作为 CI 中任一处不一致即失败的关卡。
运行要求
以本地进程方式通过 npx 或 Docker 镜像运行;需要访问 GitHub、npm、PyPI、MCP Registry 和 GHCR 的网络。设置 GITHUB_TOKEN 可提高 GitHub API 速率上限,公开渠道无需其他凭据。
安装前请注意
检查本身只读,但会代你查询公开注册表和 GitHub,传入的仓库与包名会发送给这些服务。若提供 GITHUB_TOKEN,其 GitHub API 权限较广,应谨慎限定范围。结论依赖第三方实时接口,抓取失败会报错而非猜测。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Shipcheck,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

shipcheck

Did that release actually ship? One command, every surface, one verdict.

A modern release touches many public surfaces: the git tag, the GitHub release, the package metadata in the repo, npm or PyPI, the MCP Registry, and the container image on GHCR. Each one can fail silently while the others look fine. The publish workflow goes green, and then: npm has the version stuck in a staged hold, the registry still points at the last release, the container tag never got pushed, or, the worst one, the git tag points at a commit that does not exist.

shipcheck checks every surface against one expected version and prints a single verdict: GO, or NO-GO with the exact surfaces that disagree and the evidence for each one. It speaks both ecosystems: Node repos are read from package.json and npm, Python repos from pyproject.toml / setup.cfg / setup.py and PyPI, and hybrid repos (a Python core with an npm wrapper, like wallcheck) are checked on every carrier they actually have.

Why this exists

shipcheck was not designed in the abstract. It is the manual verification gauntlet from shipping Greenlight and its sibling tools, turned into a tool. That gauntlet caught real failures:

  • A release where the git tag pointed at a nonexistent commit object. npm, the registry, and the sources were all real; only checking that the tag resolves to a real commit exposed it. That is why tag-commit is a hard check.
  • npm staged publishing holds, where a brand new package version sits in review and the registry shows only a placeholder. To a user, the release simply does not exist. That is why npm-version and npm-latest are separate checks.
  • Registry publishes dispatched before npm verified, leaving the MCP Registry pointing at a version npm did not have yet. That ordering lesson is why shipcheck treats "listed" and "latest" as different facts on every surface.

What it checks

surfacewhat it proves
git-tagTag v<version> exists on the repo
tag-commitThe tag resolves to a real commit object
tag-versionpackage.json at the tag carries the expected version
pyproject-versionEvery Python version carrier at the tag agrees: pyproject.toml ([project] or [tool.poetry]), setup.cfg, setup.py, and dynamic versions resolved from the file they point at (hatch, setuptools attr: / file:, __version__)
server-versionserver.json at the tag, its package versions and its OCI tags all agree
github-releaseA published (not draft) GitHub release exists for the tag
npm-versionThe npm package has this version published (only when the repo has an npm package)
npm-latestnpm dist-tags.latest points at this version
pypi-versionThe PyPI package has this version published with files (Python projects)
pypi-latestThe latest PyPI release is this version
registry-versionThe MCP Registry lists this version for the server
registry-latestThe MCP Registry marks this version latest and active
ghcr-tagThe GHCR image has this version tag
ghcr-latestThe GHCR image also has a latest tag
python-testsSoft: Python test files exist at the tag, with the runner shape (pytest config, or unittest shape)
dockerfileSoft: a Dockerfile exists in the tag tree
readmeSoft: a README exists at the repo root
mcp-entrySoft: an MCP server entry point exists (a *-mcp or server console script, or server.json)

Verdict rules:

  • GO: every hard check passes. Exit code 0.
  • NO-GO: any hard check fails or errors. Exit code 1, ready for CI.
  • SKIP: a surface that does not apply is skipped, never failed. A repo with no MCP Registry entry skips the registry checks; a repo with no public container image skips GHCR; a Python project that is not on PyPI skips the PyPI checks; a Python project with no package.json skips npm instead of failing it. GHCR checks are soft by default and become hard with --require ghcr.
  • Every check reports expected vs actual and the source URL. A failed fetch is reported as an error with its HTTP status, never guessed.
  • The report names the detected ecosystem (node, python, hybrid, unknown). A Python app with no metadata carriers at all (requirements files and sources only) is still detected from its tag tree, and reports its missing version carrier as a SKIP with the evidence, not as a silent pass.

Usage

CLI

bash
# Full check. Version is read from package.json or the Python metadata# (pyproject.toml, setup.cfg, setup.py) on the default branch.npx @reneturcios/shipcheck check CloudCorpRecords/greenlight
# Python and hybrid repos work the same waynpx @reneturcios/shipcheck check CloudCorpRecords/wallcheck 0.5.0
# Check a specific versionnpx @reneturcios/shipcheck check CloudCorpRecords/greenlight 0.15.1
# Machine readable output, custom surface names, force GHCR to be requirednpx @reneturcios/shipcheck check owner/repo 1.2.0 --json \  --npm @scope/pkg --pypi pkg --server io.github.Owner/repo --require ghcr
# Single surfacesnpx @reneturcios/shipcheck npm @reneturcios/greenlight 0.15.1npx @reneturcios/shipcheck pypi wallcheck 0.5.0npx @reneturcios/shipcheck registry io.github.CloudCorpRecords/greenlight 0.15.1

Example output:

shipcheck CloudCorpRecords/greenlight v0.15.1: GO  [PASS] git-tag: Tag v0.15.1 exists (object type commit)  [PASS] tag-commit: Tag resolves to real commit f52939005a0f  [PASS] tag-version: package.json at v0.15.1 is version 0.15.1  [PASS] github-release: GitHub release v0.15.1 is published  [PASS] npm-version: @reneturcios/[email protected] is published on npm  [PASS] npm-latest: npm latest points at 0.15.1  [PASS] registry-version: MCP Registry lists io.github.CloudCorpRecords/greenlight 0.15.1 (status active)  [PASS] registry-latest: MCP Registry latest is 0.15.1 and active  [PASS] ghcr-tag: GHCR image has tag 0.15.1  [PASS] ghcr-latest: GHCR image has a latest tagGO: every hard surface agrees on this version.

Inference, so the common case needs one argument: the npm package name is read from package.json at the tag or on the default branch, the PyPI package name from the Python metadata, the registry server name from server.json when present (else io.github.<Owner>/<repo>), and the GHCR image defaults to ghcr.io/<owner>/<repo> lowercased. Override any of them with --npm, --pypi, --server, or --ghcr. Skip whole groups with --skip npm,pypi,python,server,registry,ghcr,release,github.

Set GITHUB_TOKEN for the higher authenticated GitHub API rate limit. Public surfaces need no other credentials; GHCR uses the standard anonymous token flow for public images.

MCP server

Add to your MCP client config:

json
{  "mcpServers": {    "shipcheck": {      "command": "npx",      "args": ["-y", "@reneturcios/shipcheck", "mcp"]    }  }}

Tools:

  • check_release: the full check: repo, optional version, optional npm/PyPI/server overrides, require and skip lists.
  • check_npm: one npm package and version: published, and latest points at it.
  • check_pypi: one PyPI package and version: published with files, and it is the latest release. Absent from PyPI reports as skipped.
  • check_registry: one MCP Registry server and version: listed, and marked latest.

Docker

bash
docker run -i ghcr.io/cloudcorprecords/shipcheck mcpdocker run --rm ghcr.io/cloudcorprecords/shipcheck check CloudCorpRecords/greenlight 0.15.1

The toolkit

shipcheck is Wave 1, package 1 of a planned family of small, single-purpose developer tools by the same author, all built the same way: one bin that serves a CLI and an MCP server, deterministic checks with evidence, no invented answers.

  • greenlight: pre-flight checks for open-source contributions: is this issue actually landable?
  • prwatch: attention report for your open PRs: what needs you right now.
  • claimcheck: stale-claim states and parked fixes on forks.
  • gatefile: extract hidden contribution gates into machine-readable contribution-gates.json.
  • pkgverdict: pre-install verdicts for npm packages: GO, RISKY, FAKE, or MISSING.

Development

bash
npm installnpm run buildnpm test   # 40 tests, all surface logic runs on injected fixtures, no network

License

MIT

来源:README.md,提交 7a73236

工具

4

check_release

Verify a GitHub release shipped consistently: git tag resolves to a real commit, package.json and the Python metadata (pyproject.toml, setup.cfg, setup.py) at the tag match, server.json matches when present, GitHub release is published, npm has the version and points latest at it (only when the repo has an npm package), PyPI has the version and points latest at it (only for Python projects, skipped when the project is not on PyPI), the MCP Registry lists it as latest, and GHCR has the image tag. Python projects also get soft structure evidence (tests, Dockerfile, README, MCP entry point). Returns a GO or NO-GO report with evidence per surface.

输入参数repo必填skiprequireversionnpmPackageserverNamepypiPackage

check_npm

Check one npm package surface: the version is published and dist-tags.latest points at it. Catches staged publishing holds, where a version exists in the publish pipeline but is not actually live.

输入参数package必填version必填

check_pypi

Check one PyPI package surface: the version is published with files and it is the latest release. A package absent from PyPI reports as skipped, not failed, because many Python projects ship only through GitHub, GHCR or an npm wrapper.

输入参数package必填version必填

check_registry

Check one MCP Registry surface: the server lists the version and marks it as the latest active version. Servers absent from the registry report as skipped, not failed.

输入参数version必填serverName必填

版本历史

2
  1. v0.2.0最新Oct 26, 2026
  2. v0.1.0Oct 19, 2026

评分

已满足适用检查项的 90%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分
  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具必需15 分
  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分