# Game art from GitHub Copilot’s agent, one approval at a time

> Give Copilot’s agent in VS Code an asset tool: characters, backdrops and a phone interface in one look, each call approved once or for the session.

- URL: https://tyrbo.ai/ai-game-assets-for-github-copilot
- Title: AI Game Assets for GitHub Copilot in VS Code
- Language: English (en)
- Updated: 2026-11-26

When Copilot in VS Code works as an agent, it plans a change, edits files and runs tools until the job is done. Add asset gen’s MCP server and one more tool joins that list: `asset`, which turns a sentence into game art in your workspace. Ask Copilot for “a rogue who walks around an isometric desert market” and it can set the bazaar’s look, ask for the rogue, paint a teahouse backdrop and lay out a phone interface, then write the code that loads them. Every result is a file you can open in the explorer.

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 GitHub Copilot in VS Code

1. **Install the CLI** Install the asset command (Node 20.11 or later). `npm install -g @tyrbo/asset`
2. **Add the MCP server to GitHub Copilot in VS Code** Put the server in .mcp.json at the workspace root, or ~/.copilot/mcp-config.json for every workspace, then reload the agent so it starts it. `{ "mcpServers": { "tyrbo-asset": { "type": "stdio", "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`

GitHub Copilot in VS Code’s own docs, read November 25, 2026:

- [https://code.visualstudio.com/docs/agents/reference/mcp-configuration](https://code.visualstudio.com/docs/agents/reference/mcp-configuration)
- [https://code.visualstudio.com/docs/agents/run/approvals](https://code.visualstudio.com/docs/agents/run/approvals)

## The commands

```
asset look bazaar "cel-shaded desert bazaar, bold outlines, flat bright colours" --view isometric --mock
asset look bazaar "cel-shaded desert bazaar, bold outlines, flat bright colours" --view isometric
asset character rogue "a nimble rogue in a fitted hooded tunic and leather boots, twin daggers sheathed" --view isometric --clips idle,walk
asset image teahouse-out "a backdrop: the outside of a small teahouse in the bazaar, its painted door and awning, no people"
asset ui "sun-bleached cloth and brass, lively market mood" --vertical-phone
```

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

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

![An isometric cel-shaded desert bazaar: awnings, a camel, a fountain and stalls](https://tyrbo.ai/asset-gen/bazaar/bazaar.webp)

### See prompt

`asset look bazaar "cel-shaded desert bazaar, bold outlines, flat bright colours" --view isometric`

![A rogue in a red hood and a fitted tunic, seen isometric](https://tyrbo.ai/asset-gen/bazaar/rogue.webp)

### See prompt

`asset character rogue "a nimble rogue in a fitted hooded tunic and leather boots, twin daggers sheathed" --view isometric --clips idle,walk --facings down --takes 3`

![A cel-shaded teahouse from outside: a painted blue door, a red awning, brass lanterns and potted palms](https://tyrbo.ai/asset-gen/bazaar/teahouse-out.webp)

### See prompt

`asset image teahouse-out "a backdrop: the outside of a small teahouse in the bazaar, its painted door and awning, no people"`

## Tell Copilot the order of things

Copilot reads `.github/copilot-instructions.md` in your repository with each request. Paste the agent lines from the [docs](https://tyrbo.ai/asset-generator/docs) there, and add a sentence of your own about the game: its camera, its art style, what the hero is. Then Copilot knows to start with `asset look`, to ask every later picture in that look, and to check a verb’s flags with `asset <verb> --help`.

The order matters more than any flag. A look set first means the rogue, the teahouse and the buttons share one palette and one light. Without it, the first picture asked becomes the look, which may not be the one you would have picked.

## Approvals you can live with

With Manual permissions, the default, Copilot stops before a tool call and offers **Allow Once** or **Skip**, and you can save an approval for the session or always. VS Code’s tool picker can also mark a tool to run without approval, and that works for an MCP server’s tools too.

For art, approve once per call while you learn what things cost, and save a session approval for the `asset` tool when you are running a batch of `--mock` calls, which spend nothing. Each paid call is still quoted, and refused before it runs when your credits fall short, whatever VS Code allowed.

## Files, then code that uses them

Each call answers with a single JSON line naming what it wrote. For the rogue that means the front picture, the other facings the isometric view wants, and `rogue-sheet.png` with its atlas and `rogue.anim.json`. Copilot reads the line and writes the loader in the same turn. When a call cannot go ahead, the reason arrives as an error on the tool, so Copilot can change its words or ask you.

Start with `--mock` on every command: the stand-ins land under the real file names, so the scene loads and the code is right before a cent is spent.

## Questions people ask

### Does this need Copilot’s agent mode, or does chat work?

MCP tools are used by the agent, so ask in agent mode. Plain chat can explain the commands, and you can paste them into the terminal yourself.

### Can I keep using `.vscode/mcp.json`?

It still works, but VS Code’s docs now mark it deprecated in favour of the `mcpServers` files the setup above uses. Those files use `mcpServers` as their key; the old one used `servers`.

### How do I see what Copilot has spent?

Ask it to run `asset spend`, or run it yourself. It lists what has gone and what is left, and it costs nothing.

### Will a second ask redraw the rogue?

No. `asset character` keeps files already there, and only `--replace` draws the whole set again. Repeats of the same call come from your account’s cache, free.

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