feat(scripts): add mesh registry publish scripts#246
Merged
JonasJesus42 merged 3 commits intomainfrom Feb 24, 2026
Merged
Conversation
Add publish-one.ts for CI workflow (single MCP) and publish-all.ts for bulk publishing to the Mesh Admin registry. Integrates into the deploy workflow so each MCP is published to both Deco CLI and Mesh Registry on deploy. Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Contributor
There was a problem hiding this comment.
3 issues found across 3 files
Prompt for AI agents (all issues)
Check if these issues are valid — if so, understand the root cause of each and fix them. If appropriate, use sub-agents to investigate and fix each issue separately.
<file name="scripts/publish-one.ts">
<violation number="1" location="scripts/publish-one.ts:211">
P1: The script ignores the `mesh_unlisted` property from `app.metadata`, which will cause explicitly unlisted apps to be published as public.</violation>
</file>
<file name="scripts/publish-all.ts">
<violation number="1" location="scripts/publish-all.ts:117">
P0: The `PUBLISH_URL` is hardcoded to a local testing endpoint (`localhost:3000`) and will always fail in the CI environment.</violation>
<violation number="2" location="scripts/publish-all.ts:305">
P1: The `fetch` request is missing error handling, causing any network failure to crash the entire bulk publish CI job.</violation>
</file>
Reply with feedback, questions, or to request a fix. Tag @cubic-dev-ai to re-run a review.
- Use metadata.mesh_unlisted as fallback for is_public in both scripts - Wrap fetch in try/catch in publish-all to prevent network errors from crashing the entire bulk publish loop Co-authored-by: Cursor <cursoragent@cursor.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.
Add publish-one.ts for CI workflow (single MCP) and publish-all.ts for bulk publishing to the Mesh Admin registry. Integrates into the deploy workflow so each MCP is published to both Deco CLI and Mesh Registry on deploy.
Summary by cubic
Adds Mesh Registry publish to the deploy pipeline so each MCP is published to both Deco CLI and Mesh Registry on deploy. Improves bulk publisher resilience and correctness for unlisted apps.
New Features
Bug Fixes
Written for commit f38b3e0. Summary will update on new commits.