import { useWebMCPTools } from "react-model-context"; import { defineTool } from "@/kickoff/lib/surface"; useWebMCPTools([ defineTool({ name: "brief.insert", description: "Adds markdown at the end or under a heading.", inputSchema: insertSchema, annotations: { readOnlyHint: false }, execute: async ({ content, after_heading }) => { /* … */ }, }), ], { owner: "BriefTools" });
For a page with no tools of its own: one import and one wrapper, no other app code; the deriver reads what it renders. Install from the repository.