add simple-host example
This commit is contained in:
parent
535dae6a73
commit
1f3bc52142
1 changed files with 1187 additions and 13 deletions
21
examples/simple-host/example-host.html
Normal file
21
examples/simple-host/example-host.html
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<style>
|
||||
#chat-root {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
</style>
|
||||
<script src="/src/example-host.ts" type="module"></script>
|
||||
<title>Example MCP View Host</title>
|
||||
</head>
|
||||
<body>
|
||||
<h1>Example MCP View Host</h1>
|
||||
|
||||
<div id="controls"></div>
|
||||
<div id="chat-root"></div>
|
||||
</body>
|
||||
</html>
|
||||
Loading…
Reference in a new issue