Game assets from Zed’s agent, through a context server
Zed calls an MCP server a context server, and its agent panel can use one the same way it uses its built-in tools. Asset gen’s server gives it one tool, asset, which makes a game’s pictures, sheets, models and sounds on your account and writes them into the project. The cut-paper harbor on this page, and the sailor walking along its quay, were asked for with the commands below, the same words the agent would hand the tool.
Set it up in Zed
Install the CLI
Install the asset command (Node 20.11 or later).
npm install -g @tyrbo/assetAdd the MCP server to Zed
Put the server in Zed's settings.json (zed: open settings file), then reload the agent so it starts it.
{ "context_servers": { "tyrbo-asset": { "command": "npx", "args": [ "-y", "@tyrbo/asset", "mcp" ], "env": {} } } }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
Zed’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 --mock
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 sfx gulls "seagulls calling over gentle waves" --seconds 6 --loop
asset music harbor-theme "calm seaside waltz, accordion and soft strings, slow tempo"
asset spendMade 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
Confirm by default, then loosen what is safe
Out of the box, Zed’s agent asks before every tool action, MCP calls included: agent.tool_permissions.default is confirm. You can set a rule for one tool by its key, which for asset gen is mcp:tyrbo-asset:asset.
Leaving it on confirm is reasonable while you start. Each prompt shows the words the agent is about to send, so you see --mock there or not, and a paid call is quoted and checked against your credits on top. When you trust the pattern, allow the tool and let asset spend tell you where things stand.
A profile for art days
Zed’s docs suggest a custom profile when you want the agent to reach for one server’s tools. Make an art profile with the asset tool on, and the file edits the agent needs to wire the results in. Switch to it when the session is about pictures and sound, and back to your usual profile for gameplay code.
Inside that profile, a good opening ask names the camera and the style in one breath (“side view, cut paper, warm light”), which the agent turns into the asset look call everything after it follows.
Sound in the same look
Pictures are only half the harbor. asset sfx makes a sound from words, up to 30 seconds and loopable, and asset music writes a 30 second piece from a mood, a tempo and the instruments. For blips that need no words, asset synth makes a pickup, a jump or a hit for free. All of them land beside the art as .mp3 or .wav files, named after the command.
Answers the agent can act on
The tool replies with the command’s one JSON line: the files written, their cost and what is left. When a call is refused, the reply is an error with the reason, such as a flag the verb does not take or credits that cannot cover it, and the agent can try again with better words or ask you. Logging in is the one thing it cannot do: you run asset login in your own terminal, once.
Questions people ask
Can Zed’s agent run the CLI in its terminal instead?
Yes, an agent profile with the terminal tool can type asset commands too. The context server is usually simpler, since there is no quoting to get wrong.
How do I test a new prompt without paying?
Add --mock. The call runs offline, needs no key, and writes stand-in files under the names the real one would use.
Where do the sailor’s frames end up?
In public/assets/: sailor.png, sailor-sheet.png with its atlas, and sailor.anim.json, which says where each clip sits on the sheet.
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.