image-puma
Enables local batch image preparation for the web via MCP, including compression, resizing, metadata stripping, thumbnails, and favicon generation.
README
Image Puma
Local batch image preparation for the web via a desktop app or directly within your AI via MCP server. Image processing runs locally; Image Puma does not upload your images, require an account, or do any other nonsense. All local image processing.

Use the App
Download the current Image Puma desktop installer from GitHub Releases:
- macOS (Apple Silicon): Image-Puma.dmg
- Windows: desktop installer coming soon — Windows is fully supported in Claude via the MCP server below, or build from source on a Windows machine with
npm install && npm run make(needs Python 3.11 and access to the gated RMBG-2.0 model for the background remover).
The desktop app and MCP server are independent components — install either one on its own, or both together, depending on your needs.
Our installers aren't code-signed. This is a free app, and we'd rather not pay Apple's $99/year developer fee just to make it a "real app" in the eyes of the OS. As a result:
-
macOS will block the app on first launch. To open it, right-click the app and select Open, or go to System Settings → Privacy & Security → General and click "Open Anyway."
-
Windows will show a SmartScreen warning. Click "More info," then "Run anyway" to proceed.
Use It in Claude
Claude Desktop (one-click)
One-click Claude Desktop install uses the .mcpb bundles from GitHub Releases.
- Download the file for your computer,
- open it in Claude Desktop,
- choose the image folders Image Puma may access when prompted,
- then restart Claude Desktop if it asks
Use the following links:
- Apple Silicon Mac: image-puma-mcp-darwin-arm64.mcpb
- Windows: image-puma-mcp-win32-x64.mcpb
The MCPB installer asks you to choose allowed image folders. Image Puma can only read from and write into those folders.
Add it to Claude Code
For coding sessions (optimizing project assets, generating favicons, prepping images for deploys), add the MCP server with one command:
claude mcp add --scope user image-puma -- npx -y image-puma mcp serve --transport stdio --allow-dir ~/Pictures ~/Downloads ~/Documents
--scope user makes Image Puma available in every repo and terminal on your machine; leave it off and it only loads in the folder you ran the command from. Swap the folders for whatever Image Puma should be allowed to touch — add a project folder to let it optimize the images in that repo, e.g. "compress every image in assets/ for the web".
Then start a new Claude Code session (new conversation in the VS Code extension, or a fresh claude in the terminal) — MCP servers and their commands are discovered at session start, so already-open sessions won't see it. Check it's connected any time with claude mcp list.
If you cloned this repo instead, point the command at your local build (absolute path):
npm install && npm run build:mcp
claude mcp add --scope user image-puma -- node /absolute/path/to/Image-Puma/dist/cli.js mcp serve --transport stdio --allow-dir ~/Pictures
Any other MCP client
Developer install with npx, using an absolute allowed folder path:
{
"mcpServers": {
"image-puma": {
"command": "npx",
"args": [
"-y",
"image-puma",
"mcp",
"serve",
"--transport",
"stdio",
"--allow-dir",
"/Users/you/Pictures"
]
}
}
}
Fyi use absolute paths in mcpServers JSON.
What it looks like in use
Once installed (any of the ways above), just ask Claude in plain language:
You: Compress the images in
~/Pictures/sitefor web uploadClaude: Here's the plan — 14 images accepted, converting to WebP, resized for web, metadata stripped. It lists the exact output paths so you can see nothing gets overwritten. Run it?
You: yes
Claude: Done — 14 of 14 succeeded, 41.8 MB in, 3.6 MB out.
Image Puma always plans first: you see which files it accepted, what settings apply, and where every output will be written — nothing touches disk until you confirm. And it can only see the folders you allowed during install.
Example prompts:
- Compress these images for web upload:
/Users/you/Pictures/site - Compress these images for email:
/Users/you/Desktop/photos - Strip metadata from these images:
/Users/you/Downloads - Make thumbnails from these images:
/Users/you/Pictures/products - Generate a favicon and app-icon bundle from
/Users/you/Projects/my-app/logo.pnginto/Users/you/Projects/my-app/public
The /image-puma command
Image Puma ships one slash command that tells Claude to handle whatever image job you describe with the Image Puma tools — plan first, confirm, then run:
/image-puma compress everything in ~/Pictures/site for the web
In the Claude Code terminal, type /image-puma and the command menu finds it (its full name is /mcp__image-puma__image-puma). In Claude Desktop, the same prompt lives under the + menu in the chat input, listed under Image Puma.
For a bare /image-puma command that also works in the VS Code extension (whose command menu doesn't list MCP prompts), save this as ~/.claude/commands/image-puma.md:
---
description: Batch image work via Image Puma (compress, resize, strip metadata, thumbnails, favicons)
---
Use the Image Puma MCP tools for this local image task: $ARGUMENTS
If no task was given, ask which images to process and what result is wanted.
Create a plan first with image_puma_plan — plan only, do not run it yet. Pick a preset with image_puma_list_presets, or use custom settings (schema via image_puma_settings_schema). Show the returned plan, warnings, and planned output paths, and call image_puma_run only after the user explicitly confirms.
New sessions then get /image-puma everywhere — terminal and VS Code — as long as the MCP server from "Add it to Claude Code" above is registered.
Quick favicon generation is available through image_puma_generate_favicon.
Contribute
Image Puma is released as-is by Pantheon Network. We are not actively fixing bugs or reviewing pull requests. If you'd like to take over maintenance, contact us. Development setup, checks, and the build process are in CONTRIBUTING.md.
Support Matrix
Format and OS behavior is documented in docs/support-matrix.md. HEIC/HEIF gets a macOS-only ImageIO fallback through sips; Windows and Linux rely on Sharp/libvips support.
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。