Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Adds support for building and publishing an .mcpb desktop-extension package for the MCP server, including CI automation and a packaging manifest.
Changes:
- Introduces an
mcpbbuild/validate script plus a small unit test suite and vitest project wiring. - Adds
packaging/mcpbmanifest/entrypoint/icon assets and keeps manifest version synced withpackage.json. - Updates CI workflows to validate/build
.mcpband attach artifacts to GitHub releases.
Reviewed changes
Copilot reviewed 12 out of 15 changed files in this pull request and generated 9 comments.
Show a summary per file
| File | Description |
|---|---|
vitest.config.ts |
Adds a dedicated vitest project for the mcpb build-script tests. |
src/transports/stdio.ts |
Simplifies stdio runner startup by removing redundant local error handling. |
scripts/updatePackageVersion.ts |
Updates .mcpb manifest version alongside generated packageInfo.ts. |
scripts/createMcpb.ts |
Implements staging/install/pack flow for producing .mcpb artifacts. |
scripts/createMcpb.test.ts |
Adds initial unit tests around staging package.json generation. |
pnpm-lock.yaml |
Locks new dependencies (@anthropic-ai/mcpb, type-fest) and transitives. |
packaging/mcpb/server/index.js |
Adds the .mcpb server entrypoint that loads built dist output. |
packaging/mcpb/manifest.json |
Adds the .mcpb manifest (runtime, env wiring, user config schema). |
packaging/mcpb/icon.png |
Adds the .mcpb icon asset. |
package.json |
Adds build/validate scripts for .mcpb and required deps. |
knip.json |
Marks the .mcpb server entrypoint as an entry for unused-code scanning. |
.prettierignore |
Excludes the .mcpb manifest from prettier formatting. |
.gitignore |
Ignores .mcpb build output directories. |
.github/workflows/publish.yml |
Builds .mcpb during publish and attaches it to the GitHub release. |
.github/workflows/mcpb.yml |
Adds a workflow to validate/build .mcpb and optionally upload artifacts. |
Files not reviewed (1)
- pnpm-lock.yaml: Language not supported
Collaborator
Coverage Report for CI Build 25228128689Warning No base build found for commit Coverage: 81.774%Details
Uncovered Changes
Coverage RegressionsRequires a base build to compare against. How to fix this → Coverage Stats💛 - Coveralls |
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.
Proposed changes
This adds support for generating an .mcpb package (the new .dxt). I've tested it with Claude desktop on macOS and it worked just fine.