Connect agents
Let Claude Code, Codex or Cursor use your CookPixelStudio library from any project: find an asset, make a matching one, and save the file into your game. Everything stays on this computer; CookPixelStudio does the drawing.
Which assets will the agent see?
- Local library — Claude Code, Codex and Cursor tabs. The agent starts CookPixelStudio on this computer (MCP over stdio) and sees the My Assets folder here. Nothing leaves the computer; drawing uses Claude Code on this computer.
- Hosted account — API tab. Your programs call the CookPixelStudio website with an API key and see only your account's assets; drawing runs on the server. The two libraries are separate and never synced.
Remote MCP for hosted accounts is not available yet; agents can use the hosted API with a key from a script.
1 · Where do I connect?
Install the CookPixelStudio plugin from this CookPixelStudio folder (works from any project, also with spaces in the path). In Claude Code:
/plugin marketplace add "<CookPixelStudio folder>" /plugin install cookpixelstudio@cookpixelstudio
Or in a terminal:
claude plugin marketplace add "<CookPixelStudio folder>" claude plugin install cookpixelstudio@cookpixelstudio
Restart Claude Code afterwards. The plugin adds the cookpixelstudio tools and a skill that knows how to work with them.
From GitHub not published yet
When CookPixelStudio is published on GitHub, the same plugin installs with:
/plugin marketplace add <owner>/<repo> /plugin install cookpixelstudio@cookpixelstudio
2 · Is it my library?
Ask this first — it reads your library and costs no generation:
List the three most recent assets in my CookPixelStudio (cookpixelstudio) library.
Open this page from CookPixelStudio on your computer to see what the answer should be.
This page cannot see your agent. The check happens in the agent: type /mcp — cookpixelstudio should be connected with 10 tools.
3 · What can I ask?
Open your game project in the agent and ask in your own words (any language). For example:
Find the tow truck I just made in CookPixelStudio (cookpixelstudio). Use exactly that version as the model and make a purple rival car, same view and scale. Give me the review link and save the PNG in art/vehicles/ of this project.
Get the mail carrier's Walk clip, the version I fixed by hand. Save the ZIP in art/characters/. Reuse the existing clip.
Change the purple car's stripes to white, starting from the revision I just looked at.
- Find and look at assets and their revisions; make a sprite from a prompt or from an exact asset@revision; edit from a revision; follow or cancel the job (1–5 minutes; it keeps running if the agent closes).
- Copy a revision's PNG, or a clip's ZIP (sheet + animation.json + frames + clip.json), into a folder of your project. Existing files are reused, never regenerated.
- Animation from an agent is experimental. Approving art, releases and publishing stay with you in CookPixelStudio.
Remote agents, API keys and public generation come later; today agents connect to CookPixelStudio on this computer only.