Figma Context MCP
Give your coding agent access to your Figma data. Implement designs in any framework in one-shot.
作者による説明(英語の原文)
Generate, edit and iteratively refine images with Meta Muse, returning file paths not base64.
この3つを1つのスコアにまとめることはしません。意見、測定、人気はそれぞれ別のものだからです。
このサーバーのやさしい解説はまだ書いていません。以下はレジストリから読み取った事実です。
使っているAIアプリを選んで、設定をコピーしてください。
MUSE_API_KEY, MUSE_MODEL, MUSE_OUTPUT_DIR「秘密」と表示された値は、あなたのアカウントの鍵です。絶対に人に教えたり、チャットに貼り付けたりしないでください。
必要なもの
どのアプリを使っていますか?
上でアプリを選んでください。選んだアプリを覚えておくので、次からはボタンに「…にインストール」と表示されます。
Claude Desktop → Settings → Developer → Edit Config を開き、claude_desktop_config.json にこれを貼り付けます
{
"mcpServers": {
"muse-image": {
"command": "npx",
"args": [
"-y",
"muse-image-mcp"
],
"env": {
"MUSE_API_KEY": "your-value",
"MUSE_MODEL": "your-value",
"MUSE_OUTPUT_DIR": "your-value"
}
}
}
}ターミナルでこれを実行します
claude mcp add muse-image --env MUSE_API_KEY=your-value --env MUSE_MODEL=your-value --env MUSE_OUTPUT_DIR=your-value -- npx -y muse-image-mcp動かす前に、空欄の値を入力してください。
プロジェクトの .cursor/mcp.json、または ~/.cursor/mcp.json に貼り付けます
{
"mcpServers": {
"muse-image": {
"command": "npx",
"args": [
"-y",
"muse-image-mcp"
],
"env": {
"MUSE_API_KEY": "your-value",
"MUSE_MODEL": "your-value",
"MUSE_OUTPUT_DIR": "your-value"
}
}
}
}ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。
プロジェクトの .vscode/mcp.json に貼り付けます
{
"servers": {
"muse-image": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"muse-image-mcp"
],
"env": {
"MUSE_API_KEY": "your-value",
"MUSE_MODEL": "your-value",
"MUSE_OUTPUT_DIR": "your-value"
}
}
}
}ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。
これはパソコンで動くサーバーですが、ChatGPTがつなげるのはインターネット上のサーバーだけです。ほかのアプリを選んでください。
選んだアプリは、この端末のCookieに保存されます。アカウントは不要です。
MUSE_MODEL envMUSE_OUTPUT_DIR envこの設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。
パソコンで動くサーバーです。インストールすると、ツール一覧がAIアプリに表示されます。
誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月6日にチェック
レジストリ名は、リポジトリを所有するGitHubアカウント kevintsai1202 で確認済みです
このリポジトリはまだGitHubから読み取っていません
このリポジトリはまだGitHubから読み取っていません
これはパソコンで動くため、インターネット上のエンドポイントはありません
パソコンで動き、代わりにローカルの設定を使います
パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです
レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。
当てはまる基本チェック1項目のうち1項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。
入力が必要なもの:MUSE_API_KEY
あなたのパソコンで動きます。必要なときにAIアプリが起動し、データは作者のサーバーを通りません(サーバー自体がオンラインサービスを呼び出す場合を除きます)。
GitHubリポジトリの最終更新は–、最新バージョン(0.1.3)がレジストリに届いたのは2 か月前です。
Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。パソコンにNode.jsも必要です。
同じカテゴリには:Figma Context MCP, Claude Real Video, Figma MCP Server
同じカテゴリで、ほかの作者が作ったサーバー。スターの多い順。
カードの見方:★ GitHubスターi3つの柱:レビュー · チェック · 利用状況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、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。
English · 繁體中文 · 简体中文
An MCP server that gives any MCP-capable agent — Claude Code, Claude Desktop, Cursor — image generation powered by the Meta Muse image model.
Three tools, covering the full loop of working with images in a conversation:
| Tool | What it's for |
|---|---|
generate_image | Text to image. 1–10 images per call. |
edit_image | Edit from reference images — local files or URLs. |
iterate_image | Conversational refinement. Keep saying "make it warmer" and it remembers. |
Your context window survives. Every tool writes images to disk and returns an absolute file path — never the image bytes. Generating a dozen images costs you a dozen lines of context instead of a dozen megabytes of base64. When you actually want to look at an image, open the path with a file-reading tool.
Multi-turn refinement without state. iterate_image returns a response_id; feed it back as previous_response_id and the next turn continues the same conversation. The server itself stores nothing — conversation state lives on Meta's side, so the server stays restartable and stateless.
New models don't require a new release. Switch models with MUSE_MODEL or a per-call model parameter, and pass parameters this server has never heard of through extra_params. Fields that determine request structure are protected from being overwritten; everything else is a deliberate escape hatch.
You always know what it cost. Every response ends with the estimated cost of that call.
Muse Image runs on the Meta Model API, so you register with Meta — not with this project:
That value is what you pass as MUSE_API_KEY below. Meta's own documentation calls this variable MODEL_API_KEY; this server reads it as MUSE_API_KEY, talks to https://api.meta.ai/v1, and defaults to the model muse-image-1.0.
Reference: Model API docs · Image generation · Muse Image announcement
Keep the key out of source control — use the MCP config's env block or a .env file, both described below.
claude mcp add muse-image --scope user --env MUSE_API_KEY=your-key -- npx -y muse-image-mcp
npx fetches and runs the latest version on demand — nothing to install first.
--scope user applies it to every project; use --scope local for the current project only.-y skips npx's install prompt. Without it the server hangs on an interactive question and the handshake fails.-- is the launch command; --env before it belongs to claude mcp add.For other MCP clients (Claude Desktop, Cursor), write the config by hand:
{
"mcpServers": { "muse-image": { "command": "npx", "args": ["-y", "muse-image-mcp"], "env": { "MUSE_API_KEY": "your-key" } } } }
On Windows, if npx can't be found, use "command": "cmd" with "args": ["/c", "npx", "-y", "muse-image-mcp"].
git clone https://github.com/kevintsai1202/muse-image-mcp.git
cd muse-image-mcp npm install npm run build claude mcp add muse-image --scope user --env MUSE_API_KEY=your-key -- node /dist/index.js
Start a new session — MCP servers are loaded at session start, so an existing session won't pick it up. Then confirm with claude mcp list, which should show muse-image: ... - Connected, and check that the three mcp__muse-image__* tools are available.
Precedence is the `env` block in your MCP config > a `.env` file.
env block (the only route when installed via npx)See --env MUSE_API_KEY=your-key above.
.env fileThe server searches these locations in order and uses the first one that exists:
/.env — convenient for a local clone~/.muse-image-mcp/.env — the only location you control when installed via npxMUSE_API_KEY=your-key
Note that .env is not read from the directory you launched Claude Code in — an MCP server's working directory is decided by the client, which makes it a poor place for configuration. When installed via npx the package itself lives in a hashed npm cache directory that gets cleaned up, so a .env there would be pointless.
All of these work in either .env or your MCP config's env block.
| Variable | Required | Default | Description |
|---|---|---|---|
MUSE_API_KEY | Yes | — | API key. Without it the server exits immediately and explains itself on stderr |
MUSE_MODEL | No | muse-image-1.0 | Global default model ID |
MUSE_EXTRA_PARAMS | No | {} | JSON object string — global default extra parameters |
MUSE_OUTPUT_DIR | No | /generated-images | Output directory, created if missing |
MUSE_BASE_URL | No | https://api.meta.ai/v1 | API base URL |
MUSE_TIMEOUT_MS | No | 120000 | Per-request timeout in milliseconds |
The
cwdinMUSE_OUTPUT_DIR's default is the working directory the MCP client launched the server from. In Claude Code that's the project root of your session, so images land in that project'sgenerated-images/. If your client behaves differently, or you want a fixed location, setMUSE_OUTPUT_DIRto an absolute path.
Since v0.1.0 the default output directory changed from
muse-output/togenerated-images/. The old directory is not deleted or migrated automatically.
When a new model ships you don't have to wait for this project to update — switch models with an environment variable, send new parameters through extra_params.
Globally, in .env or your MCP config:
MUSE_MODEL=muse-image-2.0
Per call, just ask for it in conversation and the agent will pass model:
{ "prompt": "a red fox", "model": "muse-image-2.0" }
Global defaults as a JSON object string:
MUSE_EXTRA_PARAMS={"quality":"ultra"}
Per-call overrides via extra_params, merged with the global setting — the per-call value wins:
{ "prompt": "a red fox", "extra_params": { "style_preset": "anime" } }
model, prompt, response_format, images, input, store, and previous_response_id determine the structure of the request and cannot be overwritten by extra_params. Setting them there has no effect, and the response will end with a warning listing the ignored keys.
To change models, use the model parameter or MUSE_MODEL — not extra_params.
Outside those core fields, extra_params does override same-named regular parameters, including n, size, output_format, and reasoning_strength. The tool schema's validation for these (for example n being limited to 1–10) does not apply on this path — that's a deliberate escape hatch so a future model that changes parameter semantics isn't blocked by today's limits. When overriding n this way, watch your image count and cost.
Every tool saves images locally and returns absolute paths, never the image content itself — this keeps base64 out of your conversation context. Open the path with a file-reading tool when you want to see the image.
generate_image — text to image| Parameter | Required | Default | Description |
|---|---|---|---|
prompt | Yes | — | Image description |
n | No | 1 | Number of images, 1–10 |
size | No | — | Aspect ratio string such as 1792x1024 — not an exact pixel resolution |
output_format | No | png | png / webp / jpeg |
reasoning_strength | No | high | high / low — priced the same |
filename_prefix | No | muse | Output filename prefix |
model | No | — | Model ID; omit to use the server default (see MUSE_MODEL) |
extra_params | No | — | Object of extra parameters, merged with MUSE_EXTRA_PARAMS with per-call priority; core fields are protected (see above) |
edit_image — edit from reference images| Parameter | Required | Default | Description |
|---|---|---|---|
prompt | Yes | — | Image description |
images | Yes | — | Array of local file paths (png/jpg/jpeg/webp/gif) or http(s) URLs. Local files are base64-encoded automatically |
n | No | 1 | Number of images, 1–10 |
size | No | — | Aspect ratio string such as 1792x1024 — not an exact pixel resolution |
output_format | No | png | png / webp / jpeg |
reasoning_strength | No | high | high / low — priced the same |
filename_prefix | No | muse-edit | Output filename prefix |
model | No | — | Model ID; omit to use the server default |
extra_params | No | — | Same merge and protection rules as above |
iterate_image — conversational refinement| Parameter | Required | Description |
|---|---|---|
prompt | Yes | This turn's instruction |
previous_response_id | No | The id returned by the previous turn; omit to start a new conversation |
images | No | Reference images for the first turn |
reasoning_strength | No | Defaults to high |
size | No | Aspect ratio string such as 1024x1536 |
output_format | No | png / webp / jpeg. Unlike the other two tools, omitting it yields webp — that's Meta's default for this endpoint |
filename_prefix | No | Defaults to muse-iter |
model | No | Model ID; omit to use the server default |
extra_params | No | Same merge and protection rules as above |
This tool has no n parameter — the /v1/responses endpoint returns one image per turn. It does support size and output_format, but they travel inside the request's tools entry rather than at the top level; see the findings below.
The response always includes a `response_id`. Pass it as previous_response_id on the next call to continue the same conversation. This server stores no conversation state; Meta does.
/v1/responsestoolsreasoning_strength, size and output_format are not top-level parameters on this endpoint — they belong to the image_generation tool entry. Sending reasoning_strength at the top level is not merely ignored; the API rejects the whole request:
HTTP 400 — unknown parameter `reasoning_strength`
The correct shape:
{
"model": "muse-image-1.0", "input": "now make the background deep navy", "store": true, "previous_response_id": "resp_abc123", "tools": [ { "type": "image_generation", "reasoning_strength": "low", "size": "1024x1536", "output_format": "png" } ] }
Versions up to 0.1.0 sent reasoning_strength at the top level, which made iterate_image fail on every call. generate_image and edit_image were never affected — they use /images/generations and /images/edits, where these are legitimate top-level parameters.
This also corrects an earlier claim in this README: size and output_format *are* supported here. Specifying output_format: "png" returns a genuine PNG (verified by the base
冒頭だけを表示しています。続きはリポジトリで読めます