Alex (@0xpane) released nextjs-webmcp, a library on the WebMCP API that turns Vercel Next.js server actions into tools AI agents can call from the browser. One tool is claimed to take about three lines, with route-scoped tools running in the user session.

Key Takeaways

  • ✓Library: nextjs-webmcp for Next.js + WebMCP.
  • ✓Exposes Server Actions as in-browser agent tools.
  • ✓~3 lines per tool; route-scoped tools run in the user session.
🧭

Turn your technical choice into a development budget

Compare 40 dev plans & simulate token costs vs $20/mo subscriptions

Action HubReady to adopt this in production?

Benchmark side-by-side against alternatives, or calculate monthly token cost vs subscription break-even.

Up NextVercel Releases UI SDK Beta: 50+ Interaction Behaviors Such as Popups, Selection and Keyboard Navigation for AI Agents to Assemble Components, Across React, Vue, Svelte, Solid and Web Components, Open Source Under Apache 2.0
Read Now→