MagicLayers
Convert PNG, JPEG, and WebP images into editable layered Photoshop PSDs.
사용해야 할까요
품질 및 안전성
도구 정의와 프로토콜 준수에 대한 자동 분석을 기반으로 합니다.
컨텍스트 비용
이는 서버의 도구가 모델의 컨텍스트에 로드될 때마다 소비되는 대략적인 토큰 수입니다. 수치가 높을수록 다른 작업에 사용할 수 있는 주의가 줄어듭니다.
설치
원클릭 설치
`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
}커뮤니티
증거