
Visual Intent Layer
io.github.willa-code由 GitHub 帳號 willa-code 發布v0.4.0更新於 Oct 24, 2026
Point at visible targets in an agent-built interface, and deliver grounded Annotations.
概覽
一個本機 MCP 伺服器與瀏覽器審閱介面,可在已儲存的 HTML 頁面或本機 Web 應用中指向元素,並把有依據的標註交給代理。
- 可以做什麼
- 在瀏覽器呈現的介面中,以點選、拖曳或框選方式指定可見目標,而不必用文字描述位置,並可把多個目標歸入同一則標註、附上參考圖片。將未送出與已送達的標註連同其修訂與解決狀態一併保存。在瀏覽器中檢視結果並逐則人工判定標註。審閱資料預設留在本機。此套件也提供本機命令列,可為 HTML 檔案或本機應用網址開啟審閱,或只啟動本機服務。
- 適用情境
- 當你希望代理修改某個已儲存的 HTML 文件或本機 Web 應用,並想直接指出是哪些可見元素,再由你逐則審閱並處理標註時,適合使用。
- 執行需求
- 透過 npx 以本機 stdio 程序執行,需要 Node.js 20 或更新版本。同一台機器上需要有瀏覽器,因為伺服器會啟動瀏覽器並綁定回環埠。必須執行在你檢視螢幕的那台機器上;容器、遠端主機或雲端代理無法顯示審閱介面。不需要託管帳號或 API 金鑰。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Visual Intent Layer,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
Visual Intent Layer
Point at a browser-rendered interface, describe what should change, and let an agent work from that precise visual context. Visual Intent Layer is a local MCP server and Review Surface for saved HTML documents and local web apps.
About
hello world! this project is a testbed for me to experience new/random/trending stuff! fyi on what i was testing:
- pstack's verification skills
- matt's skills
- ds v4.1 flash via openrouter in pi
- ...
Key features
- Direct pointing. Point, drag, or box visible targets instead of describing their location in prose.
- Annotations with context. Group targets into one Annotation and attach reference images when useful.
- Delivery state you can read. Keep unsent and delivered Annotations together with their revision and resolution state.
- Human judgement. Review the result in a browser and decide each Annotation by hand.
- Local by default. Keep review data on the local machine.
Mobile builds, native windows, design files, and PDFs are outside the supported surface.
Requirements
- Node.js 20 or newer
- A browser on the machine running the server
- An MCP-capable agent, if you want an agent to use the Review Surface
No hosted account or Rust toolchain is required.
Quickstart
Register the local stdio server with your agent, then restart the agent:
The server must run on the machine where you look at the screen. It launches a browser there and binds a loopback port. A server in a container, on a remote host, or inside a cloud agent cannot display that machine's Review Surface.
Registry-aware clients can also find the server as
io.github.willa-code/visual-intent-layer in the official MCP Registry, which
lists where to get it rather than hosting it.
Claude Code
Codex
opencode
Run opencode mcp add visual-intent-layer, then provide npx and the package
arguments when prompted:
pi
pi does not ship an MCP client. With pi-mcp-adapter installed, add this to
the project's .mcp.json (merge it into an existing mcpServers object):
The same entry can be placed in .pi/mcp.json for a project-only Pi override,
or ~/.config/mcp/mcp.json for all projects. The adapter's /mcp setup panel
can also create the entry.
Other MCP clients
Use the JSON configuration above, or launch a local stdio server with command
npx and arguments -y --package visual-intent-layer@latest visual-intent-mcp.
Start a review without an agent
The package also provides a local CLI:
Each command opens the default browser and prints the review URL. Add
--no-open for headless or scripted use. To run only the local service:
The visual-intent command is also available after
npm install -g visual-intent-layer.
Data and privacy
The server writes review data to ~/.visual-intent-layer/data by default. It
does not write agent configuration. Uninstalling the package does not delete
reviews; remove that data directory only when you want to remove them.
Set VISUAL_INTENT_DATA_DIR to choose another data directory. Set
VISUAL_INTENT_NO_OPEN=1 to suppress automatic browser opening.
Update and uninstall
@latest is resolved when npx fetches the package, so there is usually
nothing to update by hand. pi-mcp-adapter caches the resolved command for 24
hours; delete ~/.pi/agent/mcp-npx-cache.json to force a fresh fetch. Replace
@latest with an exact version in the entry to hold a version still, and update
a global install with npm install -g visual-intent-layer@latest.
To uninstall, remove the entry with the mechanism you added it with — claude mcp remove visual-intent-layer, codex mcp remove visual-intent-layer, or by
editing your client's configuration. docs/guide.md names the
file for each client. Uninstalling deletes none of your reviews: they stay in
the data directory until you remove it.
Documentation
docs/guide.md— product manual, Review Surface, Annotation model, MCP tools, data, schema, development, and layout.design.md— normative Review Surface design contract.docs/design-references.md— component references and verification notes.docs/reference-foundations.md— comparison of candidate reference foundations.SECURITY.md— threat model, supported versions, and disclosure process.docs/adr/— architectural decisions.docs/pi-validation.md— live Pi validation checklist.
License
Apache-2.0.
來源:README.md,提交 7d076d4
工具
0版本歷史
3- v0.4.0最新Sep 20, 2026
- v0.3.2Sep 18, 2026
- v0.3.0Sep 18, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分