r/mcp
•
u/Pitiful-Ad4680
•
3h ago
I built a local desktop GUI sandbox for MCP agents.
I wanted my agents to freely use real desktop applications (like a browser, VS Code, Office, etc.) while I keep working on my own machine as usual, without having to rent or pay for a separate cloud sandbox.
So I built Hi0: an isolated Linux desktop runtime that installs and runs like a regular Windows/macOS app and exposes itself as a standard MCP (Model Context Protocol) server.
Here is how it works:
- Zero intrusion on your host desktop and files: Everything runs inside an isolated container with its own sandboxed workspace filesystem. Without your permission, the agent will not disturb your host windows, clipboard, or files.
- 120 FPS pure Wayland (no VNC/X11): Built on top of the open-source project
wland(a ~65 KB Wayland compositor compiled to WebAssembly), paired with a custom headless shadow compositor and display mux. Unmodified Linux Wayland apps speak the native protocol directly, giving you HiDPI, low-overhead window streaming up to 120 FPS. - 12 computer-use MCP tools: Inspired by projects like
agent-desktop, instead of forcing the model to blindly click screenshots, the MCP server provides 12 dedicated tools (app_list,app_launch,app_window,ui_observe,ui_act,ui_pointer,ui_type,ui_screenshot,ui_wait,shell_exec,workspace_files, andhuman_takeover). They interact via CDP (Chrome DevTools Protocol), AT-SPI, and native Wayland input, making it reliable to chain workflows across multiple apps while letting you take over control at any time.
I recorded some real task replays with Gemini Antigravity. You can watch the replays directly at demo.hi0.app . If you'd like, you can also connect your own MCP agent to a live container there to test it out.
A note on the online demo: On demo.hi0.app, each session runs in a temporary, isolated container tied to a temporary URL and is automatically destroyed after a period of inactivity. The MCP server only exposes tools inside that sandbox. Of course, if you prefer not to connect your agent to a remote server, you can just watch the 4 replays and try out the desktop directly on demo.hi0.app.
If you'd really like to try it, I recommend downloading the installer from hi0.app . The macOS version (powered by Apple Container) is available now, and the Windows version (powered by WSL2) is currently in testing and should be out within a week.
Hi0 is completely free and open source under the Apache-2.0 license. GitHub: https://github.com/Rowtion/hi0 — feedback, issues, and PRs are all welcome!
Known issue: Because Apple Container doesn't support GPU virtualization yet, GPU-heavy apps like Blender take a performance hit inside Hi0. They still run and are usable, just a bit laggy.