MCP server exposing headless Photopea to Claude Code and other agents. Opens no visible browser window and needs no human to keep a tab alive: the editor runs in a headless browser owned by this process, started lazily on the first tool call and reused afterwards.
Strong foundation with 24 well-named tools covering a coherent image-editing domain. All tools have descriptions (avg 95 chars) and explicit JSON schemas with typed parameters. Naming follows verb_noun convention consistently (create_document, export_image, add_text). However, several parameter descriptions lack actionable constraints: crop() parameters have no range guidance; add_layer() blend_mode and opacity lack enum/range specs; add_text() font parameter warns against use but doesn't explain why or provide alternatives. Error handling is minimal, most tools return success strings without guidance on failure modes. Output schemas are undocumented; agents cannot predict what document_info() or list_layers() return. No tool declares destructive intent in descriptions despite close_all_documents() and delete_layer() being irreversible. Composition is sound, tools chain well (open_image → list_layers → select_layer → edit_text → export_image) and output IDs match input expectations.
Draw a smooth gradient covering the canvas, as a new layer. `colors` are hex stops, e.g. ["#e63946", "#1d3557"]. `angle` is degrees, 0 being left-to-right.
Add an empty raster layer.
Add wrapping paragraph text inside a fixed box.
Add a text layer. `y` is the BASELINE, so glyphs sit above it. Leave `font` unset unless you have a reason: Photopea lists thousands of font names but loads their data lazily, and an unloaded font renders nothing at all.
Discard every open document.
Create a new document. `fill` is a hex colour like "#ffffff".
Crop the document to a rectangle.
Output schemas undocumented. document_info() and list_layers() return dicts but agents cannot predict field names, types, or structure. Agents must guess or fail.
Destructive operations lack explicit warnings in descriptions. close_all_documents() and delete_layer() are irreversible but descriptions do not state this or suggest confirmation patterns.
Parameter constraints missing or vague. crop(x, y, width, height) lacks range guidance; add_layer(blend_mode) has no enum; add_text(font) warns against use but provides no alternative or guidance.
Error handling absent. Tools return success strings but no guidance on failure modes, retryability, or recovery. Agents cannot distinguish transient from fatal errors.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | D | 57 | 2026-07-28+ | v2 |
Remove a layer by name.
Size, resolution and layer counts of the active document.
Draw an ellipse on its own layer. Give at least one of fill/stroke.
Draw a rectangle on its own layer. Give at least one of fill/stroke.
Copy a layer.
Change an existing text layer, addressed by name.
Export the active document to disk. `quality` (0-1) applies to jpg/webp.
Merge every layer into one.
Mirror the whole document.
The layer tree with names, visibility, opacity and bounds.
Open an image or PSD from disk as a new document.
Composite an image file into the active document as a new layer.
Change the canvas size without scaling the contents.
Resample the image to a new pixel size.
Rotate the whole document clockwise.
Make a layer active, addressed by name.
Rename a layer or change its opacity, blend mode or visibility.
Descriptions too brief for discovery. document_info (60 chars), list_layers (65 chars), flatten (55 chars) lack context on when to call them or what they reveal. Agents may skip them.