A local desktop that an AI agent (the "harness") and you share while you work on MEGA.dev Challenges. The agent writes one JSON state file, and the desktop in your browser shows each change live. It also comes with an MCP Server Manager that deploys MCP servers to Cloudflare from a template and shows their tools, Server Card and live logs.
Everything is in framework/. See framework/README.md for the full guide.
See example usage of MEGA OS: Why MCP has no openapi.json.
Click the image to play the video (2 min, from the post above).
- Node 22 or newer, pnpm 8
- Chrome (other browsers are untested)
- An agent harness that can edit files and run commands, for example Claude Code
- For the MCP Server Manager only: a Cloudflare account and
wrangler loginon this machine
git clone https://github.com/ktalik/mega-os.git && cd mega-os
pnpm --dir framework serve # http://127.0.0.1:4310/
pnpm --dir framework new-challenge s02e03 # fresh desktop in ./s02e03/
pnpm --dir s02e03 serve
serve and new-challenge install the MCP server template's dependencies the first time. The core desktop has no runtime dependencies and no build step.
pnpm --dir framework test
- Tested only on Linux with Chrome.
- The MCP Server Manager needs a Cloudflare account and a wrangler login. Without one it shows a red status line.
MEGA_MCP_FAKE=1 pnpm --dir framework serveruns it on fake data instead. - A Challenge copy is self-contained, so later framework fixes have to be copied over by hand.
MIT, see LICENSE. The fonts in framework/ui/fonts/ keep their own SIL Open Font License (LICENSE.txt).
