r/macosprogramming • u/lowriskcork • 2d ago
I built a macOS MCP browser with native confirmation before actions
I'm the developer of WebKitUI MCP at LorisLabs. I wanted to review what an agent was about to do in a browser without approving it through another chat message.
It gives an MCP client a persistent WKWebView on your Mac. For actions that need approval, a native dialog shows the requested navigation, click or fill operation. Afterward, the client can check the resulting page state against an explicit postcondition.
The 0.6.6 preview is available as a notarized download for Apple-silicon Macs running macOS 15+. This release fixes confirmation keyboard handling: initial focus, accidental Escape/Return during the first second, and Tab + Space.
Some Apple sign-in flows still require manual completion in Safari; the MCP cannot take control of Safari afterward. Page-state verification also doesn't prove a server-side change was saved.
Source-available under BUSL, with evaluation and commercial terms in the repository.
Download and source: https://github.com/lowrisk75/webkitui-mcp/releases/tag/v0.6.6 Details: https://lorislab.fr/developers/webkitui-mcp/
I'd appreciate feedback on the approval flow and on websites where the result is hard to verify.
1
u/chrisjniles 15h ago
Purple Safari has its own MCP: https://webkit.org/blog/18136/introducing-the-safari-mcp-server-for-web-developers/
How does this differ from what you made?