Maskbolt

•

Segment, outline, and extract objects from images entirely on CPU using Meta's Segment Anything model without requiring Python or GPU acceleration.

Maskbolt brings the power of Meta's Segment Anything Model (SAM) and MobileSAM directly to AI agents and automated workflows via a high-performance Rust binary, operating as both an MCP server and a CLI. Designed to run completely on standard CPUs without Python runtimes or GPU dependencies, it enables agents like Claude Code to inspect images, identify individual or all objects, refine selections via numbered visual previews, and export cutouts, masks, and precise vector outlines (SVG and JSON). Maskbolt operates completely offline after an initial model download, providing a secure, sandboxed environment for automated image parsing and asset preparation.

主要功能

01Provides interactive point, box, and multi-tile object detection algorithms for identifying small, dense, or nested items
02Integrated MCP server offering tools for opening images, viewing numbered mask previews, and refining selections
03Runs Segment Anything (SAM ViT-B and MobileSAM) purely on CPU with no Python or GPU dependencies
040 GitHub stars
05Includes strict security sandboxing to prevent directory traversal and protect local file systems
06Exports transparent cutout PNGs, labeled mask masks, and simplified vector SVGs with hole detection and metric units

使用案例

01Extracting game sprites and web design assets into clean transparent PNGs from reference images
02Enabling AI agents to visually inspect, segment, count, and manipulate visual components within photographs
03Generating accurate vector outlines in millimeters (SVG) for physical manufacturing like laser cutting and nesting tools