MagicLayers
Convert PNG, JPEG, and WebP images into editable layered Photoshop PSDs.
¿Debería usar esto?
Calidad y seguridad
Basado en el análisis automatizado de las definiciones de herramientas y el cumplimiento del protocolo.
Costo de contexto
Este es el número aproximado de tokens que se consumen cada vez que las herramientas del servidor se cargan en el contexto de un modelo. Los recuentos más altos reducen la atención disponible para otras tareas.
Instalar
Instalación con un clic
Agrega esto a tu archivo `claude_desktop_config.json`:
{
"mcpServers": {
"magiclayers": {
"url": "https://magiclayers.app/mcp"
}
}
}Puntos de conexión remotos
https://magiclayers.app/mcpstreamable-httpQué puede hacer
Inventario de herramientas
Herramientas (8)
🟢doctor
Read the current MagicLayers quote configuration and payment availability.
Esquema de entrada
{
"type": "object",
"properties": {}
}Esquema de salida
{
"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.
Esquema de entrada
{
"type": "object",
"properties": {}
}Esquema de salida
{
"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.
Esquema de entrada
{
"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#"
}Esquema de salida
{
"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.
Esquema de entrada
{
"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#"
}Esquema de salida
{
"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.
Esquema de entrada
{
"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#"
}Esquema de salida
{
"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.
Esquema de entrada
{
"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#"
}Esquema de salida
{
"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.
Esquema de entrada
{
"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#"
}Esquema de salida
{
"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.
Esquema de entrada
{
"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#"
}Esquema de salida
{
"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
}Comunidad
Evidencia