Skip to main content
Create one default-exported React component at views/<name>/view.tsx. Bind it from exactly one tool with view: { name }; every view-bound tool must declare an outputSchema.
Export tool refs from the server entry so mcp-env.d.ts can type view calls. Public files belong under public/; reference them with root-relative paths in view code. Run mcp-use typecheck and exercise the tool in the Inspector.