Skip to content

Commit 283cff6

Browse files
aborrusoclaude
andcommitted
chore(registry): realign server.json to 0.4.114, add publish step to release workflow
The official MCP Registry entry was stuck at 0.4.83 since 2026-03-12 — 31 patch releases behind npm, still flagged isLatest, and advertising a build predating the v0.4.108 SSRF remediation. Root cause: the release workflow bumped package.json and manifest.json but never server.json, and npm publish does not touch the registry. - server.json: 0.4.83 -> 0.4.114 (both version and packages[0].version) - CLAUDE.md: server.json added to step 1, mcp-publisher publish as step 10 after npm publish, plus a curl one-liner to verify the published entry - Published and verified: registry now serves 0.4.114 with isLatest true Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
1 parent d84642e commit 283cff6

3 files changed

Lines changed: 25 additions & 4 deletions

File tree

CLAUDE.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -459,7 +459,7 @@ npm cannot resolve relative paths from the tarball.
459459

460460
When releasing a new version:
461461

462-
1. **Update version**: Edit `package.json` version field and `manifest.json` version field
462+
1. **Update version**: Edit the version field in `package.json`, `manifest.json` **and `server.json`** (in `server.json` there are **two** fields: top-level `version` and `packages[0].version` — both must match)
463463
2. **Update LOG.md**: Add entry with date and changes
464464
3. **Commit changes**: `git add . && git commit -m "..."`
465465
4. **Push to GitHub**: `git push origin main`
@@ -468,10 +468,18 @@ When releasing a new version:
468468
7. **Build skill**: `npm run pack:skill` → produces `tmp/ckan-mcp.skill`
469469
8. **Attach to release**: `gh release upload v0.x.0 ckan-mcp-server.dxt tmp/ckan-mcp.skill`
470470
9. **Publish to npm** (optional): `npm publish`
471-
10. **Deploy to Cloudflare** (if code changed): `npm run deploy`
471+
10. **Publish to the MCP Registry** (after npm — the registry validates that the npm version exists): `mcp-publisher login github && mcp-publisher publish`
472+
11. **Deploy to Cloudflare** (if code changed): `npm run deploy`
472473

473474
See `docs/DEPLOYMENT.md` for detailed Cloudflare deployment instructions.
474475

476+
**Why steps 1 and 10 matter**: `server.json` feeds the official MCP Registry entry, which is what clients installing via the registry resolve. It is *not* updated by `npm publish`. Skipping it silently pins public installs to an old version: between v0.4.83 (2026-03-12) and v0.4.114 (2026-08-03) the registry advertised a build predating the v0.4.108 SSRF remediation, while npm was current. Verify after publishing:
477+
478+
```bash
479+
curl -s "https://registry.modelcontextprotocol.io/v0/servers?search=io.github.aborruso/ckan-mcp-server" | \
480+
jq -r '.servers[] | select(.server.name|test("aborruso")) | "\(.server.version) | pkg \(.server.packages[0].version) | latest \(._meta["io.modelcontextprotocol.registry/official"].isLatest)"'
481+
```
482+
475483
## CSV Data Exploration
476484

477485
For exploring CSV resources from datasets, use duckdb CLI (already installed) with direct HTTP URL:

LOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,18 @@
11
# LOG
22

3+
## 2026-08-03
4+
5+
### MCP Registry entry realigned to 0.4.114
6+
7+
Published and verified against the public endpoint: the registry now serves **0.4.114** with `isLatest: true` (updated 2026-08-03T06:01:07Z), and the old 0.4.83 record dropped to `isLatest: false`.
8+
9+
The official MCP Registry entry for `io.github.aborruso/ckan-mcp-server` had been stuck at **0.4.83 since 2026-03-12** — 31 patch releases and almost five months behind npm, while still flagged `isLatest: true`. Clients resolving the server through the registry were pointed at a build predating the v0.4.108 SSRF remediation, and 0.4.83 is still installable from npm.
10+
11+
- Root cause, not a one-off slip: the Release Workflow in `CLAUDE.md` listed the version bump for `package.json` and `manifest.json` but never `server.json`, and `npm publish` does not touch the registry. The drift was structural and would have kept growing.
12+
- Fixed `server.json` (both `version` and `packages[0].version` — two fields, easy to half-update) and rewrote the release workflow: `server.json` added to step 1, a new step 10 for `mcp-publisher publish` placed after `npm publish` since the registry validates that the npm version exists, plus a `curl` one-liner to verify the published entry.
13+
- Surfaced by an unsolicited vendor email selling a £395 "MCP Readiness Audit". The sales pitch was worthless — the remedy it offered has nothing to do with the defect — but the three technical claims all checked out under verification. Worth recording: the finding was real and cost the sender two `curl` calls, which is exactly how long it would have taken us to catch it ourselves with a check in the release procedure.
14+
- Registry tokens (`.mcpregistry_*`) verified: gitignored, never committed.
15+
316
## 2026-07-31
417

518
### v0.4.114

server.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@
66
"url": "https://github.com/ondata/ckan-mcp-server",
77
"source": "github"
88
},
9-
"version": "0.4.83",
9+
"version": "0.4.114",
1010
"packages": [
1111
{
1212
"registryType": "npm",
1313
"identifier": "@aborruso/ckan-mcp-server",
14-
"version": "0.4.83",
14+
"version": "0.4.114",
1515
"transport": {
1616
"type": "stdio"
1717
}

0 commit comments

Comments
 (0)