# Pixel art and sprite sheets Cascade asks for while it codes

> Have Windsurf’s Cascade make pixel art, sprite sheets and sounds for your game through one MCP tool, with rules that keep every call in one look.

- URL: https://tyrbo.ai/ai-game-assets-for-windsurf
- Title: AI Game Assets for Windsurf: Art from Cascade
- Language: English (en)
- Updated: 2026-11-26

Cascade, the agent inside Windsurf, already writes your levels and your player controller. With asset gen added as an MCP server, it can also ask for what the level is drawn with: a crystal cave in crisp 16-bit pixels, a miner who idles and walks, a coin pickup chime. The server offers Cascade a single tool named `asset`, and the words it passes are the same ones you would type after `asset` in a terminal, so nothing it does is hidden from you. The caves and the miner on this page came out of exactly those calls.

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 Windsurf

1. **Install the CLI** Install the asset command (Node 20.11 or later). `npm install -g @tyrbo/asset`
2. **Add the MCP server to Windsurf** Put the server in ~/.codeium/windsurf/mcp_config.json (Cascade: Open MCP config file), 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`

Windsurf’s own docs, read November 25, 2026:

- [https://docs.devin.ai/windsurf/plugins/cascade/mcp](https://docs.devin.ai/windsurf/plugins/cascade/mcp)
- [https://docs.devin.ai/desktop/terminal](https://docs.devin.ai/desktop/terminal)

## The commands

```
asset look caverns "chunky 16-bit pixel art platformer, crisp pixels, limited palette, glowing crystal caves" --view side --mock
asset look caverns "chunky 16-bit pixel art platformer, crisp pixels, limited palette, glowing crystal caves" --view side
asset character miner "a small miner with a headlamp and a pickaxe" --view side --clips idle,walk
asset synth gem pickup
asset spend
```

## Made by the CLI, not drawn for this page

Real files the asset CLI wrote, each under the command that made it.

walk, 4 frames at 8 a second

### See prompt

`asset character miner "a small miner with a headlamp and a pickaxe" --view side --clips idle,walk`

![A side-view pixel-art cave of glowing blue crystals: ledges, a waterfall, a small hero and a spiny beast](https://tyrbo.ai/asset-gen/caverns/caverns.webp)

### See prompt

`asset look caverns "chunky 16-bit pixel art platformer, crisp pixels, limited palette, glowing crystal caves" --view side`

![A pixel-art miner in a blue hood with a headlamp, a red scarf and a pickaxe, seen from the side](https://tyrbo.ai/asset-gen/caverns/miner.webp)

## Tool call or terminal: Cascade can do both

Cascade has two ways in. Through the server, it calls the `asset` tool with a list of words, such as `["character", "miner", "a small miner with a headlamp"]`, and the game's folder. Through the terminal, it types the command itself. The result is identical either way, because the server runs the very same program.

The tool tends to be the tidier choice: no shell quoting to get wrong, and the answer arrives as the tool's reply. The terminal suits you when you want to see the command in a card first and edit its wording before it goes.

## A workspace rule for the art

Cascade loads Markdown rules from `.windsurf/rules` in your workspace. Save one there for the art, built from the agent lines on the [docs page](https://tyrbo.ai/asset-generator/docs):

- The look comes first, and every later picture is asked in it.
- Try a new kind of call with `--mock` before paying for it.
- Read `asset <verb> --help` rather than guessing a flag.
- Build the interface after the characters, and the title screen last.

Because the rule sits in the workspace, every new Cascade conversation starts out knowing it, and a teammate who opens the project gets the same habits.

## Approving the calls that cost

Windsurf decides when a terminal command needs your OK by its permission rules (allow, ask, deny) and then by the session mode: Code asks, Smart lets a fast model pass commands it judges safe, and Bypass Permissions runs them. A sensible split for art: allow `asset spend` and anything with `--mock`, and leave paid calls on ask so you read each prompt before it goes.

Behind that sits asset gen's own guard. A paid call is quoted before it runs and refused, with nothing spent, when your credits cannot cover it. Repeating a call you made before is answered from your account's cache for free.

## What Cascade reads back

A finished call answers with one JSON line: the files written under `public/assets/`, what the call cost, and what is spent and left. Cascade can take `miner-sheet.png` and `miner.anim.json` from that line straight into the sprite code. A refusal comes on stderr with exit code 1 and a plain reason, which Cascade can fix by rewording, or bring to you if it is about credits.

## Questions people ask

### Windsurf’s docs now live on a Devin site. Does the setup change?

Only where the file lives. The server entry is the same JSON in either config file Windsurf reads, and Cascade’s “Open MCP config file” opens the one it uses.

### Can Cascade log in for me?

No. The server refuses `asset login` on purpose. You paste the key into your own terminal once, and from then on every call Cascade makes uses it.

### Are the sound effects paid?

`asset synth` makes short retro sounds such as a pickup, a jump or a hit for free. `asset sfx` and `asset music` describe a sound in words and are paid, quoted first like any other call.

## 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 Gemini CLI](https://tyrbo.ai/ai-game-assets-for-gemini-cli)
- [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 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-windsurf, from Tyrbo (The AI game engine). Cite and link the page itself. Every page: https://tyrbo.ai/llms.txt