
LogoLab
io.github.Blaxzterv0.3.0更新於 Oct 5, 2026
Trace an image to a clean SVG and export a full app-icon set, locally, from your coding agent.
概覽
讓編碼代理在本機把點陣圖描摹成乾淨的 SVG,並匯出完整的應用程式圖示集。
- 功能
- LogoLab 把向量化工具與圖示匯出工具包裝成本機 stdio MCP 伺服器。主要工具 make_app_icons 會把影像描摹成 SVG 並產生整套圖示;trace_icon 只做向量化,export_icons 把既有的 SVG 或 PNG 轉成 PWA、favicon、Tauri、Electron、Android、iOS 或擴充功能圖示,split_icon_sheet 把一張畫布上的圖示網格拆成多個 SVG,inspect_icon 可在執行前預覽描摹工具的判斷。預設集包含 pwa、favicon、web、tauri、electron、android、ios 與 extension。
- 適用情境
- 當生成或點陣形式的標誌需要變成清晰可縮放的 SVG,並一併產生應用程式或 favicon 素材時適用,不必離開代理工作階段。適合需要從一張來源圖產生多平台圖示集的專案,也可把單張圖示表拆分為獨立檔案。
- 執行需求
- 以本機程序由代理啟動,透過 npx 從 npm 套件 logolab 安裝,需要 Node.js 22.18 或更新版本。未宣告帳號、API 金鑰、環境變數或標頭。WebP 輸入還需要選用的 sharp 解碼器,預設不會安裝。相對路徑依代理的工作目錄解析。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 LogoLab,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
logolab
Turn an image into a clean SVG and a complete app-icon set — from your coding agent, on your machine.
An MCP server wrapping the vectorizer and icon exporter from LogoLab. A model generates a 1024px PNG with soft edges and a JPEG-ish halo; something has to turn that into a favicon that is still legible at 16px. Doing it by hand means a raster upscale and a blurry icon. This runs a real trace — region segmentation and curve fitting, not an image embed — so the result scales.
Nothing is uploaded. It is a stdio server: your agent starts it as a child process, it reads and writes files on your disk, and it never opens a socket.
Install
Or let it write the config itself, in whichever project should get the icons:
Any other client wants the usual three facts:
Then ask your agent: "trace icon.png and export a PWA icon set into public/".
Tools
Presets: pwa, favicon, web, tauri, electron, android, ios, extension.
Try it without a client
Notes
- Node ≥ 22.18 is required.
- WebP inputs need the optional
sharpdecoder, which is an optional peer and is not installed by default — it pulls a platform-specific libvips binary that dwarfs the rest of the server. Runnpm install sharpif you need it, or convert to PNG. Every other format (PNG, JPEG, GIF, BMP, SVG) works out of the box. - Relative paths in a tool call resolve against your agent's working directory,
not this package — so
./public/means the project you are working on.
MIT © Frederic Abraham
來源:packages/mcp/README.md,提交 ac9c405
工具
0版本歷史
1- v0.3.0最新Oct 5, 2026


