The moymo command
moymo.exe checks moymo.toml, writes the code your game calls, uploads the file, and stands in for Moymo for Windows while you develop. In Unity, Window > Moymo runs it for you. In Unreal Engine and C or C++ engines, you run it yourself. It comes in each engine's download, and on its own in your game's Setup tab in the Developer Portal (Windows x64).
Put it in your game's folder, next to moymo.toml. To open a terminal there: in File Explorer, click the address bar, type powershell and press Enter.
| Command | What it does |
|---|---|
moymo login | Signs you in through the browser, once. The token is used only for the developer calls. |
moymo init --app <key> [--name <name>] | Writes a first moymo.toml for the game the portal gave that key: one event, the moment it makes, and a presence line. It points the generated code at C# in a Unity project, at Source/<Game>/Moymo.g.h in an Unreal project, and at moymo.g.h anywhere else. |
moymo check [--json] | Checks moymo.toml, including every condition run on sample values. --json prints what push would send. |
moymo codegen | Writes moymo.lock and the generated C# or C++, without uploading. |
moymo push [--env sandbox|live] | Checks, generates and uploads. The sandbox has the change at once; live keeps it as a draft until the game goes live. |
moymo publish [--env ...] | Makes the draft a fixed version. |
moymo app create --game <slug> | Connects moymo.toml's app to your game's page in the Moymo catalogue. |
moymo dev | The emulator: stands in for Moymo for Windows and prints what the game sends. |
moymo bot ... | Server bots made of blueprints (moymo bot help). |
moymo mcp | All of this as an MCP server for coding agents. |
Every command takes --manifest <path> for a moymo.toml somewhere other than the current folder.
The emulator
moymo dev waits for games on the emulator's pipe. A game started with the emulator on connects to it instead of Moymo for Windows. The emulator is on in Unity's Play mode, in Unreal's editor, and wherever a C++ game passes emulator = true to Start. It prints each line as it arrives, timed from its start:
text
[00:01.250] hello starfall-outpost sandbox (cpp/0.2.0 core/0.1.0), modules ["moments", "presence", "achievements"]
[00:09.100] moment Raid repelled · wave 3 (raid_repelled, importance 4, clip -25 s..+4 s, 0.01 s ago)
[00:09.102] presence Defending the settlement · wave 3
[00:09.103] achievement Not a Scratch (night_held)
[00:30.000] goodbye closingOnly one moymo dev can run at a time. Ctrl+C stops it.
For AI agents
moymo mcp is a Model Context Protocol server on stdio. It gives a coding agent the same commands as tools: listing your games, checking, pushing and publishing moymo.toml, and making, testing and publishing server bots. To add it to Claude Code:
bash
claude mcp add moymo -- ./moymo.exe mcpAny other MCP client takes the same command: moymo.exe mcp.