Add MCP registry metadata for @storybook/addon-mcp#202
Conversation
🦋 Changeset detectedLatest commit: 1a41f74 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
✅ Deploy Preview for storybook-mcp-self-host-example canceled.
|
commit: |
❌ 1 Tests Failed:
View the full list of 1 ❄️ flaky test(s)
To view more test analytics, go to the Test Analytics Dashboard |
a8bf48c to
5adc647
Compare
|
Added:
|
| if: steps.changesets.outputs.published == 'true' && contains(steps.changesets.outputs.publishedPackages, '@storybook/addon-mcp') | ||
| working-directory: packages/addon-mcp | ||
| run: | | ||
| curl -L "https://github.com/modelcontextprotocol/registry/releases/latest/download/mcp-publisher_$(uname -s | tr '[:upper:]' '[:lower:]')_$(uname -m | sed 's/x86_64/amd64/;s/aarch64/arm64/').tar.gz" | tar xz mcp-publisher |
There was a problem hiding this comment.
tar extraction is missing the archive file flag; tar xz mcp-publisher won’t read from stdin on Ubuntu’s GNU tar and will fail the install step. Use tar -xzf - mcp-publisher (or equivalent) when piping from curl.
| curl -L "https://github.com/modelcontextprotocol/registry/releases/latest/download/mcp-publisher_$(uname -s | tr '[:upper:]' '[:lower:]')_$(uname -m | sed 's/x86_64/amd64/;s/aarch64/arm64/').tar.gz" | tar xz mcp-publisher | |
| curl -L "https://github.com/modelcontextprotocol/registry/releases/latest/download/mcp-publisher_$(uname -s | tr '[:upper:]' '[:lower:]')_$(uname -m | sed 's/x86_64/amd64/;s/aarch64/arm64/').tar.gz" | tar -xzf - mcp-publisher |
| "type": "named", | ||
| "name": "--port", | ||
| "description": "Port of the Storybook dev server exposing the MCP endpoint.", | ||
| "default": "6006", |
There was a problem hiding this comment.
The packageArguments[0] declares format: "number" but the default value is a JSON string ("6006"). This is likely to fail schema validation or be mis-typed by tooling; use a numeric default (6006) if the schema expects a number.
| "default": "6006", | |
| "default": 6006, |
Bundle ReportChanges will increase total bundle size by 1.94kB (1.77%) ⬆️. This is within the configured threshold ✅ Detailed changes
ℹ️ *Bundle size includes cached data from a previous commit Affected Assets, Files, and Routes:view changes for bundle: @storybook/addon-mcp-esmAssets Changed:
Files in
|
See #200
Summary
packages/addon-mcp/package.jsonpackages/addon-mcp/server.jsonfor the registry entry and package metadataTesting