ECORTESCL

MCP · PhotoCraft

Un estudio de diseño por capas para tu IA.

Tu agente diseña piezas en PSD editables (texto vivo, capas, máscaras), recuerda tus marcas, logos y tipografías, y busca o genera imágenes con tus propias claves. Los diseñadores abren el PSD y siguen trabajando.

01 · Conectar

Una URL, OAuth propio

En Claude.ai → Ajustes → Conectores → Añadir conector personalizado, pega la URL. Se abre la pantalla de autorización de este servidor: entras con tu cuenta y pulsas Permitir. Nada de claves en la URL.

https://mcp-photocraft.ecortes.cl/mcp

02 · Qué hace

PSD

Diseño por capas

Texto, formas, imágenes como Smart Objects, estilos, máscaras y grupos. Cada edición es una versión nueva.

MARCA

Contexto persistente

Colores, tipografías, logos, design.md y skills de diseño por cuenta: todo diseño nuevo sale consistente.

IMÁGENES

Fotos y generación con IA

Unsplash, Pexels y Pixabay, y OpenAI para generar. Las claves se cargan en tu panel, cifradas.

03 · Herramientas (36)

ToolDescripción
studio_overviewSTART HERE. Lists brands, recent projects, library counts, canvas presets and the recommended design workflow.
font_listFont families the engine can render (system fonts + brand fonts uploaded to the library). Check here before choosing a font; a missing font falls back silently.
brand_listAll saved brand kits (summary).
brand_getFull brand kit: colors, fonts, voice, guidelines, the design.md (binding design rules) and every asset (logos, fonts, references) attached to it. Load this before designing.
brand_saveCreate a brand kit or update an existing one (matched by name or id). Replaces the colors/fonts lists when provided. Persist what the user tells you about their brand here so designs stay consistent across sessions.
brand_deleteDeletes the kit. Its assets and projects are kept (unassigned).
asset_listSearch the persistent library of logos, reference images, photos, textures and fonts. Filter by brand, kind, tag or free text.
asset_getAsset metadata plus an inline preview image so you can actually look at a logo or reference.
asset_addPersist a logo, reference image, photo, texture or font (.ttf/.otf) in the library, optionally attached to a brand. Provide `url` (public http/https) or `data_base64`. For big files use asset_request_upload. For fonts pass font_role (e.g. heading/body) to register the family in the brand kit automatically.
asset_request_uploadFor large files (photos, PSDs, fonts): returns a single-use PUT URL (valid 1h). The user or you can `curl -T file <url>`. The file lands in the library with the metadata given here.
asset_updateRename, retag, add notes, change kind or reassign an asset to another brand (brand: "" detaches it).
asset_deletePermanently removes an asset. Designs that already embed it keep their copy.
project_createCreate a project (one creative with versioned PSDs). Attach a brand so brand tokens resolve. Canvas: preset (instagram_square, instagram_portrait, instagram_story, facebook_post, facebook_ad, linkedin_post, … see studio_overview) or width+height.
project_listProjects, newest first, optionally for one brand.
project_getBrief, brand, last DesignSpec and versions with fresh download links.
project_updateRename, change brief or switch brand (brand: "" detaches).
project_deletePermanently deletes the project and all its versions/exports.
design_renderBuilds a NEW layered document from a DesignSpec and saves it as the next version (PSD + native + PNG). Returns a preview image, the layer list, warnings and download links. Layers are bottom→top; text stays live type, shapes stay vector, images are smart objects, effects are layer styles, so designers can edit everything. Example: {"canvas":{"preset":"instagram_portrait","background":"brand:background"},"layers":[{"type":"image","name":"Hero photo","asset":"ast_…","x":0,"y":0,"w":1080,"h":800,"fit":"cover"},{"type":"shape","name":"Panel","shape":"rect","x":0,"y":800,"w":1080,"h":550,"fill":"brand:primary"},{"type":"text","name":"Headline","text":"Hasta 40% OFF","x":60,"y":840,"w":960,"size":96,"weight":800,"font":"brand:heading","color":"#ffffff","effects":[{"kind":"dropShadow","params":{"opacity":35,"distance":6,"size":12}}]},{"type":"image","name":"Logo","asset":"brand:logo","x":60,"y":1230,"h":60,"fit":"contain"}]}. Keep ≥5% margins, one clear focal point, strong contrast, max 2 typefaces.
design_openOpens a version and returns its layer tree (names, kinds, bounds) plus a preview. Use before design_edit to learn exact layer names.
design_editApplies targeted edits to the latest (or given) version and saves a new version: change text/styles, move/resize, recolor, set opacity/blend, add or delete layers, swap images, restyle effects, or run raw engine commands. Layers are addressed by name. This preserves everything else, including edits a designer made in the PSD. Returns per-op results, preview and downloads.
design_previewFlattened preview image of a version.
design_exportExport a version to PSD (layered, editable), PNG, JPG, WebP, TIFF, PDF or .pcraft. `scale` resizes (percent, e.g. 200 for @2x). Returns time-limited download URLs (24h).
design_versionsVersion history of a project.
design_restoreMakes an older version the latest by saving it as a new version.
import_designTurn an uploaded file (editable PSD, or a final PNG/JPG) from the library into a project version so you can keep editing it. PSD layers, live text and styles are preserved; a flat image becomes a single layer you can build on.
integrations_statusShows which stock-photo banks (Unsplash, Pexels, Pixabay) and AI image generation (OpenAI) are configured in the admin panel, plus the daily AI limit left.
stock_searchSearch royalty-free photo banks (Unsplash, Pexels, Pixabay) with the keys configured in the panel. Searches every configured bank unless `provider` is given. Returns results with a few inline thumbnails; pass a result's `ref` to stock_import to save it to the library. Use English queries for best results.
stock_importDownloads the photo behind a stock_search `ref` into the asset library (with the photographer credit in its notes) so design_render can use it as `asset`.
image_generateCreate an image with OpenAI and save it to the library. Best for hero visuals, textures, illustrations and cut-out objects. Do NOT ask it to render the headline/body text or logos: place those as live text/logo layers. Use background=transparent for cut-outs. Pass reference_assets (library ids, e.g. a product photo or logo) to edit/compose from them. Costs money; the daily limit is set in the panel.
skill_listDesign know-how documents loaded by the user (composition, typography, color, logo usage, formats…). Check this before designing and read the relevant ones with skill_get.
skill_getFull markdown of a skill. Follow it as the user's own design standard.
skill_saveSave a design skill (markdown). Use when the user dictates a reusable design rule or workflow worth keeping.
skill_deleteRemove a skill.
engine_commandsSearch the ~940 Photoshop-style engine commands (filters, masks, selections, smart objects, blend/adjustment layers, warps, gradients, layer comps, paths…). Returns id + parameter docs. Use with engine_run, design_edit{op:raw} or a layer's ops[].
engine_runPower tool: open a project's version, run engine commands in order (see engine_commands), save as a new version. Commands act on the active layer/selection like in Photoshop; use layer.select first. File-path commands are disabled by the sandbox; use asset-based tools for images. If the project has no version yet, pass new_document.
engine_statusChecks that the PhotoCraft engine boots and reports its command count.