use remote dep from example
This commit is contained in:
parent
9af5a41a10
commit
6ea36fe5f3
1 changed files with 204 additions and 73 deletions
|
|
@ -22,7 +22,6 @@ window.addEventListener("load", async () => {
|
|||
{ style: "color: red;" },
|
||||
);
|
||||
|
||||
const transport = new PostMessageTransport(window.parent);
|
||||
const app = new App({
|
||||
name: "MCP UI Client (Vanilla)",
|
||||
version: "1.0.0",
|
||||
|
|
@ -139,5 +138,5 @@ window.addEventListener("load", async () => {
|
|||
}),
|
||||
);
|
||||
|
||||
await app.connect(transport);
|
||||
await app.connect(new PostMessageTransport(window.parent));
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue