alibaba / webmcp-nexus
Public面向 WebMCP 标准的非侵入式前端集成套件:写一个普通 TS 函数加一段 JSDoc,即可被任意 MCP 客户端调用 —— 含 SDK、Vite/Webpack 插件与 AI 编码 Skill。
WebMCP Nexus is an open-source toolkit by Alibaba that lets any React application expose its features as tools that AI assistants can discover and call directly through the browser. Instead of building complex integrations, developers simply write ordinary TypeScript functions with brief comments, and the toolkit automatically makes them callable by AI agents like Claude Desktop, Cursor, or VS Code. The toolkit handles all the technical complexity of type detection, schema generation, and browser compatibility - users just write functions and register them. A built-in demo app shows the full workflow in action.
How It Works
You've built a great task management app, and now you want AI assistants like Claude to be able to help your users manage tasks directly.
You install the WebMCP Nexus package into your React project and enable the build plugin - this takes just a few minutes.
You write regular TypeScript functions like 'createTask' or 'searchTasks' and add a brief description in a comment - no special wrappers or decorators needed.
You call a simple registration function at app startup, and your functions instantly become available to AI assistants - they can see what each function does and what information it needs.
You connect Claude Desktop or another AI assistant to your running web app, and it can see all your available tools - creating tasks, updating status, navigating pages, all through natural conversation.
Your AI assistant calls your tools and you see the results instantly in the browser - tasks get created, status changes, pages navigate, exactly as if your user did it themselves.
Star Growth
Repurpose is a Pro feature
Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.
Unlock RepurposeSimilar repos coming soon.