Repository navigation
ci: publish to the MCP registry on release; fix state inspect after metamodel removal - #154
Merged
Merged
Conversation
… tag The registry still lists 0.5.0 while npm has 0.8.0, because publishing was manual. The new mcp-registry workflow validates server.json on PRs that touch release metadata and, on a vX.Y.Z tag, waits for the version on npm and publishes with GitHub OIDC (no secret). mcp-publisher is pinned and its Sigstore bundle verified. A Jest test keeps package.json, manifest.json and server.json on one version. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
LocalStack removed GET /_localstack/pods/state/metamodel, so `inspect` failed with HTTP 404 (and the state-management tool test with it). It now reads GET /_localstack/resources, the listing LocalStack names as the replacement and lstk's `status` uses, and renders one escaped table row per resource (type, ID, region, account). The `services` filter moves to LocalStack. The endpoint is undocumented, so it is recorded under "Gaps in LocalStack" and its response is described in state-inspect.logic.ts. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Summary
The official MCP registry lists 0.5.0 as latest while npm has 0.8.0: publishing to the registry was a manual step that stopped happening. This publishes
server.jsonfrom CI on every release tag.Follows this repo's rules: actions pinned to SHAs,
permissions: contents: readat the top,persist-credentials: false,timeout-minutesandconcurrencyon every job,ubuntu-26.04runners.mcp-publisherv1.8.15 is older than the 7-day cooldown; Dependabot can't bump a release download, so it's listed as a hand-managed pin.After merge, run the workflow once by hand on
mainto publish 0.8.0 (it's on npm and missing from the registry).Also: fix
localstack-state-managementinspectLocalStack removed
GET /_localstack/pods/state/metamodel(localstack-pro#11181), soinspectreturned HTTP 404 and failedmcp-tool-testson this PR and onmain. It now readsGET /_localstack/resources, the listing LocalStack names as the replacement and lstk'sstatususes.The endpoint isn't in the OpenAPI spec, so it's added to "Gaps in LocalStack" under the rule 4 exception, with its response described in
state-inspect.logic.ts. Output changes from a state dump to a resource list;exportstill gives the full state.Evidence
GET registry.modelcontextprotocol.io/v0/servers?search=io.github.localstack/localstack-mcp-server→0.5.0 (isLatest), npm →0.8.0.After: the manual run on
mainpublishes 0.8.0; each later tag publishes itself.server.jsonvalidates against the 2025-12-11 schema (the current one in mcp-publisher v1.8.15).yarn test: 50 suites, 847 passed (incl. the newrelease-metadataand existingdependency-pinstests);tsc --noEmitclean.ubuntu-26.04label yet), zizmor 1.33.1--min-severity medium: no findings, shellcheck clean.inspect: new unit tests for the NDJSON parser and table (incl. a resource ID with|and##); the tool test now expects the Terraform bucket as| AWS::S3::Bucket | <bucket> | global | <account> |.Before:
state-management: shows S3 state→HTTP 404 {"message": "Not Found"}. After: see this PR'smcp-tool-tests.yarn testafter both commits: 51 suites, 852 passed.Merge Danger
Door: two-way
Revert the workflow to stop publishing. A version published to the registry can't be unpublished, but it's the same version already on npm.
Blast Radius: registry listing, one tool action
The registry entry, plus the
inspectaction's output (a resource table instead of a JSON state dump). Agents parsing the old JSON would see a different shape. A release whose files disagree on the version now fails this workflow (and the unit test on the PR).🤖 Generated with Claude Code