SpriteCook for OpenCode

Generate game art inside OpenCode

One command adds the SpriteCook MCP server to your OpenCode config and installs the workflow skills. Sign in once, then your agent makes the art.

Run the install command

Adds the MCP server to your global config and installs the SpriteCook skills.

Terminal
# Adds SpriteCook to your OpenCode environment
$bash -c "$(curl -fsSL https://spritecook.ai/install-opencode.sh)"

What the installer does

Adds the SpriteCook MCP server to your global OpenCode config.
Installs the SpriteCook skills into ~/.config/opencode/skills.
Leaves the rest of your config untouched.
Sign in through the SpriteCook prompt on first use.

Stills and animations

Characters, items, tilesets, textures, UI elements, and short animations. Pixel art or detailed HD, picked per asset.

Every asset matches

The agent generates a hero asset first, then passes its ID as reference_asset_id so palette, proportions, and style stay consistent.

Edits without redraws

Tweak an existing asset by passing its ID as edit_asset_id with a new prompt. "Add a red cape" or "make the sword glow."

Common questions

What does the installer change on my machine?

It adds a spritecook entry under mcp in your global opencode config and copies the SpriteCook skills into ~/.config/opencode/skills. Everything else stays as it is.

My config is an opencode.jsonc with comments. Will the installer break it?

No. If your config cannot be parsed safely, the installer leaves the file alone and prints the snippet for you to paste in yourself.

Do I need an API key?

No. OpenCode connects to the hosted SpriteCook MCP server and opens a browser sign-in on first use. API keys are only needed for direct API integrations.

Can I set it up manually instead?

Yes. Add the SpriteCook server to the mcp section of your opencode.json and optionally copy the skills from the GitHub repo. The repo README has the exact snippet.

Using a different agent?

Let your agent handle the art

One command to connect. Focus on the game.

Start creating free