PHOTOPEA TOOLS

34 tools from the Photopea MCP Server, categorised by risk level.

View the Photopea policy →

READ TOOLS

4

WRITE TOOLS

26
photopea_add_fill_layer Add a non-destructive solid color fill layer that covers the entire canvas. Unlike fill_selection, this creates a separate adjustment-style layer t... 3/5 photopea_add_gradient Apply a linear gradient fill to a layer, replacing its current pixel content. The target layer must already exist — use add_layer to create one fir... 2/5 photopea_add_layer Add a new empty layer to the active document. The new layer becomes the active layer. Use this before operations that draw onto a layer, such as fi... 2/5 photopea_add_shape Add a vector shape layer (rectangle or ellipse) to the active document. The shape layer becomes the active layer. Shapes are non-destructive and ca... 2/5 photopea_add_text Add a new text layer to the active document at the specified position. The text layer becomes the active layer. Use paragraphBounds to create a tex... 3/5 photopea_apply_adjustment Apply a destructive image adjustment to the active layer's pixel data. Use select_layer to target a specific layer first. Modifies pixels directly ... 2/5 photopea_apply_filter Apply a destructive filter effect to the active layer's pixel data. Use select_layer to target a specific layer first. Modifies pixels directly — u... 2/5 photopea_close_document Close the active document. Set save to true to save changes before closing. Unsaved changes are discarded if save is false. The next open document ... 2/5 photopea_create_document Create a new blank document and make it the active document. This is typically the first step in a workflow. The document opens with a Background l... 2/5 photopea_duplicate_layer Create a copy of a layer in the active document. The duplicate becomes the active layer and is placed above the original. Use newName to distinguis... 2/5 photopea_edit_text Modify the content or style of an existing text layer. Only specified properties are changed — omit parameters to keep their current values. Use ge... 2/5 photopea_export_image Export the active document to a file and save it to the local filesystem. The entire document is flattened and exported in the chosen format. Use c... 3/5 photopea_fill_selection Fill the current selection with a solid color on the active layer. Requires an active selection — use make_selection to create one first. Modifies ... 2/5 photopea_group_layers Group multiple layers into a layer group (folder). Layers are specified by name — use get_layers to find layer names. Grouped layers can be ungroup... 2/5 photopea_make_selection Create a pixel selection region in the active document. After creating a selection, use fill_selection to fill it with color, or clear_selection to... 2/5 photopea_modify_selection Modify the current active selection. Requires an existing selection created by make_selection. For expand, contract, and feather, the amount parame... 2/5 photopea_move_layer Translate a layer by a relative x/y offset in pixels from its current position. Positive x moves right, positive y moves down. Use get_layers to ch... 2/5 photopea_open_file Open an existing image file in Photopea as a new document. Supports PSD, PNG, JPG, WebP, SVG, and other common formats. The opened file becomes the... 2/5 photopea_place_image Place an image into the active document from a URL or local file path. Creates a new layer with the placed image as the active layer. Use width/hei... 2/5 photopea_redo Redo one or more previously undone actions in the active document. Only available after using undo — the redo history is cleared when new actions a... 2/5 photopea_reorder_layer Move a layer to a new position in the layer stack. Use 'top' or 'bottom' to move to the ends of the stack, or 'above'/'below' to shift one position... 2/5 photopea_resize_document Resize the active document canvas to new pixel dimensions, resampling all layer content to fit. This is a destructive operation — all layers are sc... 2/5 photopea_select_layer Set a layer as the active layer by name or index. Many tools (apply_filter, apply_adjustment, fill_selection) operate on the active layer — use thi... 2/5 photopea_set_layer_properties Update one or more properties on a layer. Only specified properties are changed; others remain at their current values. Use get_layers to inspect c... 2/5 photopea_undo Undo one or more recent actions in the active document. Each step reverses one operation from the history. Use after destructive operations (apply_... 2/5 photopea_ungroup_layers Dissolve a layer group, moving all child layers to the document root. The group folder is removed but its contents are preserved. Use get_layers to... 2/5

DESTRUCTIVE TOOLS

2

EXECUTE TOOLS

2
How many tools does the Photopea MCP server have? +

The Photopea MCP server exposes 34 tools across 4 categories: Read, Write, Destructive, Execute.

How do I enforce policies on Photopea tools? +

Use Intercept, the open-source MCP proxy. Write YAML rules for each tool — rate limits, argument validation, or deny rules — then run Intercept in front of the Photopea server.

What risk categories do Photopea tools fall into? +

Photopea tools are categorised as Read (4), Write (26), Destructive (2), Execute (2). Each category has a recommended default policy.

Enforce policies on Photopea

Open source. One binary. Zero dependencies.

npx -y @policylayer/intercept
github.com/policylayer/intercept →
// GET IN TOUCH

Have a question or want to learn more? Send us a message.

Message sent.

We'll get back to you soon.