Unmerge

v1.0.3
app.unmerge/unmerge Checked 4 days ago Published 8 days ago

Split a flat image into up to 100 transparent PNG layers.

Unmerge splits a flat image into separate transparent PNG layers, with the hidden parts behind objects filled in. This repository holds the connection details for its remote MCP server and an Agent Skill that teaches an agent to use it. The service itself is hosted; there is nothing to install or run. Want to test on one image before setting up an API key? Upload it at unmerge.app to see a watermarked layer preview right in your browser. Put the key in an environment variable first:

Summary extracted from the README.

Unmerge MCP server and agent skill

Unmerge splits a flat image into separate transparent PNG layers, with the hidden parts behind objects filled in. This repository holds the connection details for its remote MCP server and an Agent Skill that teaches an agent to use it. The service itself is hosted; there is nothing to install or run.

Try in browser without an API key

Want to test on one image before setting up an API key? Upload it at unmerge.app to see a watermarked layer preview right in your browser.

Connect

Put the key in an environment variable first:

export UNMERGE_API_KEY=um_...

Claude Code

claude mcp add --transport http unmerge https://unmerge.app/mcp --header "Authorization: Bearer $UNMERGE_API_KEY"

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "unmerge": {
      "url": "https://unmerge.app/mcp",
      "headers": { "Authorization": "Bearer um_..." }
    }
  }
}

Codex (~/.codex/config.toml)

[mcp_servers.unmerge]
url = "https://unmerge.app/mcp"
bearer_token_env_var = "UNMERGE_API_KEY"

Tools

Tool What it does Cost
split_into_layers Split a PNG, JPG or WebP (https URL or base64) into named layers. Optional prompt says what to separate (and raises the cap from 17 up to 100 layers when naming more parts or layers). Waits up to 50 seconds. 1 credit per layer returned (up to 17 by default, up to 100 when prompted); needs 5 credits to start
get_layers Status of a split; when ready, each layer's name, position and a PNG link valid for one hour Free
unlock_layers For status needs_credits: pay the credits owed so the files become available The credits owed, once
get_credits Credits left on the account Free

Listing tools works without a key; calling one needs it.

Pricing

The same credits as the website: one credit is one layer returned. See unmerge.app/pricing.

Agent skill

skills/unmerge/SKILL.md follows the Agent Skills format. Install it with

npx skills add unmerge-app/unmerge-mcp

or copy the folder into your agent's skills directory (for Claude Code, ~/.claude/skills/unmerge/). It uses the MCP tools when they are connected and the HTTP API with curl otherwise.

One-line prompt for any AI agent

Paste into Claude Code, Cursor, Codex, or Gemini CLI:

Read https://raw.githubusercontent.com/unmerge-app/unmerge-mcp/main/skills/unmerge/SKILL.md and split my image into transparent PNG layers.

Support

support@unmerge.app

License

The files in this repository are MIT licensed. The Unmerge service has its own terms.