Bulki logo

Bulki

by @puntoycoma

Locally compress, resize, convert, and inspect image files through CLI commands or MCP tools.

Install Bulki

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "puntoycoma-bulki": {
      "command": "npx",
      "args": [
        "-y",
        "@puntoycoma/bulki"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

We couldn’t confirm it starts correctly

We ran the install command but it didn't respond within our test window — this can mean a slow first-time install rather than a real problem.

npx -y @puntoycoma/bulki

No response to initialize.

This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked .

Overview

@puntoycoma/bulki provides local image compression, resizing, conversion, and format detection through a CLI and built-in MCP server. Its MCP interface exposes `compress` for optimization jobs and `detect` for identifying image files and formats. Reach for it when an AI coding editor needs to prepare image assets without shell-command orchestration or remote services. It supports JPEG, PNG, WebP, GIF, and AVIF processing, with HEIC/HEIF conversion on macOS.

Use cases

  • Compress image assets before a web deployment
  • Convert a folder of photos to WebP or AVIF
  • Detect image formats from an AI coding editor
  • Watch an upload directory for automatic optimization
  • Enforce image size limits in CI

Key features

  • MCP tools for compression and image detection
  • Local JPEG, PNG, WebP, GIF, and AVIF processing
  • Quality, format, resize, and size-budget controls
  • Folder watch mode and Git pre-commit integration
  • Stdin/stdout pipelines and JSON CLI output

Tools2

What Bulki lets your agent do. Expand a tool for its parameters.

Self-reported~34 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 2d ago via OSV.dev · @puntoycoma/bulki (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars1Stargazers on the source repository.
npm downloads494Package downloads in the last 30 days.
Last commit7d agoMost recent push to the default branch.
Install checkInconclusiveDidn't respond in our test window — often a slow first install.
Tools exposed2Callable tools this server registers over MCP.

How Bulki works

What @puntoycoma/bulki MCP server does

@puntoycoma/bulki adds local image-processing tools to MCP-compatible AI editors. The compress tool optimizes images with controls for output format, quality, maximum width, and an optional output-size budget. The detect tool checks whether a file is an image and reports its format.

The package also provides a command-line interface for the same broader workflow. Its commands can process individual files, folders, or globs; write optimized copies to a separate directory; monitor a folder for new or changed images; process image bytes through standard input and output; and install a Git pre-commit hook. These CLI features are useful when the task belongs in scripts, CI, file watchers, or repository automation rather than an AI editor.

How it works

Run the built-in MCP entry point with bulki mcp. The server performs processing on the local machine using Sharp and libvips, so image data does not need to be sent to an external API. API keys and network access are not required for the MCP workflow.

Compression preserves the originals by writing optimized copies to an output directory and retaining the source folder structure. The optimizer can avoid replacing an image when re-encoding would produce larger bytes. It also applies EXIF orientation, adds a white background when transparent PNG content is converted to JPEG, and avoids silent filename collisions when multiple source formats are converted to the same target format.

Setup and configuration

Install the package globally with npm:

Terminal
npm install -g @puntoycoma/bulki

Start the MCP server with:

bash
bulki mcp

An editor can launch it through an MCP configuration using npx:

config.json
{
  "mcpServers": {
    "bulki": {
      "command": "npx",
      "args": ["@puntoycoma/bulki", "mcp"]
    }
  }
}

The package is documented for Claude Code, Cursor, Windsurf, Cline, and other MCP-compatible editors. No environment variables or API credentials are needed.

Tools and capabilities

  • compress: optimize images with format, quality, resize, and maximum-size options.
  • detect: determine whether a file is an image and return its format.
  • Process JPEG, PNG, WebP, GIF, and AVIF files.
  • Convert HEIC and HEIF photos on macOS.
  • Produce machine-readable JSON results through the CLI for scripts and CI/CD.
  • Preview planned output with a dry run, control parallelism, exclude folder names, or report each processed file.
  • Watch a directory and reprocess images after new files arrive or existing files change.
  • Read image data from stdin and write optimized output to stdout.
  • Install or remove a Git pre-commit hook that optimizes staged images.

Limitations and notes

The MCP interface centers on two operations: image optimization and image-format detection. The broader watch, pipe, Git-hook, interactive, and JSON-output workflows are CLI capabilities.

Compression quality uses a scale from 1 to 100, and resizing accepts a maximum width; images are not enlarged. A size budget can make a compression operation fail when output exceeds the specified limit. Broken images are reported after batch processing and produce exit code 1, while other files in the batch can continue processing.

The CLI skips nested bulki-output directories to prevent repeated runs from nesting results. Paths containing spaces must be quoted or escaped in shell commands. HEIC/HEIF handling is available on macOS.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Bulki

@puntoycoma/bulki is an MCP server that compresses, resizes, and converts local JPEG, PNG, WebP, GIF, and AVIF images through the compress tool and identifies image files and formats with detect. It runs via the built-in CLI command and exposes local processing to AI editors over MCP.

Install it with npm using `npm install -g @puntoycoma/bulki`, then run `bulki mcp`. Editors can also launch it with `npx @puntoycoma/bulki mcp` in their MCP configuration.

Yes, @puntoycoma/bulki works with Cursor through its built-in MCP server. Add a server entry that runs `npx` with `@puntoycoma/bulki` and `mcp` as the arguments.

Yes, it runs locally without API keys or internet access. Image processing uses the local package and its Sharp/libvips-based implementation.

It supports JPEG, PNG, WebP, GIF, and AVIF for image processing and format conversion. HEIC and HEIF photos can be converted on macOS.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewBulki AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/puntoycoma-bulki?style=directory)](https://allmcps.com/mcp/puntoycoma-bulki)
HTML Embed
<a href="https://allmcps.com/mcp/puntoycoma-bulki"><img src="https://allmcps.com/api/badge/puntoycoma-bulki?style=directory" alt="Bulki on AllMCPs" /></a>