Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

Attalla1 Photopea MCP Server

MCP server by attalla1 Verified · npm:@iflow-mcp

Photopea MCP Server lets an AI agent edit images and design posters in Photopea, a free, browser-based alternative to Photoshop. It is aimed at users who want to run image editing from their terminal or AI assistant.

  • Score 68
  • 58 stars
  • 9 a week
  • MIT
  • Updated

Install Attalla1 Photopea MCP Server

Built from the published package, never by AI.

claude mcp add attalla1-photopea-mcp-server -- npx -y @iflow-mcp/attalla1-photopea-mcp-server

Run in your terminal. Add --scope user to use it in every project.

Step-by-step: install Attalla1 Photopea MCP Server in Claude Code

MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the attalla1-photopea-mcp-server block.

About

Photopea MCP Server is an MCP server that gives an AI assistant tools for editing images in Photopea, a free, browser-based alternative to Photoshop. The assistant can create documents, open and place images, adjust and mask layers, apply filters, add text, and export results to PNG, JPG, WebP, PSD, or SVG. The source lists 46 tools in total.

The server talks to the agent over stdio and sends commands through a WebSocket bridge bound to 127.0.0.1. The bridge relays them to a browser page that loads Photopea in an iframe, and a browser window opens on the first tool call. It is aimed at users who want to design posters, edit photos, or batch process images from their terminal or AI agent.

Written from the project's README and checked against it.

Tools it gives your assistant

  • photopea_create_documentCreate a new document with specified dimensions and settings.
  • photopea_open_fileOpen an image from a URL or local file path.
  • photopea_add_textAdd a text layer at specified coordinates.
  • photopea_add_adjustment_layerAdd a non-destructive brightness/contrast, hue/saturation or levels layer.
  • photopea_apply_filterApply gaussian blur, sharpen, unsharp mask, noise, or motion blur.
  • photopea_place_imagePlace an image from URL or local path.
  • photopea_fill_placeholderFit an image into a template's placeholder layer and mask it to its shape.
  • photopea_get_previewReturn a downscaled PNG of the document so the agent can see its work.
  • photopea_export_imageExport to PNG, JPG, WebP, PSD, or SVG.
  • photopea_batch_processOpen many images, run a script on each, export them to a folder.

What you need

  • Node.js 18 or later
  • A modern web browser (Chrome, Firefox, Edge, Safari)

Try asking

  • Create a 1920x1080 poster with a dark blue background and export it as PNG
  • Resize every JPG in ~/photos to 1200px wide and save them as WebP
  • Put ~/photos/product.jpg into the Photo layer of ~/templates/post.psd

Good to know

  • Heavy scripts may make the Photopea browser UI unresponsive, though operations still complete in the background.
  • Refreshing the browser page discards all unsaved work.
  • Only one bridge tab is active at a time. A newer tab takes over and the older one stops working.
  • The reorder_layer tool may make the Photopea UI unresponsive.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to Attalla1 Photopea MCP Server

All alternatives →

Compare with Appllama, codesign or Pascal 3D Editor

Attalla1 Photopea MCP Server: common questions

Does Photopea MCP Server open a browser window?

Yes. A browser window opens automatically on the first tool call because Photopea runs in the browser. If you close the tab, the next tool call opens it again.

Is the browser bridge exposed to the network?

No. The bridge binds to 127.0.0.1 (localhost only) and is not accessible from the network. File operations use the same permissions as the user running the server.

Is photopea_run_script safe to use?

It executes arbitrary JavaScript inside Photopea's sandboxed iframe. The tool is marked as destructive, so MCP clients that honor tool annotations can ask for approval before running it.

How do I install Attalla1 Photopea MCP Server?

In Claude Code run claude mcp add attalla1-photopea-mcp-server -- npx -y @iflow-mcp/attalla1-photopea-mcp-server. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.

Is Attalla1 Photopea MCP Server the official server?

Attalla1 Photopea MCP Server is published by npm:@iflow-mcp from its verified domain in the official MCP Registry.

Is Attalla1 Photopea MCP Server free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is Attalla1 Photopea MCP Server safe to use?

It scores 68 of 100. Grades: maintenance B, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to Attalla1 Photopea MCP Server?

Similar MCP servers: Appllama, codesign, Pascal 3D Editor, Agent-Native Design.

Does Attalla1 Photopea MCP Server work with ChatGPT?

Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.

Attalla1 Photopea MCP Server Install

Add to stack

Loading.