# Papercraft scenes, sprites and music from Gemini CLI

> Gemini CLI can make your game’s art and music: add the asset server to settings.json, note it in GEMINI.md, confirm each shell call, read back the files.

- URL: https://tyrbo.ai/ai-game-assets-for-gemini-cli
- Title: AI Game Assets for Gemini CLI: Papercraft Art
- Language: English (en)
- Updated: 2026-11-26

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.

Send this to your agent

```
Set up Tyrbo asset gen for me so I can make my game's art, sprite sheets, animated characters, 3D models, UI and sound from here, all in one look.
1. Install the CLI: run `npm install -g @tyrbo/asset` (Node 20.11 or later).
2. Add the skill: in Claude Code, run `claude plugin marketplace add https://cdn.jsdelivr.net/npm/@tyrbo/asset/.claude-plugin/marketplace.json`, then `claude plugin install tyrbo-asset@tyrbo`. In another MCP client, add the MCP server `npx -y @tyrbo/asset mcp`. In any other agent, read `asset --help` before the first call.
3. Check it, free: in an empty scratch folder, not my game's, run `asset look grove "hand-painted fantasy forest, soft dappled light" --view top-down --mock`. It needs no key and writes stand-in files there.
4. Authenticate: ask me to make an asset key at https://app.tyrbo.ai/?from=/asset-generator#/settings/assets (Settings, Asset gen) and to run `asset login` in my own terminal, pasting the key there. Never ask me for the key in chat, and never run `asset login` yourself. Once I have, run `asset spend` to see it works.
Once that's done, let me know when it's ready.
```

[Get an asset key](https://app.tyrbo.ai/?from=/asset-generator#/settings/assets)[Read the docs](https://tyrbo.ai/asset-generator/docs)

## Set it up in Gemini CLI

1. **Install the CLI** Install the asset command (Node 20.11 or later). `npm install -g @tyrbo/asset`
2. **Add 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" ] } } }`
3. **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 --mock`
4. **Log 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:

- [https://geminicli.com/docs/tools/mcp-server/](https://geminicli.com/docs/tools/mcp-server/)
- [https://geminicli.com/docs/tools/shell/](https://geminicli.com/docs/tools/shell/)

## 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.

walk, 12 frames at 6 a second

### See prompt

`asset character sailor "a cheerful paper sailor with a striped shirt" --view side --clips idle,walk`

![A papercraft fishing harbor in warm light: cut-paper houses, a lighthouse, a pier, a sailor and a dog](https://tyrbo.ai/asset-gen/harbor/harbor.webp)

### See prompt

`asset look harbor "papercraft diorama, layered cut paper, soft warm light, a little fishing harbor" --view side`

![A papercraft sailor in a striped shirt and a sailor’s cap, seen from the side](https://tyrbo.ai/asset-gen/harbor/sailor.webp)

## 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](https://tyrbo.ai/asset-generator/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.

## For your coding agent

- [Game assets for Claude Code](https://tyrbo.ai/ai-game-assets-for-claude-code)
- [Game assets for Cursor](https://tyrbo.ai/ai-game-assets-for-cursor)
- [Game assets for Codex](https://tyrbo.ai/ai-game-assets-for-codex)
- [Game assets for Cline](https://tyrbo.ai/ai-game-assets-for-cline)
- [Game assets for Kilo Code](https://tyrbo.ai/ai-game-assets-for-kilo-code)
- [Game assets for Roo Code](https://tyrbo.ai/ai-game-assets-for-roo-code)
- [Game assets for OpenCode](https://tyrbo.ai/ai-game-assets-for-opencode)
- [Game assets for Windsurf](https://tyrbo.ai/ai-game-assets-for-windsurf)
- [Game assets for GitHub Copilot](https://tyrbo.ai/ai-game-assets-for-github-copilot)
- [Game assets for Zed](https://tyrbo.ai/ai-game-assets-for-zed)
- [Game assets for Aider](https://tyrbo.ai/ai-game-assets-for-aider)
- [Game assets with Ollama](https://tyrbo.ai/ai-game-assets-with-ollama)

## More from the asset generator

- [Asset generator](https://tyrbo.ai/asset-generator)
- [Docs](https://tyrbo.ai/asset-generator/docs)
- [Top-down RPG character sprite sheet](https://tyrbo.ai/top-down-rpg-character-sprite-sheet)
- [AI 3D model generator for games](https://tyrbo.ai/ai-3d-model-generator-for-games)
- [Auto-rig a 3D model for games](https://tyrbo.ai/auto-rig-3d-model-for-games)
- [Game UI generator](https://tyrbo.ai/game-ui-generator)
- [AI sprites for Godot](https://tyrbo.ai/ai-sprites-for-godot)
- [Pixel art asset generator](https://tyrbo.ai/pixel-art-asset-generator)

## Install it, then ask for the look.

[Get an asset key](https://app.tyrbo.ai/?from=/asset-generator#/settings/assets)

Make a key in the Tyrbo app, then run asset login. Add --mock to try any command free first.

---

This is the Markdown version of https://tyrbo.ai/ai-game-assets-for-gemini-cli, from Tyrbo (The AI game engine). Cite and link the page itself. Every page: https://tyrbo.ai/llms.txt