Cut a blowhorn-mcp release: bump and changelog, GitHub tag vX.Y.Z, npm, MCP Registry server.json (remote-only), hosted gateway deploy to production and staging with healthz, Cloud version verification, and signed-in hosted smoke in one publish.yml run (test-account sign-in; repo secrets from the Secrets spreadsheet, never printed). Use when the user asks to cut or publish an MCP release, ship blowhorn-mcp, publish to npm or the MCP Registry, or deploy the hosted gateway as part of a release. ...
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Cut Release?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/blowhorn-ai-cut-release)
---
name: cut-release
description: >-
Cut a blowhorn-mcp release: bump and changelog, GitHub tag vX.Y.Z, npm,
MCP Registry server.json (remote-only), hosted gateway deploy to production
and staging with healthz, Cloud version verification, and signed-in hosted
smoke in one publish.yml run (test-account sign-in; repo secrets from the
Secrets spreadsheet, never printed). Use when the user asks
to cut or publish an MCP release, ship blowhorn-mcp, publish to npm or the
MCP Registry, or deploy the hosted gateway as part of a release. Never cut
a desktop DMG. Supersedes any step that publishes npm or the registry
without the deploy and verification, or that triggers a Cloud release.
---
# Cut a blowhorn-mcp release
The hosted MCP server clients use is Cloud's `/mcp`. This repository's Worker
is the public transport at `https://mcp.blowhorn.ai`: it proxies MCP to
Cloud, and answers RFC 9728 metadata, `/healthz` and the unauthenticated 401
challenge locally. Cloud's MCP surface ships with Cloud releases, which Cloud
cuts on every green merge. This repository never triggers a Cloud or
`meshery/schemas` release. The release workflow verifies Cloud, then publishes
and deploys the Worker.
The one front door is `make cut-release MIN_CLOUD_VERSION=X.Y.Z` on an
up-to-date `master` after the version bump has merged. That tags `vX.Y.Z`,
starts `.github/workflows/publish.yml`, and waits for it. The workflow:
1. Confirms production Cloud's `/api/system/version` is at least
`MIN_CLOUD_VERSION` (the check script owns the URL;
`hosted/scripts/check-cloud-version.js`). No secret is required.
2. Publishes `blowhorn-mcp` to npm with provenance (OIDC; skipped if that
version is already on npm).
3. Publishes `server.json` to the MCP Registry. The listing is remote-only
(no `packages` array). `make check` already validated `server.json` against
the vendored official schema. A missing or empty `packages` is accepted;
when `packages` is present, every entry's version must equal the release.
4. Deploys the hosted gateway to production and staging
(`hosted-deploy.yml`), each with `/healthz` and the deployment check.
5. Re-checks the Cloud version floor, then runs `make hosted-smoke-login`:
initialize and `tools/list` through `https://mcp.blowhorn.ai` and
`https://mcp-staging.blowhorn.ai` with the test account's headless
sign-in (`test+mcp@blowhorn.ai`). The password and email come from repo
secrets `BLOWHORN_MCP_TEST_PASSWORD` and `BLOWHORN_MCP_TEST_EMAIL`,
sourced from the Secrets spreadsheet and never printed. Production
signed-in initialize and tools/list are a hard gate. Staging sign-in
uses `BLOWHORN_MCP_TEST_PASSWORD_STAGING` at
`https://staging-cloud.layer5.io`: when the secret is unset, that
signed-in step is a named skip (`staging test account not
provisioned`) and does not fail the release; when it is set, staging
signed-in is a hard gate. Every other staging check stays a hard
gate. A missing production password or a red smoke means the release
is failed and must be fixed; do not recut the published version.
Audience and token validation are unchanged.
The same smoke runs daily at 11:23 UTC on both origins from the
`hosted-smoke.yml` schedule, and can be run anytime with its
workflow_dispatch (default: both origins). Local `make hosted-smoke-login`
is optional; if the password is not already in the environment, it is read
from the Secrets spreadsheet into the environment only.
There is no desktop path here. Never run Blowhorn's `make release`,
`make desktop-release` or `desktop/scripts/release-mac.mjs`. The stdio
`blowhorn mcp-server` Rust binary (`engine/rust/mcp` in the private Blowhorn
repo) ships inside the desktop app, not as a GitHub asset of this repository.
When MCP work in that binary should ride the next desktop cut, notify
Blowhorn Engineering (desktop app) and Instinct (desktop release engineering)
and stop. Do not cut a DMG.
## The chain before you cut
Do these in order. Do not add a cross-repo trigger.
1. **Schemas, only when `x-mcp` changed.** Cut or wait for a `meshery/schemas`
release that carries the change, then ask the Cloud maintainers (task id
in the message) to bump that dependency and cut their Cloud release. That
is their lane.
2. **Cloud.** Wait until production Cloud's `/api/system/version` meets the
floor you will pass as `MIN_CLOUD_VERSION` (`X.Y.Z` or
`production-vX.Y.Z`). Confirm with `make check-cloud-version
MIN_CLOUD_VERSION=...`. If a staging floor matters too, also pass
`MIN_STAGING_CLOUD_VERSION` (`N` or `staging-N`).
3. **This repository.** Bump, merge, then `make cut-release` as below. The
workflow verifies Cloud again, deploys the Worker, and smokes both
origins.
If Cloud is behind, do not start `make cut-release`. Message the Cloud
maintainers with the task id and the minimum version, and wait.
## Version bump PR
On a clean branch from `origin/master`:
1. Bump `version` in `package.json` (plain `X.Y.Z` only, never a prerelease).
2. Add the version to `CHANGELOG.md`.
3. Run `make generate`, then `make check`. Never hand-edit `server.json` or
the other generated listing files. `make validate` (via `make check`)
holds `server.json` to `schemas/vendor/mcp-server.schema.json`.
4. Open a PR. Every commit needs a `Signed-off-by:` DCO trailer and no
Claude, Anthropic or other tool attribution in the message, co-author
trailer or body.
5. Merge on green. This is public-repo CI, which is allowed. No-mistakes is
not required unless the PR also changes functional product code beyond
this docs and release tooling path.
## Cut it
From a clean `master` that matches `origin/master`, with `gh` signed in as
someone who can push tags and dispatch `publish.yml`:
```bash
make check-cloud-version MIN_CLOUD_VERSION=1.0.394
make cut-release MIN_CLOUD_VERSION=1.0.394
# optional staging floor:
# make cut-release MIN_CLOUD_VERSION=1.0.394 MIN_STAGING_CLOUD_VERSION=6547
```
`MIN_CLOUD_VERSION` is required; there is no default. `make publish` alone
is the resume path when the GitHub release already exists:
`make publish MIN_CLOUD_VERSION=1.0.394`. Follow the run with
`gh run watch --repo blowhorn-ai/blowhorn-mcp`. A maintainer may need to
approve the `npm` environment before the publish job starts. Local
`make hosted-smoke-login` is optional. To re-run only the smoke, dispatch
`.github/workflows/hosted-smoke.yml`.
Repo secrets the verify job and `hosted-smoke.yml` need (never print them,
never commit them):
- `BLOWHORN_MCP_TEST_PASSWORD`: the test account password for production
Cloud, sourced from the Secrets spreadsheet (secret name
`BLOWHORN_MCP_TEST_PASSWORD`). Required. A missing secret fails the
release; the production signed-in path is not skipped.
- `BLOWHORN_MCP_TEST_PASSWORD_STAGING`: the test account password for
staging Cloud (`https://staging-cloud.layer5.io`), sourced from the
Secrets spreadsheet (secret name `BLOWHORN_MCP_TEST_PASSWORD_STAGING`).
When unset, staging signed-in is a named skip (`staging test account
not provisioned`) and does not fail the release. When set, staging
signed-in is a hard gate.
- `BLOWHORN_MCP_TEST_EMAIL`: the test account email
(`test+mcp@blowhorn.ai`). When unset, the smoke script uses that
default email.
- `SMOKE_HOSTED_ORGANIZATION_ID`: optional. When unset, `tools/call` is
skipped; initialize and `tools/list` still run and must pass.
`CLOUDFLARE_API_TOKEN` and `CLOUDFLARE_ACCOUNT_ID` are the existing deploy
secrets. Do not store an MCP token as a smoke secret; headless sign-in
is the path CI uses. This workflow does not create or rotate any secret.
## Resume
- Failed before the tag exists: fix, then `make cut-release` again.
- Tag and GitHub release exist, later step failed: do not move or delete a
published tag. Re-run `make publish MIN_CLOUD_VERSION=...` for the same
version. npm is skipped when that version is already on npm; the registry
and the deploy plus verify run again.
- Cloud is below the floor: do not rerun until Cloud meets it, or pass a
floor that the current Cloud already meets when the release does not
depend on a newer Cloud.
- Hosted smoke failed, or signed-in initialize and `tools/list` did not
pass: the release is failed. Fix the cause and re-run the smoke with
`hosted-smoke.yml` or `make publish` for the same version. Do not recut
the published version.
- Smoke failed on a missing `BLOWHORN_MCP_TEST_PASSWORD` secret: add the
secret from the Secrets spreadsheet, then resume with `make publish` or
dispatch `hosted-smoke.yml`. Never print the password.
- Never recut a published version to retry a later step under a new tag.
## What NOT to do
- Do not cut a desktop DMG, and do not wait on private-repo CI.
- Do not trigger Cloud, meshery-cloud or `meshery/schemas` from this repo
or this workflow.
- Do not publish npm or the registry by hand except for the documented
last-resort registry login in MAINTAINERS.md, and never as a way to skip
deploy and smoke.
- Do not hand-edit `server.json`.
- Do not invent a second release workflow that omits deploy or verification.
- Do not print tokens, passwords or the test account.
- Do not store an MCP token as a smoke secret; CI uses headless sign-in
with `BLOWHORN_MCP_TEST_PASSWORD`.
## Report every release
After the publish run is green, report all of this to Yi, in America/Chicago
time, without "want to know?" questions:
- Version `X.Y.Z` and the GitHub release URL (tag `vX.Y.Z`)
- npm: published or already present
- MCP Registry: published, remote-only `server.json`
- Hosted deploy: production `https://mcp.blowhorn.ai` and staging
`https://mcp-staging.blowhorn.ai`, with healthz and the workflow run URL
- Cloud versions seen versus `MIN_CLOUD_VERSION` (and the staging floor
when one was set)
- Hosted smoke: the CI `make hosted-smoke-login` result on both origins
(pass, or that the release is failed and must be fixed)
- Whether Blowhorn Engineering and Instinct were notified that Rust
`blowhorn mcp-server` work should ride the next desktop cut
Maintainer narrative for the npm, registry and one-time trusted-publisher
setup lives in [MAINTAINERS.md](../../../MAINTAINERS.md). This skill is the
procedure that cuts each later release.