Papercraft scenes, sprites and music from Gemini CLI
Gemini CLI asks before it runs a shell command, and it can also call tools from MCP servers listed in its settings. Asset gen offers both doors. A small fishing harbour cut from layered paper shows the kind of game this suits: the look sets the paper and the light, a sailor walks along the quay in the same craft, and a boardwalk texture and a slow tune fill the rest. Every one of those is a single line Gemini can send.
Set it up in Gemini CLI
Install the CLI
Install the asset command (Node 20.11 or later).
npm install -g @tyrbo/assetAdd the MCP server to Gemini CLI
Put the server in .gemini/settings.json in the project, or ~/.gemini/settings.json for every project, 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
Gemini CLI’s own docs, read November 25, 2026:
The commands
asset look harbor "papercraft diorama, layered cut paper, soft warm light, a little fishing harbor" --view side
asset character sailor "a cheerful paper sailor with a striped shirt" --view side --clips idle,walk
asset texture planks "weathered harbour boardwalk planks, cut paper"
asset music harbor-theme "gentle accordion sea shanty, slow tempo, warm and cosy"Made by the CLI, not drawn for this page
Real files the asset CLI wrote, each under the command that made it.

See prompt
asset character sailor "a cheerful paper sailor with a striped shirt" --view side --clips idle,walk
See prompt
asset look harbor "papercraft diorama, layered cut paper, soft warm light, a little fishing harbor" --view side
Trust the folder first
Gemini CLI can show a local server as disconnected in gemini mcp list until the project folder is trusted. If the asset tool is missing from a session, trust the folder and start again. Project settings live beside your code, so a teammate who clones the game gets the same server; the user settings file gives it to every project on your machine.
The server exposes one tool, asset, whose arguments are the words you would type after the command, plus the folder to write into.
A GEMINI.md that knows about art
Gemini CLI loads GEMINI.md as standing context for the project. Add the short agent block from the docs: start with asset look, ask for sprites, textures, models and the interface in that look, keep the title screen for last, and read asset --help for the flags. With that in place you can say “add a fishmonger to the quay” and Gemini knows which tool turns those words into a sheet.
Confirming shell calls
When Gemini goes the shell route it shows each asset line and waits for your yes, which is a good moment to read the words it chose. Is the sailor described the way you pictured him? Does the clip list cover what the level needs? A quick edit there costs nothing; a regenerated character costs credits.
Through the server, the same request arrives as a tool call instead, still in front of you before it runs.
Results Gemini can act on
Each call answers with one JSON line listing what it wrote under public/assets/: here harbor.png, the sailor’s sheet and sailor.anim.json, a tiling planks.png and harbor-theme.mp3. When something cannot be made, the reason goes to stderr and the exit code is 1, so Gemini can reword and try again rather than guess. Keep --mock on while Gemini builds the scene code: stand-ins appear under the right names and nothing is charged.
Questions people ask
Why is the asset tool missing in Gemini CLI?
Most often the folder is not trusted yet, so the local server stays disconnected. Trust it, restart the session, and run gemini mcp list to see it connected.
Can Gemini spend more than I meant to?
A paid call is quoted before it runs and refused outright when your credits fall short. Repeating an ask you already paid for comes from the cache, free. asset spend shows the total.
Does the music match the art?
It follows your words: name the mood, the instruments and the tempo, as the shanty above does. asset music writes a 30 second track to loop under the level.
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.