MagicLayers

Convert PNG, JPEG, and WebP images into editable layered Photoshop PSDs.

我該用這個嗎

品質與安全性

A
說明品質
100%
結構描述完整度
79%
命名品質
90%
汙染風險
100%
權限相符程度
100%
協定合規性
100%

根據工具定義與協定合規性的自動化分析。

上下文成本

~2,594Token(工具定義)
~3.1 KB典型回應大小
顯著的注意力影響(128k 上下文的 2.03%)

這是每次將伺服器的工具載入模型上下文時所消耗的約略 token 數量。數量越高,可用於其他工作的注意力就越少。

安裝

一鍵安裝

將以下內容加入你的 `claude_desktop_config.json` 檔案:

{
  "mcpServers": {
    "magiclayers": {
      "url": "https://magiclayers.app/mcp"
    }
  }
}

遠端端點

https://magiclayers.app/mcpstreamable-http

它能做什麼

工具清單

工具(8)

🟢 唯讀🟡 寫入🔴 刪除⚪ 未知
🟢doctor

Read the current MagicLayers quote configuration and payment availability.

輸入結構描述

{
  "type": "object",
  "properties": {}
}

輸出結構描述

{
  "type": "object",
  "properties": {
    "ok": {
      "type": "boolean"
    },
    "data": {
      "type": "object",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {}
    },
    "error": {
      "type": "object",
      "properties": {
        "code": {
          "type": "string"
        },
        "message": {
          "type": "string"
        },
        "status": {
          "type": "integer",
          "minimum": -9007199254740991,
          "maximum": 9007199254740991
        }
      },
      "required": [
        "code",
        "message",
        "status"
      ],
      "additionalProperties": false
    }
  },
  "required": [
    "ok"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#",
  "additionalProperties": false
}
🟢prepare_conversion

Reserve a private task reference before submitting an image. Keep task_ref for follow-up tools and retries. Treat it as a password and never show it in the chat. This creates no task or payment.

輸入結構描述

{
  "type": "object",
  "properties": {}
}

輸出結構描述

{
  "type": "object",
  "properties": {
    "ok": {
      "type": "boolean"
    },
    "data": {
      "type": "object",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {}
    },
    "error": {
      "type": "object",
      "properties": {
        "code": {
          "type": "string"
        },
        "message": {
          "type": "string"
        },
        "status": {
          "type": "integer",
          "minimum": -9007199254740991,
          "maximum": 9007199254740991
        }
      },
      "required": [
        "code",
        "message",
        "status"
      ],
      "additionalProperties": false
    }
  },
  "required": [
    "ok"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#",
  "additionalProperties": false
}
🟡convert(file, image_base64, task_ref, email, locale, ...)

Submit one PNG, JPEG or WebP (up to 30 MiB) for editable image layers or automatic spot-color separations. Use the attached original image. Set dry_run to validate it without submission. A real submission locks a quote and does not charge the customer.

輸入結構描述

{
  "type": "object",
  "properties": {
    "file": {
      "description": "One original image attached by the client.",
      "type": "object",
      "properties": {
        "download_url": {
          "type": "string",
          "maxLength": 8192
        },
        "file_id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 512
        },
        "mime_type": {
          "type": "string",
          "maxLength": 128
        },
        "file_name": {
          "type": "string",
          "maxLength": 255
        }
      },
      "required": [
        "download_url",
        "file_id"
      ]
    },
    "image_base64": {
      "description": "Original image bytes encoded by the client for direct integrations. Use exactly one image input.",
      "type": "string",
      "minLength": 4,
      "maxLength": 41943040
    },
    "task_ref": {
      "description": "Required for submission. Use the private reference from prepare_conversion and reuse it after an uncertain result.",
      "type": "string",
      "pattern": "^mltask1_[A-Za-z0-9_-]{16}\\.[A-Za-z0-9_-]{160}$"
    },
    "email": {
      "description": "Optional delivery notification address.",
      "type": "string",
      "format": "email",
      "pattern": "^(?!\\.)(?!.*\\.\\.)([A-Za-z0-9_'+\\-\\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"
    },
    "locale": {
      "default": "en-US",
      "type": "string",
      "minLength": 2
    },
    "time_zone": {
      "type": "string",
      "maxLength": 100
    },
    "browser_language": {
      "type": "string",
      "maxLength": 128
    },
    "print": {
      "default": false,
      "description": "Create automatic spot separations instead of editable layers.",
      "type": "boolean"
    },
    "print_settings": {
      "description": "Original explicit ink settings for a retry of an existing print task.",
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "process": {
              "type": "string",
              "const": "spot-screen"
            },
            "substrate": {
              "type": "string",
              "const": "white"
            },
            "dpi": {
              "type": "number",
              "const": 300
            },
            "palette": {
              "type": "string",
              "const": "auto"
            }
          },
          "required": [
            "process",
            "substrate",
            "dpi",
            "palette"
          ],
          "additionalProperties": false
        },
        {
          "type": "object",
          "properties": {
            "process": {
              "type": "string",
              "const": "spot-screen"
            },
            "substrate": {
              "type": "string",
              "const": "white"
            },
            "dpi": {
              "type": "integer",
              "minimum": 72,
              "maximum": 1200
            },
            "inks": {
              "minItems": 1,
              "maxItems": 12,
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "name": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 40,
                    "pattern": "^[^/\\\\\\u0000-\\u001f]+$"
                  },
                  "hex": {
                    "type": "string",
                    "pattern": "^#[0-9a-fA-F]{6}$"
                  }
                },
                "required": [
                  "name",
                  "hex"
                ],
                "additionalProperties": false
              }
            }
          },
          "required": [
            "process",
            "substrate",
            "dpi",
            "inks"
          ],
          "additionalProperties": false
        }
      ]
    },
    "dry_run": {
      "default": false,
      "description": "Validate the image and inputs without creating a task or payment.",
      "type": "boolean"
    }
  },
  "$schema": "http://json-schema.org/draft-07/schema#"
}

