跳到正文
𝕏 shadcn(x.com)·· 2 小時前品質評分53
重點導讀

用 AI 助理修改網頁元件時,常得靠截圖辨認畫面,或模擬點選操作。

  • 這次示範中,使用者只要說「加兩個馬克杯」,模型就會呼叫網頁提供的 WebMCP 工具,讓元件跟著更新。UI SDK 建好的介面會附上自己的工具,MCP 使用者端會從頁面讀取,再交給模型使用。
  • 作者表示不必另外撰寫工具,操作也很快。

AI 伴隨問答

自備 Key 深度分析

針對這篇報導有疑問?可直接點選快捷問題或向 AI 追問背景脈絡與技術細節:

shadcn
shadcn@shadcn
·2 小時前
𝕏

AI SDK just added WebMCP support. So we tried it with @uisdk.

You say "add two mugs". The model calls the page's WebMCP tools and the components update. No screenshots. No clicking around. It's really fast.

UI built with UI SDK comes with its own tools. The MCP client reads them from the page and hands them to the model. We wrote zero tools.

推文來源 · X (Twitter)在 X 參與討論
來源: shadcn (x.com)
在 X 查看推文

讀者討論

理性交流 · 即時討論