Figma Context MCP
Give your coding agent access to your Figma data. Implement designs in any framework in one-shot.
作者提供的说明(英文原文)
Plan and run local batch image preparation with explicit confirmation before writing files.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
链接指向作者自己的文件;我们不托管也不重新打包它。打开文件后,Claude Desktop 会进行安装。
在终端中运行这条命令
claude mcp add image-puma -- npx -y image-puma粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"image-puma": {
"command": "npx",
"args": [
"-y",
"image-puma"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"image-puma": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"image-puma"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日
注册名称已通过 GitHub 账户 panth-net 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(1.0.0)于3个月前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js, MCPB。
同一分类中有:Figma Context MCP, Claude Real Video, Figma MCP Server
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
Give your coding agent access to your Figma data. Implement designs in any framework in one-shot.
Let any LLM watch a video locally — and search everything it has ever watched.
The Figma MCP server brings Figma design context directly into your AI workflow.
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
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.
Download the current Image Puma desktop installer from GitHub Releases:
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:
One-click Claude Desktop install uses the .mcpb bundles from GitHub Releases.
Use the following links:
The MCPB installer asks you to choose allowed image folders. Image Puma can only read from and write into those folders.
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 -- "$(command -v 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".
Copy that "$(command -v npx)" part exactly — it expands to the full path of npx when you run it. Registering a bare npx looks fine and then fails to connect, because MCP servers are launched with a minimal PATH that doesn't include Node version managers like nvm, fnm, or Volta. See Node not found below.
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 -- "$(command -v node)" /absolute/path/to/Image-Puma/dist/cli.js mcp serve --transport stdio --allow-dir ~/Pictures
Developer install with npx, using an absolute allowed folder path:
{
"mcpServers": { "image-puma": { "command": "/usr/local/bin/npx", "args": [ "-y", "image-puma", "mcp", "serve", "--transport", "stdio", "--allow-dir", "/Users/you/Pictures" ] } } }
Use absolute paths everywhere in mcpServers JSON — for the allowed folders and for command. Run command -v npx in your terminal and paste whatever it prints in place of /usr/local/bin/npx. On native Windows, use "command": "cmd" with "/c" and "npx" as the first two args instead.
Once installed (any of the ways above), just ask Claude in plain language:
You: Compress the images in
~/Pictures/sitefor web upload
Claude: 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:
/Users/you/Pictures/site/Users/you/Desktop/photos/Users/you/Downloads/Users/you/Pictures/products/Users/you/Projects/my-app/logo.png into /Users/you/Projects/my-app/public/image-puma commandImage 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.
claude mcp list shows Image Puma as failed, with ENOENT: Executable not found in $PATH: "npx" (or "node"):
image-puma: npx -y image-puma mcp serve ... - ✘ Failed to connect
Your MCP client launches servers with a minimal PATH that never sources ~/.zshrc or ~/.bashrc, so a Node installed through nvm, fnm, Volta, or asdf is invisible to it even though your terminal finds it fine. Fix it by re-registering with an absolute path:
claude mcp remove image-puma -s user
claude mcp add --scope user image-puma -- "$(command -v npx)" -y image-puma mcp serve --transport stdio --allow-dir ~/Pictures
Then start a new session and check claude mcp list again.
One catch if you use nvm: command -v npx resolves to a version-pinned path like ~/.nvm/versions/node/v24.13.1/bin/npx, which stops existing the next time you upgrade Node. Either re-run the two commands above after an upgrade, or point Image Puma at a Node that isn't managed by nvm (/opt/homebrew/bin/node or /usr/local/bin/node) so the path stays valid. Image Puma needs Node 20.3.0 or newer.
Claude Desktop users can skip all of this — the .mcpb bundle above ships with its own Node runtime.
npx image-puma to a local checkoutOn Windows, running npx image-puma ... from inside a directory named image-puma (case-insensitively), such as a clone of this repository, can make npm resolve the package name to that local directory instead of the published package. If the checkout has not been built, the command fails with 'image-puma' is not recognized as an internal or external command.
Run the npx image-puma ... command from a different working directory. When developing from a clone, build it with npm run build:mcp and point the MCP server directly at the local dist/cli.js instead of invoking it through npx.
Run the built-in check, which reports Node version, Sharp, ExifTool, and whether your allowed folders are actually writable:
npx -y image-puma mcp doctor --allow-dir ~/Pictures
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.
Format and OS behavior is documented in docs/support-matrix.md. HEIC/HEIF uses Sharp first. macOS can fall back to ImageIO through sips. Windows and Linux fall back to the bundled libheif decoder when Sharp cannot decode HEVC.