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.
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-serverRun in your terminal. Add --scope user to use it in every project.
Step-by-step: install Attalla1 Photopea MCP Server in Claude Code
{
"mcpServers": {
"attalla1-photopea-mcp-server": {
"args": [
"-y",
"@iflow-mcp/attalla1-photopea-mcp-server"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
Step-by-step: install Attalla1 Photopea MCP Server in Claude Desktop
{
"mcpServers": {
"attalla1-photopea-mcp-server": {
"args": [
"-y",
"@iflow-mcp/attalla1-photopea-mcp-server"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
Step-by-step: install Attalla1 Photopea MCP Server in Cursor
{
"servers": {
"attalla1-photopea-mcp-server": {
"args": [
"-y",
"@iflow-mcp/attalla1-photopea-mcp-server"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
Step-by-step: install Attalla1 Photopea MCP Server in VS Code
codex mcp add attalla1-photopea-mcp-server -- npx -y @iflow-mcp/attalla1-photopea-mcp-server{
"mcpServers": {
"attalla1-photopea-mcp-server": {
"args": [
"-y",
"@iflow-mcp/attalla1-photopea-mcp-server"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
Step-by-step: install Attalla1 Photopea MCP Server in Antigravity CLI
gemini mcp add attalla1-photopea-mcp-server npx -y @iflow-mcp/attalla1-photopea-mcp-serverGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
Step-by-step: install Attalla1 Photopea MCP Server in Gemini CLI
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
ANo 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 →Appllama gives AI assistants research on top-grossing mobile apps, plus a build bar for native-feeling Expo and React Native screens. It suits developers building mobile apps with AI assistants.
Creates, edits and exports editable designs for AI assistants through the CoDesign MCP server, built on IMG.LY's CE.SDK design engine. It suits social teams, agencies and designers who need posters, social posts, videos and print layouts.
Pascal 3D Editor lets AI agents inspect, edit, validate, and save editable 3D building scenes through an MCP server. It is aimed at architecture, engineering, construction, and operations teams. Local use needs no Pascal account.
Agent-Native Design is the Design agent in Agent-Native, an open-source TypeScript framework. It generates and refines interactive designs with agent help. The same actions serve both the agent and the UI.
Draws and edits draw.io diagrams on a live browser canvas for AI agents such as Claude Code, Cursor and VS Code. It suits people who want to draw diagrams with AI and keep editing them by hand.
Framelink MCP for Figma gives coding assistants access to your Figma files. It supplies design data so the assistant can implement designs in any framework, mainly for use with Cursor.
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.
