Muse Image logo

Muse Image

Generate, edit, and refine Meta Muse images through MCP while returning local file paths instead of image data.

Install Muse Image

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "muse-image": {
      "command": "npx",
      "args": [
        "-y",
        "muse-image-mcp"
      ],
      "env": {
        "MUSE_API_KEY": "YOUR_VALUE_HERE"
      }
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Values are written into the snippet above so you can paste it as is. They never leave your browser.

Claude Code command
claude mcp add --env MUSE_API_KEY=YOUR_VALUE_HERE --transport stdio muse-image -- npx -y muse-image-mcp

Run in your terminal. Add --scope project to share it with your team through .mcp.json.

Automated check passed— started and listed 3 tools correctly ().

Overview

The Muse Image MCP server connects MCP-capable agents to Meta's Muse image model for image generation, editing, and conversational refinement. It exposes three tools: `generate_image` for text-to-image requests, `edit_image` for local or URL-based references, and `iterate_image` for follow-up changes. Generated files are written to disk and returned as absolute paths, keeping image bytes out of the conversation. Use it when an agent needs to create image assets without filling its context with base64 data.

Use cases

  • Generate concept images from prompts
  • Edit images using local or remote references
  • Refine an image through multiple conversational turns
  • Save generated assets directly to a project directory

Key features

  • Text-to-image generation
  • Reference-based image editing
  • Conversational image iteration
  • Absolute file path outputs
  • Configurable models and extra parameters
  • Estimated cost in responses

Tools3

What Muse Image lets your agent do. Expand a tool for its parameters.

Verified live~828 tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

14/14 checks healthy over the last 68d

What it can do

From the 3 tools this server returned when we ran it.

Makes network requests · 1Read-only tools · 3
Network at startup3 connections
Files written at startupNone
Install scriptsNone
npm provenanceSigned build
Package age55 days
Maintainers1

Observed 2026-11-06 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 3d ago via OSV.dev · muse-image-mcp (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

npm downloads173Package downloads in the last 30 days.
Last commit1mo agoMost recent push to the default branch.
Availability100%Our rolling endpoint + install checks that succeeded.
Install checkPassedOur sandbox started it and listed its tools.
Tools exposed3Callable tools this server registers over MCP.

How Muse Image works

What the Muse Image MCP server does

The Muse Image MCP server gives MCP-compatible agents access to Meta's Muse image model through the Meta Model API. It supports three stages of an image workflow:

  • generate_image creates between one and ten images from a text prompt.
  • edit_image applies changes using reference images supplied as local files or URLs.
  • iterate_image supports conversational refinement, allowing a follow-up instruction such as changing the color or mood of an earlier result.

Each tool saves output to the local filesystem and returns an absolute file path rather than image bytes. An agent can use a file-reading tool when it needs to inspect the result. Responses also include the estimated cost of the request.

How it works

The server sends requests to Meta's API at https://api.meta.ai/v1 by default and uses muse-image-1.0 unless another model is selected. The model can be changed globally with MUSE_MODEL or for an individual call with the model parameter.

Iterative conversations use a response identifier. After iterate_image returns a response_id, the agent passes that value as previous_response_id for the next turn. The server does not retain conversation state; Meta holds the state associated with the response ID, so restarting the MCP process does not require local session storage.

Additional request parameters can be supplied through MUSE_EXTRA_PARAMS or a tool call's extra_params object. Per-call values take priority over global values. Request-structure fields such as model, prompt, input, images, response_format, store, and previous_response_id are protected from replacement through this mechanism.

Setup and configuration

The Muse Image MCP server requires Node.js 20.12.0 or later and a Meta Model API key. Create the key in the Meta Model API dashboard at dev.meta.ai, then provide it as MUSE_API_KEY.

The package can run through npx without cloning the repository:

config.json
{
  "mcpServers": {
    "muse-image": {
      "command": "npx",
      "args": ["-y", "muse-image-mcp"],
      "env": { "MUSE_API_KEY": "your-key" }
    }
  }
}

A local clone can instead be installed, built, and launched with Node using dist/index.js. The API key may also be stored in a .env file. Configuration in the MCP client's env block takes precedence over .env; supported locations are the package root and ~/.muse-image-mcp/.env. Start a new agent session after installation so the client loads the server.

MUSE_OUTPUT_DIR controls where files are written and defaults to generated-images below the server's working directory. MUSE_BASE_URL changes the API endpoint, and MUSE_TIMEOUT_MS sets the per-request timeout.

Tools and capabilities

generate_image accepts a prompt, optional image count, aspect-ratio-style size, output format, reasoning strength, filename prefix, model, and extra parameters. PNG, WebP, and JPEG output are supported by the documented tool options.

edit_image works from reference images provided as local paths or URLs. iterate_image is intended for multi-turn adjustments that continue from a previous response. All three tools return file locations instead of embedding generated images in the MCP response.

Limitations and notes

A valid Meta API key is required; without MUSE_API_KEY, the process exits and reports the problem on stderr. The default output directory depends on the working directory chosen by the MCP client, so set an absolute MUSE_OUTPUT_DIR when files must go to a fixed location.

The size value describes an aspect ratio such as 1792x1024, not a guaranteed pixel resolution. The normal n validation allows one to ten images, but values supplied through extra_params can bypass current schema limits and may affect image count and cost. The server itself stores no iterative conversation state, and the response ID must be supplied for continued refinement.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Muse Image

Muse Image is an MCP server that connects MCP-capable agents to Meta's Muse image model through the Meta Model API. Its main tools are generate_image for text-to-image creation, edit_image for reference-based edits, and iterate_image for conversational refinement. Results are saved locally and returned as absolute file paths, not base64 image data.

Install it with `npx` by configuring the `muse-image-mcp` command and supplying `MUSE_API_KEY` in the MCP client's environment block. You can also clone the repository, run `npm install` and `npm run build`, then launch its built `dist/index.js` file.

Muse Image MCP uses a Meta Model API key provided as `MUSE_API_KEY`. Create the key through the Meta Model API dashboard at `dev.meta.ai`; the server sends requests to Meta's API rather than requiring a key from the project itself.

Yes, Muse Image works with Cursor through a standard MCP configuration. Add an `mcpServers` entry that launches `npx -y muse-image-mcp` and put the Meta key in its `env` block, then start a new session so Cursor loads the server.

Muse Image MCP saves images under `generated-images` in the server's working directory by default. Set `MUSE_OUTPUT_DIR` to choose another location, preferably an absolute path when the MCP client's working directory is variable.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewMuse Image AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/muse-image?style=directory)](https://allmcps.com/mcp/muse-image)
HTML Embed
<a href="https://allmcps.com/mcp/muse-image"><img src="https://allmcps.com/api/badge/muse-image?style=directory" alt="Muse Image on AllMCPs" /></a>