Repository navigation
feat(registry): the drift check fails on an MCP port two tools name - #788
Merged
Merged
Conversation
A WireCat CLI now names its MCP port in its own manifest (desktop.mcpServer.port, cli-base#739), and Desktop takes it from there (wirecat-desktop#501). Desktop checks for a clash only at runtime, and then refuses the answer. The drift check now fails first, when a manifest's port is outside 8700 to 8769, or another manifest, the list's mcpPort or Desktop's catalog gives it to another tool. A tool whose manifest names a port no longer needs an mcpPort in official.json. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The drift check on main has failed since 2026-11-25: registry/official-manifests.json was behind nine releases, and gcal's accountRemove line no longer differs. pnpm registry:official, and that line removed. The check passes locally. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
The Desktop integration audit (NEED-2918 B) found that nothing checks MCP ports across tools before release. A WireCat CLI now names its MCP port in its manifest (WireCatLabs/cli-base#739), and Desktop takes it from there (WireCatLabs/wirecat-desktop#501). Desktop notices a clash only at runtime and then refuses the tool's answer.
What
manifestPortProblemsinscripts/official-tools.ts, run bypnpm registry:drift. It fails when a manifest'sdesktop.mcpServer.portis outside 8700 to 8769, or when another manifest, the list'smcpPortor Desktop's catalog gives that port to another tool.mcpPortinregistry/official.json.docs/REVIEWING.mdsays both.Testing
vitest run scripts/official-tools.test.ts: 14 passed, with a new test for each clash and for the committed manifests.🤖 Generated with Claude Code