Skip to content

Release v1.54.0: MCP Registry readiness - #24

Merged
Esquetta merged 6 commits into
mainfrom
feature/v1.54-registry-discovery
Jul 28, 2026
Merged

Release v1.54.0: MCP Registry readiness#24
Esquetta merged 6 commits into
mainfrom
feature/v1.54-registry-discovery

Conversation

@Esquetta

Copy link
Copy Markdown
Owner

Summary

  • add offline MCP Registry readiness scorecards and non-executing Codex config previews
  • add explicit-consent exact-name inspection against the fixed official Registry endpoint
  • add optional GitHub Action gating and an additive output-contract surface

Verification

  • Codex Security diff scan: complete, 5/5 review receipts, 0 reportable findings
  • npm run release-check: passed
  • 893 tests passed, 2 skipped
  • fresh install audit: 0 vulnerabilities

@qodo-code-review

Copy link
Copy Markdown

Qodo reviews are paused for this user.

Troubleshooting steps vary by plan Learn more →

On a Teams plan?
Reviews resume once this user has a paid seat and their Git account is linked in Qodo.
Link Git account →

Using GitHub Enterprise Server, GitLab Self-Managed, or Bitbucket Data Center?
These require an Enterprise plan - Contact us
Contact us →

@Esquetta
Esquetta merged commit 45cf659 into main Jul 28, 2026
2 checks passed

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 654d33bf9a

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread src/core/mcp-registry.ts
Comment on lines +576 to +577
if (lifecycleStatus === "deprecated") {
addFinding(report.findings, "registry.lookup.deprecated", "warn", "Registry entry is deprecated.");

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Reject deprecated registry records

When the official Registry returns a record whose lifecycle is deprecated, this adds only a warning, so the subsequent status recomputation leaves the report at warn and the default CLI exits successfully. This also contradicts the newly added deprecated-record test, which expects report.status to be fail; the test suite will fail and callers can mistakenly accept a deprecated server.

Useful? React with 👍 / 👎.

Comment thread src/core/mcp-registry.ts
Comment on lines +400 to +402
if (typeof entry.version === "string" && VERSION_RANGE_PATTERN.test(entry.version)) {
addFinding(findings, "registry.package.version-range", "fail", "Package version must be exact, not a range or latest.", `${packagePath}.version`);
}

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Require a version on every package entry

For a package that omits version, this conditional performs no validation and the entry is still added to validPackages. For example, an npm package with an identifier and stdio transport but no version can produce a finding-free pass, causing --require-registry-readiness to exit 0 even though the advertised package cannot satisfy the documented exact-version publication requirement.

Useful? React with 👍 / 👎.

Comment thread src/core/mcp-registry.ts
Comment on lines +443 to +446
if (packageJson && typeof server.name === "string") {
const npmPackages = validPackages.filter((entry) => entry.registryType === "npm");
for (const entry of npmPackages) {
if (packageJson.name === entry.identifier) {

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Report unmatched adjacent npm packages as unverified

When an adjacent package.json exists but its name does not equal any declared npm package identifier, the loop adds no ownership finding and the npm-unverified branch is skipped solely because packageJson is non-null. The report can therefore remain pass and satisfy the strict readiness gate despite never checking the declared package's mcpName or version; this case should be treated like missing ownership evidence.

Useful? React with 👍 / 👎.

"clientInstallability",
"overall"
],
additionalProperties: false

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Define scorecard properties before forbidding extras

The published JSON Schema marks the six scorecard fields as required but supplies no properties definitions while setting additionalProperties: false. Under JSON Schema 2020-12, every real scorecard member is consequently forbidden, making the schema impossible for any generated registry report to satisfy and breaking consumers that validate output against the advertised contract.

Useful? React with 👍 / 👎.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant