Show HN: Webmcp-react – React hooks that turn your website into an MCP server
https://github.com/mcpcat/webmcp-react
Chrome recently shipped navigator.modelContext in Early Preview. It's a browser API that lets any website expose typed, callable tools to AI agents.I built webmcp-react because we wanted a simple way to add tools to our React app and figured others could benefit from it as well. You wrap your app in <WebMCPProvider>, call useMcpTool with a Zod schema, and that's it. Handles StrictMode,...