{
  "entry": {
    "kind": "webmcp",
    "slug": "use-webmcp-tool",
    "name": "use-webmcp-tool",
    "vendor": "npm",
    "description": "A small React hook that registers a WebMCP tool when a component mounts, keeps its schema current as props change, and unregisters it on unmount. It makes the tool surface a function of the rendered UI, which is the right default: tools disappear when the screen that backs them does.\n\nThe capability surface is browser control, inherited from the API it wraps. The design consideration it surfaces is scoping. Because registration is tied to component lifecycle, a tool mounted inside an authenticated route is only present while that route is rendered — a meaningfully tighter surface than registering everything globally at page load. Prefer that pattern; a permanently-registered `deleteProject` tool is reachable from every page an agent wanders onto.",
    "website": "https://www.npmjs.com/package/use-webmcp-tool",
    "repository": null,
    "documentationUrl": null,
    "license": null,
    "version": null,
    "trustLevel": "community",
    "capabilities": [
      "browser:control"
    ],
    "packaging": {
      "manager": "npm",
      "packageName": "use-webmcp-tool"
    },
    "configFiles": null,
    "category": "library",
    "updatedAt": "2026-09-02",
    "risk": {
      "score": 40,
      "band": "medium",
      "signals": [
        {
          "id": "trust-community",
          "kind": "trust",
          "label": "Established community project",
          "contribution": -10
        }
      ],
      "dangerousCombos": []
    },
    "dangerousCombos": []
  }
}