mcp-apps-sdk
Installation
SKILL.md
@modelcontextprotocol/ext-apps — the SDK
One package, four entry points:
| Import | Side | Contains |
|---|---|---|
@modelcontextprotocol/ext-apps |
View | App class |
@modelcontextprotocol/ext-apps/server |
Server | registerAppTool, registerAppResource, RESOURCE_MIME_TYPE |
@modelcontextprotocol/ext-apps/react |
View | useApp and React bindings |
@modelcontextprotocol/ext-apps/app-bridge |
View | low-level bridge for non-JS frameworks |
npm install @modelcontextprotocol/ext-apps @modelcontextprotocol/sdk
npm install -D typescript vite vite-plugin-singlefile express cors tsx \
@types/express @types/cors
Always npm install by name. Do not hand-pin versions in package.json — the
View SDK and server SDK must move together.