P

Photofresco

by photofresco · io.github.photofresco/photofresco

Let AI agents edit images in a PhotoFresco window you approve: layers, masks, previews and export.

npm Local · stdio GlamaOfficial MCP Registry High confidence

Install

Add to ~/Library/Application Support/Claude/claude_desktop_config.json

Windows / Linux path
Windows: %APPDATA%\Claude\claude_desktop_config.json
Linux: ~/.config/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "io-github-photofresco-photofresco": {
      "command": "npx",
      "args": [
        "-y",
        "photofresco"
      ],
      "env": {
        "PHOTOFRESCO_BROWSER": "<VALUE>",
        "READ": "<VALUE>",
        "TOOLS": "<VALUE>",
        "WRITE": "<VALUE>",
        "PROFILE": "<VALUE>",
        "OVERWRITE": "<VALUE>"
      }
    }
  }
}

Restart Claude Desktop to activate the new server.

Add to .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)

Windows / Linux path
Windows: .cursor\mcp.json (project) or %USERPROFILE%\.cursor\mcp.json (global)
Linux: .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)
{
  "mcpServers": {
    "io-github-photofresco-photofresco": {
      "command": "npx",
      "args": [
        "-y",
        "photofresco"
      ],
      "env": {
        "PHOTOFRESCO_BROWSER": "<VALUE>",
        "READ": "<VALUE>",
        "TOOLS": "<VALUE>",
        "WRITE": "<VALUE>",
        "PROFILE": "<VALUE>",
        "OVERWRITE": "<VALUE>"
      }
    }
  }
}

Cursor usually picks up config changes automatically; if the server does not appear, reload the window.

Add to .mcp.json (project) or ~/.claude.json (global)

Windows / Linux path
Windows: .mcp.json (project) or %USERPROFILE%\.claude.json (global)
Linux: .mcp.json (project) or ~/.claude.json (global)
{
  "mcpServers": {
    "io-github-photofresco-photofresco": {
      "command": "npx",
      "args": [
        "-y",
        "photofresco"
      ],
      "env": {
        "PHOTOFRESCO_BROWSER": "<VALUE>",
        "READ": "<VALUE>",
        "TOOLS": "<VALUE>",
        "WRITE": "<VALUE>",
        "PROFILE": "<VALUE>",
        "OVERWRITE": "<VALUE>"
      }
    }
  }
}

The server will be available in the next Claude Code session.

Add to .vscode/mcp.json

Windows / Linux path
Windows: .vscode\mcp.json
Linux: .vscode/mcp.json
{
  "servers": {
    "io-github-photofresco-photofresco": {
      "command": "npx",
      "args": [
        "-y",
        "photofresco"
      ],
      "env": {
        "PHOTOFRESCO_BROWSER": "<VALUE>",
        "READ": "<VALUE>",
        "TOOLS": "<VALUE>",
        "WRITE": "<VALUE>",
        "PROFILE": "<VALUE>",
        "OVERWRITE": "<VALUE>"
      }
    }
  }
}

Reload the VS Code window to activate.

Add to ~/.codeium/windsurf/mcp_config.json

Windows / Linux path
Windows: %USERPROFILE%\.codeium\windsurf\mcp_config.json
Linux: ~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "io-github-photofresco-photofresco": {
      "command": "npx",
      "args": [
        "-y",
        "photofresco"
      ],
      "env": {
        "PHOTOFRESCO_BROWSER": "<VALUE>",
        "READ": "<VALUE>",
        "TOOLS": "<VALUE>",
        "WRITE": "<VALUE>",
        "PROFILE": "<VALUE>",
        "OVERWRITE": "<VALUE>"
      }
    }
  }
}

Restart Windsurf (or refresh its MCP servers panel) to activate the new server.

Windsurf Next uses ~/.codeium/windsurf-next/mcp_config.json. Devin Desktop (the Windsurf rebrand) uses ~/.config/devin/mcp_config.json and imports the Windsurf file.

Add to ~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json

Windows / Linux path
Windows: %APPDATA%\Code\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json
Linux: ~/.config/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
{
  "mcpServers": {
    "io-github-photofresco-photofresco": {
      "command": "npx",
      "args": [
        "-y",
        "photofresco"
      ],
      "env": {
        "PHOTOFRESCO_BROWSER": "<VALUE>",
        "READ": "<VALUE>",
        "TOOLS": "<VALUE>",
        "WRITE": "<VALUE>",
        "PROFILE": "<VALUE>",
        "OVERWRITE": "<VALUE>"
      }
    }
  }
}

Cline reloads cline_mcp_settings.json automatically; if the server does not appear, reload the VS Code window.

Open it from Cline's MCP Servers panel → Configure. Roo Code uses a different file and format.

Configuration

Environment variables this server reads. Secrets stay on your machine.

NameRequiredDescription
PHOTOFRESCO_BROWSER No Chromium-based browser to use (same as the option --browser <path>).
READ No The agent may open image files from this folder (repeatable). Passed as --read <folder>.
TOOLS No Which operations are listed as tools: essentials (default, at most 40 tools), all, or a comma list of groups. Passed as --tools <groups>.
WRITE No The agent may save exports into this folder and new subfolders (repeatable). Passed as --write <folder>.
PROFILE No Browser profile folder, or ephemeral for a throwaway one. Passed as --profile <folder>.
OVERWRITE No Exports may replace existing files in --write folders (the agent must also ask for it). Passed as --overwrite.

Similar servers