Elysia MCP Adapterelysia-mcp-adapter
MCP ExtensionsApps

Apps examples

Bun standalone HTML examples for vanilla browser code and React with local shadcn UI.

Build the adapter first because both examples import its public package root.

Vanilla app

The vanilla example uses Elysia, a model-visible weather tool, an app-only refresh tool, and minimal browser code for the stable view handshake and same-server calls.

bun run examples:setup
bun run build
bun run --cwd examples/apps-vanilla smoke

React and shadcn app

The React example uses React 19, @modelcontextprotocol/ext-apps@1.7.5, its React APIs, local shadcn-style component source, Tailwind host variables, responsive sizing, display mode, tool input/result handling, and an app-only task mutation.

bun run examples:setup
bun run build
bun run --cwd examples/apps-react smoke

Both examples use Bun standalone HTML output. They include no Vite configuration, CDN links, runtime asset fetches, external fonts, or unresolved local assets. Server tests verify tool and resource contracts; the bounded postMessage fixture exercises host messages but is not a production host.

Client availability changes independently of this package. Consult the canonical MCP Extension Support Matrix.

On this page