Skip to content
ktalikPublic

About

Run a local desktop your agent and you share, with an MCP manager

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MEGA OS

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.

MEGA OS: MCP Server Manager creating a new MCP server (click to play the video, 2 min)

Click the image to play the video (2 min, from the post above).

Needs

  • 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 login on this machine

Install

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.

Tests

pnpm --dir framework test

Known limits

  • 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 serve runs it on fake data instead.
  • A Challenge copy is self-contained, so later framework fixes have to be copied over by hand.

License

MIT, see LICENSE. The fonts in framework/ui/fonts/ keep their own SIL Open Font License (LICENSE.txt).

About

Run a local desktop your agent and you share, with an MCP manager

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages