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 NextShopify Fall ’26 Edition bets on agentic commerce: Shop.md shopping skill, Shop.dev single connection, and Shop Pay inside Muse, Claude Duet, Grok Bot and other personal agents
Read Now→