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.
ADSponsored