Game art from GitHub Copilot’s agent, one approval at a time
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.
Set it up in GitHub Copilot in VS Code
Install the CLI
Install the asset command (Node 20.11 or later).
npm install -g @tyrbo/assetAdd 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" ] } } }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
GitHub Copilot in VS Code’s own docs, read November 25, 2026:
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-phoneMade by the CLI, not drawn for this page
Real files the asset CLI wrote, each under the command that made it.

See prompt
asset look bazaar "cel-shaded desert bazaar, bold outlines, flat bright colours" --view isometric
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
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 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.
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.