A knight, his sword and a sprite sheet, asked for by Roo Code
Roo Code runs commands through its execute_command tool and calls MCP servers listed globally or in the project’s .roo/mcp.json, where a project entry wins over a global one of the same name. That makes the asset generator easy to give it. This guide walks a knight from words to game: an isometric village look, a rigged model made empty handed, a sword made on its own and put in his grip, and his clips drawn into a 2D sheet.
Set it up in Roo Code
Install the CLI
Install the asset command (Node 20.11 or later).
npm install -g @tyrbo/assetAdd the MCP server to Roo Code
Put the server in .roo/mcp.json in the project, or the global mcp_settings.json (Edit Global MCP), then reload the agent so it starts it.
{ "mcpServers": { "tyrbo-asset": { "command": "npx", "args": [ "-y", "@tyrbo/asset", "mcp" ] } } }Try it free
In an empty scratch folder, a mock call checks the setup with no key: it writes stand-in files and spends nothing.
asset look grove "hand-painted fantasy forest, soft dappled light" --view top-down --mockLog in in your own terminal
Make an asset key in the Tyrbo app (Settings, Asset gen) and paste it into asset login yourself. The agent never asks for the key and never runs the login.
asset login
Roo Code’s own docs, read November 25, 2026:
The commands
asset look meadow "bright cel-shaded fantasy village, warm afternoon light" --view isometric
asset mesh knight "a knight in steel plate with a blue tabard" --rig biped
asset mesh sword "a plain steel longsword with a leather grip" --held
asset attach knight sword
asset render2d knight --view isometric --clips idle,walkMade by the CLI, not drawn for this page
Real files the asset CLI wrote, each under the command that made it.

See prompt
asset render2d knight
See prompt
asset look meadow "bright cel-shaded fantasy…" --view isometric
See prompt
asset mesh knight "…" --rig biped
See prompt
asset mesh sword "…" --held
See prompt
asset attach knight swordRules Roo reads every time
Roo Code loads project rules from the .roo folder, and can keep extra rules for a single mode. Put the agent block from the docs in the project’s rules so every mode knows the order: look, then characters, models and the interface, the title screen at the end, asset --help for flags. If you keep a mode just for art, its own rules can add your habits, such as always trying a call with --mock first.
Why the sword is a separate call
A character is sculpted with empty hands. What it carries is made alone with asset mesh ... --held, which reads where the grip is, and asset attach puts it rigidly on the hand joint with clips made for it. The knight can then swap a sword for an axe later without being sculpted again. knight-sword.png shows him holding it, and both turntables let Roo check each piece before it moves on.
From 3D to a 2D sheet, free
Plenty of games want flat sprites. asset render2d plays the rigged knight through its clips and draws each frame from the game’s camera, cel lit and outlined, onto knight-sheet.png with its atlas and knight.anim.json. That costs nothing, so Roo can try another set of clips as often as it likes.
Each answer is one JSON line naming the files. A refusal prints why on stderr and exits 1. Paid calls, the two meshes here, are quoted before they run and refused when your credits cannot pay; an ask repeated later is answered from the cache at no cost. Approve those two by hand, and let asset spend confirm the total afterwards.
Questions people ask
Where should the server go in Roo Code?
In .roo/mcp.json to keep it with the project, or the global settings for every project. If both name it, the project one is used.
Can I keep using execute_command instead?
Yes. Roo can run asset in its terminal with the same lines, and the result is the same JSON line and the same files.
Do I pay again to change the knight’s weapon?
Only for the new item’s mesh. Attaching it and rendering a fresh sheet are free, and the knight himself stays as he was.
Install it, then ask for the look.
Get an asset keyMake a key in the Tyrbo app, then run asset login. Add --mock to try any command free first.