-
Notifications
You must be signed in to change notification settings - Fork 33
MCP Apps support #134
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MCP Apps support #134
Changes from all commits
39abcf9
b4af86c
005498a
62f0a71
ae8c78e
80e2185
30d0b4b
fc45692
64ed39c
457b349
81faef5
5542f47
829063f
21ca4b4
550c04f
94484cd
7649c96
55f93ac
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| @@ -0,0 +1,5 @@ | ||||||||||||||||||||||||
| --- | ||||||||||||||||||||||||
| '@storybook/addon-mcp': patch | ||||||||||||||||||||||||
| --- | ||||||||||||||||||||||||
|
|
||||||||||||||||||||||||
| Add support for MCP App, rendering stories directly in the agent chat in MCP clients that support it | ||||||||||||||||||||||||
|
||||||||||||||||||||||||
| Add support for MCP App, rendering stories directly in the agent chat in MCP clients that support it | |
| Add support for MCP App, rendering stories directly in the agent chat in MCP clients that support it. | |
| Note: the story preview tool has been renamed from `get-story-urls` to `preview-stories`. This can be a | |
| breaking change for MCP clients that have explicit allow/deny lists based on tool names. | |
| Migration guidance: | |
| - Update your MCP client configuration (for example, `.claude/settings.local.json` or equivalent) to | |
| allow the new `preview-stories` tool. | |
| - If you previously allowed or denied `get-story-urls`, replace it with `preview-stories` in your | |
| configuration. Some clients may allow you to list both names during a transition period. |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -12,6 +12,7 @@ const config = defineMain({ | |
| ], | ||
| addons: [ | ||
| '@storybook/addon-docs', | ||
| '@storybook/addon-themes', | ||
| { | ||
| name: '@storybook/addon-mcp', | ||
| options: { | ||
|
|
@@ -23,7 +24,7 @@ const config = defineMain({ | |
| }, | ||
| ], | ||
| framework: '@storybook/react-vite', | ||
| logLevel: 'debug', | ||
| // logLevel: 'debug', | ||
|
JReinhold marked this conversation as resolved.
|
||
| core: { | ||
| disableTelemetry: true, | ||
| }, | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,32 +1,41 @@ | ||
| .wrapper { | ||
| font-family: 'Nunito Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif; | ||
| border-bottom: 1px solid rgba(0, 0, 0, 0.1); | ||
| border-bottom: 1px solid var(--color-border, rgba(0, 0, 0, 0.1)); | ||
| padding: 15px 20px; | ||
| display: flex; | ||
| align-items: center; | ||
| justify-content: space-between; | ||
| background-color: var(--color-bg, #ffffff); | ||
| transition: | ||
| background-color 0.2s ease, | ||
| border-color 0.2s ease; | ||
| } | ||
|
|
||
| svg { | ||
| display: inline-block; | ||
| vertical-align: top; | ||
| } | ||
|
|
||
| svg g path:first-child { | ||
| fill: var(--color-logo-bg, #ffffff); | ||
| } | ||
|
|
||
| h1 { | ||
| font-weight: 700; | ||
| font-size: 20px; | ||
| line-height: 1; | ||
| margin: 6px 0 6px 10px; | ||
| display: inline-block; | ||
| vertical-align: top; | ||
| color: var(--color-text, #333); | ||
| } | ||
|
|
||
| button + button { | ||
| margin-left: 10px; | ||
| } | ||
|
|
||
| .welcome { | ||
| color: #333; | ||
| color: var(--color-text, #333); | ||
| font-size: 14px; | ||
| margin-right: 10px; | ||
| } |
Uh oh!
There was an error while loading. Please reload this page.