Skip to content

Improve discovery: MCP keywords on npm and a Claude Desktop extension (.mcpb) on releases - #155

Merged
bartsdev merged 2 commits into
mainfrom
npm-mcp-keywords
Dec 1, 2026
Merged

bartsdev merged 2 commits into
mainfrom
npm-mcp-keywords

Conversation

@bartsdev

@bartsdev bartsdev commented Dec 1, 2026 •

Copy link
Copy Markdown
Member

What

  1. npm keywords. Adds mcp, mcp-server, model-context-protocol and ai-agents to keywords in package.json.
  2. Claude Desktop extension. Adds a new workflow, .github/workflows/mcpb.yml, that builds a .mcpb bundle from the existing manifest.json and attaches it to each GitHub release.

Why

  • npm search, and MCP directories that crawl npm, find servers by these keywords. The published package (0.8.0) has none of them, so it doesn't show up when people search for MCP servers.
  • manifest.json already describes the extension, but no bundle has ever been built. Claude Desktop users have no one-click install, and .mcpb files are what MCPB directories link to.

How the .mcpb workflow works

  • On a published release: checks that the tag matches manifest.json's version, then runs yarn build. It stages dist/, the manifest, the icon and production dependencies only (no source, tests or dev dependencies), validates and packs with @anthropic-ai/mcpb 2.1.2, and smoke-tests the packed server by sending initialize and tools/list. Then it runs gh release upload.
  • On a pull request that touches manifest.json, icon.png or the workflow: builds, validates and smoke-tests only. It uploads nothing.
  • workflow_dispatch with a tag input: backfills a release. After merge, run it with v0.8.0 to give the current release a bundle.
  • Security: every action is pinned to a commit SHA. Permissions default to contents: read, and only the attach job gets contents: write. setup-node caching is off so a release build can't restore a cache that a PR wrote. zizmor reports no findings.

Testing

Run locally:

  • mcpb validate passes on the manifest.
  • The staged pack is 2.8 MB, 1,549 files.
  • Unzipped, node dist/cli.js answers tools/list with 15 tools, using the same input the smoke-test step sends.

The workflow itself hasn't run yet. This PR's pull_request run is its first.

After merge

  • Publish a new version (for example 0.8.1) so npm picks up the keywords.
  • Run the Claude Desktop extension workflow by hand with tag: v0.8.0, or wait for the next release.

Follow-up (not in this PR)

manifest.json has no user_config, so Claude Desktop doesn't ask for LOCALSTACK_AUTH_TOKEN at install. Adding one would make the one-click install work without editing the config by hand.

🤖 Generated with Claude Code

Bart and others added 2 commits December 1, 2026 15:05
npm search and MCP directories that index npm (mcp, mcp-server,
model-context-protocol keywords) currently miss this package.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
manifest.json already describes the extension, but no bundle was ever
built, so Claude Desktop users had no one-click install. On each
published release this builds the server, packs dist plus production
dependencies with @anthropic-ai/mcpb, checks the packed server answers
tools/list, and uploads the .mcpb to the release. PRs touching the
manifest only build and validate; workflow_dispatch backfills a tag.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@bartsdev bartsdev changed the title chore: add MCP keywords to package.json for npm discovery Improve discovery: MCP keywords on npm and a Claude Desktop extension (.mcpb) on releases Dec 1, 2026
@bartsdev
bartsdev merged commit 83341b7 into main Dec 1, 2026
10 checks passed
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