We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4eecd75 commit 7f52a2bCopy full SHA for 7f52a2b
packages/mcp-server/src/mcp/handlers/tools/playground-link.ts
@@ -101,6 +101,9 @@ export function playground_link(server: SvelteMcp) {
101
url: playground_base.toString(),
102
};
103
104
+ // use the embed path to have a cleaner UI for mcp-ui
105
+ playground_base.pathname = '/playground/embed';
106
+
107
return {
108
content: [
109
{
@@ -111,7 +114,7 @@ export function playground_link(server: SvelteMcp) {
111
114
uri: 'ui://svelte/playground-link',
112
115
content: {
113
116
type: 'externalUrl',
- iframeUrl: content.url,
117
+ iframeUrl: playground_base.toString(),
118
},
119
encoding: 'text',
120
}),
0 commit comments