輸出結構描述

{
  "type": "object",
  "properties": {
    "ok": {
      "type": "boolean"
    },
    "data": {
      "type": "object",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {}
    },
    "error": {
      "type": "object",
      "properties": {
        "code": {
          "type": "string"
        },
        "message": {
          "type": "string"
        },
        "status": {
          "type": "integer",
          "minimum": -9007199254740991,
          "maximum": 9007199254740991
        }
      },
      "required": [
        "code",
        "message",
        "status"
      ],
      "additionalProperties": false
    }
  },
  "required": [
    "ok"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#",
  "additionalProperties": false
}
🟢checkout(task_id, task_ref)

Return a private MagicLayers checkout link, valid for one hour. Show the link to the user who submitted the task so they can pay with Stripe and open the task in their browser.

輸入結構描述

{
  "type": "object",
  "properties": {
    "task_id": {
      "description": "The compact or full UUIDv7 returned by MagicLayers.",
      "type": "string"
    },
    "task_ref": {
      "description": "The private task reference. Omit only when the MCP client supplies task authorization in its HTTP header.",
      "type": "string",
      "pattern": "^mltask1_[A-Za-z0-9_-]{16}\\.[A-Za-z0-9_-]{160}$"
    }
  },
  "required": [
    "task_id"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#"
}

輸出結構描述

{
  "type": "object",
  "properties": {
    "ok": {
      "type": "boolean"
    },
    "data": {
      "type": "object",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {}
    },
    "error": {
      "type": "object",
      "properties": {
        "code": {
          "type": "string"
        },
        "message": {
          "type": "string"
        },
        "status": {
          "type": "integer",
          "minimum": -9007199254740991,
          "maximum": 9007199254740991
        }
      },
      "required": [
        "code",
        "message",
        "status"
      ],
      "additionalProperties": false
    }
  },
  "required": [
    "ok"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#",
  "additionalProperties": false
}
🟢payment(task_id, task_ref)

Read the last verified financial state for one private MagicLayers task.

輸入結構描述

{
  "type": "object",
  "properties": {
    "task_id": {
      "description": "The compact or full UUIDv7 returned by MagicLayers.",
      "type": "string"
    },
    "task_ref": {
      "description": "The private task reference. Omit only when the MCP client supplies task authorization in its HTTP header.",
      "type": "string",
      "pattern": "^mltask1_[A-Za-z0-9_-]{16}\\.[A-Za-z0-9_-]{160}$"
    }
  },
  "required": [
    "task_id"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#"
}

輸出結構描述

{
  "type": "object",
  "properties": {
    "ok": {
      "type": "boolean"
    },
    "data": {
      "type": "object",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {}
    },
    "error": {
      "type": "object",
      "properties": {
        "code": {
          "type": "string"
        },
        "message": {
          "type": "string"
        },
        "status": {
          "type": "integer",
          "minimum": -9007199254740991,
          "maximum": 9007199254740991
        }
      },
      "required": [
        "code",
        "message",
        "status"
      ],
      "additionalProperties": false
    }
  },
  "required": [
    "ok"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#",
  "additionalProperties": false
}
⚪verify_payment(task_id, task_ref)

After the user finishes Stripe checkout, verify it with Stripe and activate the paid task. Use the original task reference.

輸入結構描述

{
  "type": "object",
  "properties": {
    "task_id": {
      "description": "The compact or full UUIDv7 returned by MagicLayers.",
      "type": "string"
    },
    "task_ref": {
      "description": "The private task reference. Omit only when the MCP client supplies task authorization in its HTTP header.",
      "type": "string",
      "pattern": "^mltask1_[A-Za-z0-9_-]{16}\\.[A-Za-z0-9_-]{160}$"
    }
  },
  "required": [
    "task_id"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#"
}

輸出結構描述

{
  "type": "object",
  "properties": {
    "ok": {
      "type": "boolean"
    },
    "data": {
      "type": "object",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {}
    },
    "error": {
      "type": "object",
      "properties": {
        "code": {
          "type": "string"
        },
        "message": {
          "type": "string"
        },
        "status": {
          "type": "integer",
          "minimum": -9007199254740991,
          "maximum": 9007199254740991
        }
      },
      "required": [
        "code",
        "message",
        "status"
      ],
      "additionalProperties": false
    }
  },
  "required": [
    "ok"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#",
  "additionalProperties": false
}
🟢status(task_id, task_ref)

Read the processing and delivery state of one private MagicLayers task.

輸入結構描述

{
  "type": "object",
  "properties": {
    "task_id": {
      "description": "The compact or full UUIDv7 returned by MagicLayers.",
      "type": "string"
    },
    "task_ref": {
      "description": "The private task reference. Omit only when the MCP client supplies task authorization in its HTTP header.",
      "type": "string",
      "pattern": "^mltask1_[A-Za-z0-9_-]{16}\\.[A-Za-z0-9_-]{160}$"
    }
  },
  "required": [
    "task_id"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#"
}

輸出結構描述

{
  "type": "object",
  "properties": {
    "ok": {
      "type": "boolean"
    },
    "data": {
      "type": "object",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {}
    },
    "error": {
      "type": "object",
      "properties": {
        "code": {
          "type": "string"
        },
        "message": {
          "type": "string"
        },
        "status": {
          "type": "integer",
          "minimum": -9007199254740991,
          "maximum": 9007199254740991
        }
      },
      "required": [
        "code",
        "message",
        "status"
      ],
      "additionalProperties": false
    }
  },
  "required": [
    "ok"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#",
  "additionalProperties": false
}
🟢download(task_id, task_ref, kind)

Get a private short-lived download link, byte count and SHA-256 for a completed and paid task. Defaults to the delivery package.

輸入結構描述

{
  "type": "object",
  "properties": {
    "task_id": {
      "description": "The compact or full UUIDv7 returned by MagicLayers.",
      "type": "string"
    },
    "task_ref": {
      "description": "The private task reference. Omit only when the MCP client supplies task authorization in its HTTP header.",
      "type": "string",
      "pattern": "^mltask1_[A-Za-z0-9_-]{16}\\.[A-Za-z0-9_-]{160}$"
    },
    "kind": {
      "default": "package",
      "type": "string",
      "enum": [
        "package",
        "psd",
        "preview"
      ]
    }
  },
  "required": [
    "task_id"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#"
}

輸出結構描述

{
  "type": "object",
  "properties": {
    "ok": {
      "type": "boolean"
    },
    "data": {
      "type": "object",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {}
    },
    "error": {
      "type": "object",
      "properties": {
        "code": {
          "type": "string"
        },
        "message": {
          "type": "string"
        },
        "status": {
          "type": "integer",
          "minimum": -9007199254740991,
          "maximum": 9007199254740991
        }
      },
      "required": [
        "code",
        "message",
        "status"
      ],
      "additionalProperties": false
    }
  },
  "required": [
    "ok"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#",
  "additionalProperties": false
}

社群

為此伺服器評分

證據

近期觀測

已驗證未記錄版本8 個工具