Skip to main content
Glama

Dryplate

Image tools that run on your machine: convert, compress, resize, crop, rotate, blur, watermark, merge and strip metadata. Reads iPhone HEIC. Nothing is uploaded.

The same tools power dryplate.dev in the browser.

Package

What it is

@dryplate/sdk

JavaScript SDK for Node (on sharp) and the browser (WASM codecs)

@dryplate/mcp

MCP server: the same tools for agents in Claude, Cursor and other MCP clients

packages/core

Shared image operations, bundled into both (not published on its own)

Quick start

npm install @dryplate/sdk
import { image } from "@dryplate/sdk"; // picks the Node build (sharp) or the browser build automatically

See each package's README for the full API and the MCP client setup.

Related MCP server: obrobka-mcp

Develop

Node 24 and pnpm 10.

pnpm install
pnpm lint && pnpm typecheck && pnpm test && pnpm build
packages/sdk/smoke/smoke.sh   # packed SDK in plain Node and headless Chrome
packages/mcp/smoke/smoke.sh   # packed MCP server, every tool over stdio

Licence

MIT, © The Dryplate Authors (see AUTHORS). The SDK ships libheif as an unmodified WASM file under LGPL-3.0; see packages/sdk/THIRD-PARTY-NOTICES.md.

Available Tools

10 tools
blur_imageA

Blur a whole image, or only some areas of it (faces, plates, text). Writes a new file next to the input (name-blurred.ext) unless output is given, never replaces a file unless overwrite is true, and returns the path, format and size change.

Inputs: path (required), areas, output, quality, +2 more.

compress_imageA

Make an image file smaller in its own format. Never returns a bigger file. Writes a new file next to the input (name-compressed.ext) unless output is given, never replaces a file unless overwrite is true, and returns the path, format and size change.

Inputs: path (required), maxKb, output, quality, +1 more.

convert_imageA

Convert an image to JPEG, PNG, WebP or AVIF, for example an iPhone HEIC photo to JPEG. Writes a new file next to the input (name-converted.ext) unless output is given, never replaces a file unless overwrite is true, and returns the path, format and size change.

Inputs: path (required), format (required), output, quality, +1 more.

crop_imageB

Crop an image to a centred aspect ratio (ratio) or to a region (box). Give one of them. Writes a new file next to the input (name-cropped.ext) unless output is given, never replaces a file unless overwrite is true, and returns the path, format and size change.

Inputs: path (required), box, ratio, output, +2 more.

generate_thumbnailA

Make a small preview that fits inside a square box. Default 256 px WebP. Writes a new file next to the input (name-thumb.ext) unless output is given, never replaces a file unless overwrite is true, and returns the path, format and size change.

Inputs: path (required), size, format, output, +2 more.

merge_imagesA

Combine images side by side or stacked, scaled to the smallest shared edge. Writes a new file next to the input (name-merged.ext) unless output is given, never replaces a file unless overwrite is true, and returns the path, format and size change.

Inputs: paths (required), gap, output, quality, +3 more.

remove_metadataA

Remove location, camera and other hidden data. Lossless for JPEG, PNG and WebP; orientation is kept. HEIC and AVIF are re-encoded as JPEG, which can be bigger than the original. Writes a new file next to the input (name-clean.ext) unless output is given, never replaces a file unless overwrite is true, and returns the path, format and size change.

Inputs: path (required), output, quality, overwrite.

resize_imageA

Resize an image, keeping its aspect ratio. Give width, height, both (the image fits inside that box) or percent. Writes a new file next to the input (name-resized.ext) unless output is given, never replaces a file unless overwrite is true, and returns the path, format and size change.

Inputs: path (required), width, height, output, +3 more.

rotate_imageA

Rotate an image clockwise by a quarter turn or more, and optionally mirror it. Writes a new file next to the input (name-rotated.ext) unless output is given, never replaces a file unless overwrite is true, and returns the path, format and size change.

Inputs: path (required), flip, output, degrees, +2 more.

watermark_imageA

Draw a text watermark on an image, in one corner or tiled across it. Writes a new file next to the input (name-watermarked.ext) unless output is given, never replaces a file unless overwrite is true, and returns the path, format and size change.

Inputs: path (required), text (required), x, y, +6 more.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.9/5.0

    Scored across 10 tools

    Disambiguation4/5

    Each tool targets a distinct operation, and descriptions give concrete output-naming and safety semantics that help an agent choose. The only real overlap is generate_thumbnail versus resize_image (both downscale, with thumbnail fixing a square box and WebP output), and compress_image versus convert_image can both reduce file size in some cases, but the descriptions draw the boundaries adequately.

    Naming Consistency5/5

    All ten tools follow a strict verb_noun snake_case pattern (convert_image, resize_image, watermark_image, remove_metadata, merge_images). The convention is uniform with no camelCase or bare-verb outliers.

    Tool Count5/5

    Ten tools is well within the ideal 3-15 range and every tool earns its place as a distinct image transformation. There is no filler or near-duplicate tool bloating the surface.

    Completeness4/5

    The surface covers the common image pipeline well: format conversion, resize, crop, rotate, compress, watermark, blur, metadata stripping, thumbnails and merging. Minor gaps remain, such as an inspect/read operation (dimensions, EXIF, format detection) to pair with remove_metadata, and image-based (rather than text-only) watermarking.

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables AI agents to process images locally via file paths—converting, resizing, removing backgrounds, smart cropping, upscaling, reading or stripping metadata, and batch processing—without files ever leaving the device.
      MIT
    • A
      license
      A
      quality
      C
      maintenance
      Enables AI agents to perform local image operations such as circle cropping, cropping, resizing, compressing, converting, and inspecting images without uploading files or making network calls.
      7
      85 npm
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Local file tools for agents. Read and convert documents (DOCX, PDF, HWP, HWPX, EML), edit PDFs, resize and clean images, cut out backgrounds, make QR codes. Nothing is uploaded.
      6
      5
      MIT