Firefly MCP CLI README

The full upstream README, mirrored for reference. Install config, tool schemas, adoption signals and our own overview live on the Firefly MCP CLI listing page.

Adobe Firefly

Adobe Firefly MCP Server & CLI

npm CI License YouTube X LinkedIn

Adobe Firefly MCP server and CLI for Claude Code, Codex and AI agents. 14 tools for Image 5 generation and editing, video, generative fill, expansion, composites, upscaling, reference uploads, jobs and custom models.

One package gives you two ways in: firefly-mcp connects the tools to your AI app, and firefly-cli makes the same tools shell commands. Claude Desktop also has a bundled .mcpb extension.

Built and maintained by Navid Moazzez. Built on Slipway, which turns one definition of each tool into the MCP server and the CLI. The complete setup guide is on navid.me.

Illustrated Firefly workflow in the same terminal component used on navid.me

The terminal illustrates shipped tool names and the confirmation flow. It is a presentation preview, not a recording of a paid Adobe job.

You need Adobe Firefly Services API entitlement, with OAuth Server-to-Server credentials from an Adobe Developer Console project. A consumer Firefly plan and your Adobe account password do not supply that access. Generation uses your Adobe credits.

Validation: builds, behavioral tests, clean package installation, real MCP discovery and desktop bundle discovery are checked. Live account generation is still unverified, and no generation success rate is claimed; section 7 has the measured token costs.

Two ways to use it

Command line

Terminal
npm install -g @thenavidm/firefly-mcp-cli@latest
firefly-cli
firefly-cli generate-image5 --help
firefly-cli schema generate-image5
firefly-cli verify-credentials --agent
firefly-cli list-custom-models --limit 10 --agent
firefly-cli generate-image5 --prompt "A ceramic cup in warm morning light" --aspectRatio 1:1 --confirm --agent

--confirm is the terminal spelling of confirm: true. It authorizes the paid operation you requested. --agent and --yes do not authorize spending.

MCP server, for your AI app

Terminal
claude mcp add --scope user firefly -- npx -y @thenavidm/firefly-mcp-cli@latest

Configure the credentials in private local settings first, then ask: "Make a square product image. Confirm the credit-spending operation before you run it."

All client configurations and operating-system steps are in INSTALL.md.

Which one

Where you workWhat to use
Claude Code, Codex, Cursor or another agent with a terminalMCP, CLI or both; use the CLI when a shell command fits the workflow
Claude Desktop chatThe local MCP server or desktop extension
Scripts, cron or CICLI commands, or MCP through an MCP client
A web client that accepts only a remote MCP URLThis package needs a local stdio-capable client; it does not host a public HTTP endpoint

Features

CapabilityCLI commandMCP tool
Image 5 generation and reference editingfirefly-cli generate-image5generate_image5
v3 image generationfirefly-cli generate-imagegenerate_image
Variations from a source imagefirefly-cli generate-similargenerate_similar
Fill a masked regionfirefly-cli generative-fillgenerative_fill
Expand an imagefirefly-cli generative-expandgenerative_expand
Scene around a productfirefly-cli generate-object-compositegenerate_object_composite
Background/object compositingfirefly-cli precise-composite / adaptive-compositeprecise_composite / adaptive_composite
Upscale an imagefirefly-cli upscale-imageupscale_image
Five-second videofirefly-cli generate-videogenerate_video
Upload a reference imagefirefly-cli upload-imageupload_image
Resume an existing jobfirefly-cli get-job-statusget_job_status
Check authenticationfirefly-cli verify-credentialsverify_credentials
Available custom modelsfirefly-cli list-custom-modelslist_custom_models
Diagnose setupfirefly-cli doctorCLI utility

Contents

NumberSectionWhat it covers
1What you can ask itPractical prompts
2Quick installMCP, CLI and desktop
3Set up Adobe accessEntitlement, credentials and revocation
4Connect your clientEvery client and OS
5Check it worksDoctor, authentication and first read
6Output, flags and exit codesScripts and agent mode
7MCP or CLI and token costMethod, standing context and task cost
8Every tool and argumentAll 14 tools, grouped
9Image, editing and video workflowsReal argument shapes
10Jobs and local filesPolling, timeouts and downloads
11Several Adobe projectsSeparate configurations
12Writing safelyCredit confirmation, read-only and audit
13How it worksShared schemas and handlers
14Your dataHosts, files and credentials
15Environment variablesCredentials, safety and tuning
16Updates and removalnpm, desktop and disconnecting
17TroubleshootingSymptoms and fixes
18API coverage and comparisonsOfficial and community alternatives
19VersionsRelease history and migration
20FAQCommon questions

1. What you can ask it

  • Make a square product image with warm morning light. Show me the prompt before spending credits.
  • Change this reference image's background to soft blue with Image 5.
  • Fill this masked area without changing the rest of the image.
  • Expand this image to a wider canvas using the supplied mask and size.
  • Put this product into a generated scene, or use a background I supply.
  • Create a five-second video from this prompt and return the job immediately.
  • Check the job I already submitted; do not generate it again.
  • Upload this reference file and use its upload ID for the requested edit.
  • List the custom models available to this Adobe project.

The account needs permission for the relevant API. A successful OAuth check does not prove that it can run every generation model.

2. Quick install

Node 22 or newer is required for the CLI and manual MCP configuration. The desktop bundle carries the server's production dependencies.

Claude Code

Terminal
claude mcp add --scope user firefly -- npx -y @thenavidm/firefly-mcp-cli@latest

Claude Desktop

Download the .mcpb from the latest GitHub release. In Claude Desktop, open Settings → Extensions → Advanced settings → Install Extension…, select the bundle and enter the two credential fields.

Terminal

Terminal
npm install -g @thenavidm/firefly-mcp-cli@latest
firefly-cli --version
firefly-cli

Install the package first, configure Adobe credentials second, and connect your client third. INSTALL.md supplies copyable blocks for Claude Code, Claude Desktop, Codex, Cursor, Windsurf, VS Code, Gemini CLI, Zed, Cline and other stdio clients.

3. Set up Adobe access

Before the credential fields

Adobe documents a provisioned Firefly Services project and organization access. Follow Adobe's getting-started requirements or check entitlement with your organization administrator or Adobe representative.

Set it up yourself

  1. Open Adobe Developer Console and select the organization with Firefly Services access.
  2. Open the provisioned project containing the Firefly API.
  3. Open its OAuth Server-to-Server credential.
  4. Copy the Client ID and Client secret into your private client environment settings or local shell. Do not paste them into an issue, chat, repository or shared config.
  5. Keep the scopes assigned to the project. Use FIREFLY_SCOPES if they differ from the tutorial defaults.
  6. Run firefly-cli doctor --network, then the first read below.
  7. Restart your AI client so its server process sees the updated environment.

For a temporary Unix shell, replace the placeholders locally:

server.ts
export FIREFLY_CLIENT_ID='YOUR_FIREFLY_SERVICES_CLIENT_ID'
export FIREFLY_CLIENT_SECRET='YOUR_FIREFLY_SERVICES_CLIENT_SECRET'
firefly-cli doctor --network

PowerShell:

powershell
$env:FIREFLY_CLIENT_ID = 'YOUR_FIREFLY_SERVICES_CLIENT_ID'
$env:FIREFLY_CLIENT_SECRET = 'YOUR_FIREFLY_SERVICES_CLIENT_SECRET'
firefly-cli doctor --network

The CLI does not read .env files automatically. Set variables in the process that launches it. An MCP desktop client launched from the Dock may not inherit your terminal variables; use its private environment settings or the bundle's credential fields.

Let your AI help with setup

text
Set up the Adobe Firefly MCP server and CLI for me.

1. Verify the package installs and both firefly-cli and firefly-mcp report a version.
2. Guide me to the provisioned Adobe Developer Console project with Firefly API access.
3. Ask me to enter the client ID and secret in private local settings. Never ask me to paste credentials into chat or put them in a repository.
4. Configure my chosen MCP client with npx -y @thenavidm/firefly-mcp-cli@latest.
5. Run doctor, then doctor --network, and explain which check failed.
6. Try list-custom-models as a read-only account check.
7. Do not upload a file or generate media while checking setup.

Existing access token

FIREFLY_ACCESS_TOKEN replaces the client secret, but FIREFLY_CLIENT_ID is still needed. A supplied token is verified with a read from the custom-model API. OAuth Server-to-Server credentials are verified by exchanging them for a token. Neither path proves image/video generation entitlement.

Disconnect or rotate

Rotate or revoke credentials in Adobe Developer Console, then update private client settings and restart its MCP connection. Existing output files remain on your disk.

4. Connect your client

ClientSetup route
Claude Codeclaude mcp add --scope user firefly -- npx -y @thenavidm/firefly-mcp-cli@latest
Claude DesktopGitHub release .mcpb and the Extensions settings
Codexcodex mcp add firefly -- npx -y @thenavidm/firefly-mcp-cli@latest
CursorUser ~/.cursor/mcp.json, mcpServers and type: "stdio"
WindsurfPrivate user ~/.codeium/windsurf/mcp_config.json
VS Code / GitHub Copilotservers configuration with type: "stdio"
Gemini CLIUser ~/.gemini/settings.json and mcpServers
ZedUser context_servers configuration
Cline and other local MCP clientsThe same command, args and private environment

For the full JSON blocks, paths on each OS, logs, restarting, Docker and remote-client limits, use INSTALL.md. No public HTTP endpoint is included.

5. Check it works

bash
firefly-cli --version
firefly-cli doctor
firefly-cli doctor --network
firefly-cli verify-credentials --agent
firefly-cli list-custom-models --limit 1 --agent

doctor checks whether local credential settings are present. doctor --network verifies OAuth or performs a custom-model read for a supplied access token. It does not generate media or spend generation credits.

verify-credentials returns authenticated, validation and entitlementChecked. The last remains false because generation permissions are only tested when that operation runs.

An empty custom-model list can be a valid response. A 403 can be a project permission problem. To verify generation, request one small image deliberately and confirm that credit-spending action; the source has not yet been validated against a live entitled account.

6. Output, flags and exit codes

Tool results go to stdout. Errors are JSON on stderr. Reads and generation return structured JSON, so --select can retain nested fields.

bash
firefly-cli get-job-status --jobId JOB_ID_FROM_ADOBE --agent --select status,result.outputs,outputs
firefly-cli list-custom-models --limit 10 --compact
firefly-cli schema generate-image5
FlagWhat it does
--jsonJSON output
--compactSingle-line JSON
--agentCompact JSON and no prompts; never confirms a write
--select a,b.cKeep selected fields; dotted paths descend and arrays are traversed
--confirmConfirm the requested paid media operation
--no-input, --no-color, --yesAutomation switches; none overrides the spending guard
--wait=falseReturn an accepted job instead of polling
--downloadSave completed media locally; requires waiting for completion

Global output flags apply to tool commands. doctor has its own --network option, and doctor --json returns its checks as JSON.

Exit codeMeaningWhat a script should do
0SuccessRead stdout
1Unexpected errorReport it with the command that failed
2Usage, invalid input, a refused write, an unknown command or a hidden writeFix the input or confirm only the requested action
3Job or local upload file not foundCheck the ID/path
4Authentication or entitlement rejectedCheck private credential settings and permissions
5API, network or polling failureInspect an accepted job before another paid submission
7Rate limitedWait; do not loop over paid submissions
10Credentials not configuredComplete local setup

The underscore spelling also works. generate_image5 and generate-image5 call the same tool. Nested objects use quoted JSON. Arrays of objects use repeated flags, one JSON object at a time.

7. MCP or CLI and token cost

Both surfaces reach the same 14 tools. The comparison concerns model context and workflow, not a cheaper Adobe credit price.

Measured on 2026-10-05 against 2.0.1, with Claude Code 2.1.286 on Claude Opus 5.5 (one short prompt with and without the server connected, the difference read from the API's own usage figures) and Codex 0.159.3 on gpt-6.1-sol:

Cost2.0.13.0.0
Claude Code, every tool loaded, every message18,53016,786
Claude Code's default, tool search, every message377379
SKILL.md, read once2,2772,327
Codex over the CLI, one task, median of five83,18483,169
Codex over MCP, the same task, median of five47,56947,879

The task was "find the command that generates an image with Image Model 5, and the flags it requires". Every tool loaded costs less because the paid tools' repeated parts, such as a source image and its URL, are now written once and referred to. Over the CLI, every run read the general help first and carried it through each later step: 3.0.0's is 59 tokens longer, for which, install, the flags and the exit codes it now lists, and its which answer is shorter than the command list that every 2.0.1 run read next. Over MCP, Codex prints its own TypeScript rendering of the tool list and leaves out the argument comments of a tool whose schema is large: generative_expand's shared schema is now small enough to print with them, about 300 more tokens that each later request carries, while every other paid tool prints shorter. SKILL.md costs 50 more because it now says how approval works over MCP and lists every exit code.

Tool-list bytes or characters divided by four are not API usage, no other offering was measured, and no live Adobe generation ran.

Claude Code can defer full tool definitions with MCP tool search. A client that eagerly loads everything behaves differently. A CLI skill also has a recurring description when installed.

For a complete task, use the same request, permissions, selected result fields and completion behavior. Report input/output tokens, latency, retries and Adobe credits separately. Schema overhead alone is not the full bill.

To reduce standing context, disconnect an unused MCP server, keep tool search enabled in clients that support it, or use FIREFLY_READ_ONLY=1 to expose only the three reading tools. --select reduces result text; it does not change Adobe's generation credit usage.

8. Every tool and argument

There are 14 tools: three reads, one upload and ten paid media operations. Every paid operation requires confirmation. The tables below come from the running server's input schemas, rather than a separately maintained tool list.

Image/source arguments that have a URL alias accept either the nested source object or that alias. The Adobe body still requires the image where its operation specifies one.

Images

MCP toolCLI commandWhat it doesKind
generate_imagefirefly-cli generate-imageGenerate imagesUses credits; confirmation required
generate_image5firefly-cli generate-image5Generate images with Image5Uses credits; confirmation required
generate_similarfirefly-cli generate-similarGenerate similar imagesUses credits; confirmation required
generative_fillfirefly-cli generative-fillFill imageUses credits; confirmation required
generative_expandfirefly-cli generative-expandExpand imageUses credits; confirmation required
upscale_imagefirefly-cli upscale-imageUpscale imageUses credits; confirmation required

generate_image

Generate images. Consumes Firefly Services credits. Returns Adobe output URLs. Set wait=false to return an async job.

ArgumentTypeRequiredWhat it does
contentClassstringNoDirects the style of a generated image to be photographic or like fine art. Values: photo, art
customModelIdstringNoInclude the specific custom model ID when a custom model type is designated in the x-model-version header parameter.
negativePromptstringNoA negative prompt of things Firefly will try to avoid generating in the image. Not supported for Firefly Custom Models on Image Model 3 or Firefly Custom Models on Image Model 4. Maximum length: 1024
numVariationsintegerNoThe number of variations to generate. numVariations defaults to the number of seed images, or to 1 if you do not specify seeds. Minimum: 1. Maximum: 4
promptstringYesA text prompt to support the generation of an image. The longer the prompt the better Firefly performs. Minimum length: 1. Maximum length: 1024
promptBiasingLocaleCodestringNoA hyphen-separated string combining the ISO 639-1 language code and the ISO 3166-1 region (like en-US). When a locale is set, the prompt will be biased to generate more relevant content for that region. If not specified, the locale will be auto-detected based on your profile and the accepted language header.
seedsarray of integerNoAn array of seed image IDs. These reference images help ensure consistent image generation across multiple API calls. For example, use the same seed to generate a similar image in different styles. If specified along with numVariations, the number of seeds provided must equal numVariations. Minimum items: 1. Maximum items: 4
sizeobjectNoThe desired width and height for the final image, in pixels. Supported sizes for the output images with image3 are: Square (1:1) - width 2048px, height 2048px Square (1:1) - width 1024px, height 1024px Landscape (4:3) - width 2304px, height 1792px Portrait (3:4) - width 1792px, height 2304px Widescreen (16:9) - width 2688px, height 1536px Widescreen (16:9) - width 2688px, height 1512px (7:4) - width 1344px, height 768px (7:4) - width 1344px, height 756px (9:7) - width 1152px, height 896px (7:9) - width 896px, height 1152px Supported sizes for the output images with image4 are: (1:1) - width 2048px, height 2048px (4:3) - width 2304px, height 1792px (3:4) - width 1792px, height 2304px (16:9) - width 2688px, height 1536px (9:16) - width 1440px, height 2560px .
structureobjectNoAn object with the reference image details for structure.
styleobjectNoAn object with the reference image details for style.
upsamplerTypestringNoOnly supported with the model version image4_custom. The default setting upscales generated images to 2k. The low_creativity setting refines the image generation by removing distortions, smoothing textures, and sometimes adding details (like freckles to faces in close-up). This setting is recommended for generating images with human subjects. Values: default, low_creativity
visualIntensityintegerNoAdjust the overall intensity of your photo's characteristics, such as contrast, shadow, and hue. This is not supported with the model version image4_custom. Minimum: 2. Maximum: 10
confirmbooleanYesMust be true to spend Firefly Services credits for the operation the user requested.
waitbooleanNoWait for completion, default true. Set false to return the job immediately.
downloadbooleanNoDownload completed media to FIREFLY_OUTPUT_DIR, default false. Requires wait=true.
nintegerNoCompatibility alias for numVariations. Do not supply both. Minimum: 1. Maximum: 4
widthintegerNoCompatibility alias: provide together with height instead of size. Minimum: 1. Maximum: 4096
heightintegerNoCompatibility alias: provide together with width instead of size. Minimum: 1. Maximum: 4096

Exact schema: firefly-cli schema generate-image. Nested objects use one quoted JSON object; arrays of objects use one repeated flag per object.

generate_image5

Generate images with Image5. Image 5 supports natural-language edits through referenceBlobs. Consumes Firefly Services credits. Returns Adobe output URLs. Set wait=false to return an async job.

ArgumentTypeRequiredWhat it does
promptstringYesThe prompt used to generate the image. The longer the prompt, the better. Minimum length: 1. Maximum length: 1500
aspectRatiostringNoThe aspect ratio of the requested generations. This controls the size of the generated image. When referenceBlobs is included in the request, this property should be omitted or set to auto. Values: 1:1, 4:3, 3:4, 16:9, 9:16, auto
resolutionLevelstringNoThe resolution level. Values: 1MP, 2.4MP, 4MP
modelIdstringNoThe specific model to use for image generation. Available options: 'firefly_image' for Firefly Image model. Values: firefly_image
modelSpecificPayloadobjectNoAdditional model-specific parameters for controlling the generation process.
numVariationsintegerNoThe number of image variations to generate. Greater than 1 is not supported. Only one image per variation is allowed. For multiple variations, send separate requests. Maximum: 1
referenceBlobsarray of objectNoList of reference blobs that will be used as additional input for the generation process. Only one reference image is supported. When this array is not empty, aspectRatio must be omitted or set to auto. Pre-signed URLs can be used from supported domains. Maximum items: 1
seedsarray of integerNoThe seed value to vary the image generation. Only one seed per variation is allowed. If specified alongside with numVariations, the number of seeds must be equal to numVariations. Maximum items: 1
confirmbooleanYesMust be true to spend Firefly Services credits for the operation the user requested.
waitbooleanNoWait for completion, default true. Set false to return the job immediately.
downloadbooleanNoDownload completed media to FIREFLY_OUTPUT_DIR, default false. Requires wait=true.
nintegerNoCompatibility alias for numVariations. Do not supply both. Maximum: 1

Exact schema: firefly-cli schema generate-image5. Nested objects use one quoted JSON object; arrays of objects use one repeated flag per object.

generate_similar

Generate similar images. Consumes Firefly Services credits. Returns Adobe output URLs. Set wait=false to return an async job.

ArgumentTypeRequiredWhat it does
imageobjectNoFirefly will create similar variations. Use a URL or an uploadID as the source for the image. Firefly only allows these listed domains: amazonaws.com windows.net dropboxusercontent.com storage.googleapis.com .
numVariationsintegerNoGenerate this number of variations. numVariations defaults to the number of seed images, or to 1 if you do not specify seeds. Minimum: 1. Maximum: 4
seedsarray of integerNoArray of seed image IDs. These reference images help ensure consistent image generation across multiple API calls. If specified along with numVariations, the number of seeds must equal numVariations. Minimum items: 1. Maximum items: 4
sizeobjectNoThe desired width and height for the final image in pixels. The supported sizes for the output images are: Square (1:1) - width 2048px, height 2048px Square (1:1) - width 1024px, height 1024px Landscape (4:3) - width 2304px, height 1792px Portrait (3:4) - width 1792px, height 2304px Widescreen (16:9) - width 2688px, height 1536px (7:4) - width 1344px, height 768px (9:7) - width 1152px, height 896px (7:9) - width 896px, height 1152px .
confirmbooleanYesMust be true to spend Firefly Services credits for the operation the user requested.
waitbooleanNoWait for completion, default true. Set false to return the job immediately.
downloadbooleanNoDownload completed media to FIREFLY_OUTPUT_DIR, default false. Requires wait=true.
nintegerNoCompatibility alias for numVariations. Do not supply both. Minimum: 1. Maximum: 4
widthintegerNoCompatibility alias: provide together with height instead of size. Minimum: 1. Maximum: 4096
heightintegerNoCompatibility alias: provide together with width instead of size. Minimum: 1. Maximum: 4096
imageUrlstringNoCompatibility URL alias for image.source.url. Format: uri

Exact schema: firefly-cli schema generate-similar. Nested objects use one quoted JSON object; arrays of objects use one repeated flag per object.

generative_fill

Fill image. Consumes Firefly Services credits. Returns Adobe output URLs. Set wait=false to return an async job.

ArgumentTypeRequiredWhat it does
imageobjectNoThe image to expand. Use a URL or an uploadID as the source for the image. Firefly only allows these listed domains for input URLs in the request: amazonaws.com windows.net dropboxusercontent.com storage.googleapis.com .
maskobjectNoRequired. Selected areas of a background image that Firefly uses to fill the source image.
negativePromptstringNoAn optional text prompt up to 1024 characters. Avoid these characteristics in the generated image. Not supported for Firefly Custom Models on Image Model 3 or Firefly Custom Models on Image Model 4. Maximum length: 1024
numVariationsintegerNoGenerate this number of variations. numVariations defaults to the number of seed images, or to 1 if you do not specify seeds. Minimum: 1. Maximum: 4
promptstringNoAn optional text prompt up to 1024 characters. The longer the prompt the better Firefly performs. Minimum length: 1. Maximum length: 1024
promptBiasingLocaleCodestringNoA hyphen-separated string combining the ISO 639-1 language code and the ISO 3166-1 region, such as en-US. When a locale is set, the prompt will be biased to generate more relevant content for that region. The locale will be auto-detected if not specified based on your profile and the accepted language header.
seedsarray of integerNoArray of seed image IDs. These reference images help ensure consistent image generation across multiple API calls. For example, you can use the same seed to generate a similar image with different styles. If specified along with numVariations, the number of seeds must equal numVariations. Minimum items: 1. Maximum items: 4
sizeobjectNoThe desired width and height for the final expanded image in pixels. The supported sizes for the output images are: Square (1:1) - width 2048px, height 2048px Square (1:1) - width 1024px, height 1024px Landscape (4:3) - width 2304px, height 1792px Portrait (3:4) - width 1792px, height 2304px Widescreen (16:9) - width 2688px, height 1536px (7:4) - width 1344px, height 768px (9:7) - width 1152px, height 896px (7:9) - width 896px, height 1152px .
confirmbooleanYesMust be true to spend Firefly Services credits for the operation the user requested.
waitbooleanNoWait for completion, default true. Set false to return the job immediately.
downloadbooleanNoDownload completed media to FIREFLY_OUTPUT_DIR, default false. Requires wait=true.
nintegerNoCompatibility alias for numVariations. Do not supply both. Minimum: 1. Maximum: 4
widthintegerNoCompatibility alias: provide together with height instead of size. Minimum: 1. Maximum: 4096
heightintegerNoCompatibility alias: provide together with width instead of size. Minimum: 1. Maximum: 4096
imageUrlstringNoCompatibility URL alias for image.source.url. Format: uri
maskUrlstringNoCompatibility URL alias for mask.source.url. Format: uri

Exact schema: firefly-cli schema generative-fill. Nested objects use one quoted JSON object; arrays of objects use one repeated flag per object.

generative_expand

Expand image. Consumes Firefly Services credits. Returns Adobe output URLs. Set wait=false to return an async job.

ArgumentTypeRequiredWhat it does
imageobjectNoThe image to expand. Use a URL or an uploadID as the source for the image. Firefly only allows these listed domains for input URLs in the request: amazonaws.com windows.net dropboxusercontent.com storage.googleapis.com .
maskobjectNoMask image which will be used to expand the given image.
numVariationsintegerNoGenerate this number of variations. numVariations defaults to the number of seed images, or to 1 if you do not specify seeds. Minimum: 1. Maximum: 4
placementobjectNoThe position of the source image after Firefly resizes it. The value describes the horizontal and vertical placement and dimensions of the image in the output. Note you cannot use placement for source images when you also apply a mask image.
promptstringNoAn optional text prompt up to 1024 characters. The longer the prompt the better Firefly performs. Minimum length: 1. Maximum length: 1024
seedsarray of integerNoArray of seed image IDs. These reference images help ensure consistent image generation across multiple API calls. For example, you can use the same seed to generate a similar image with different styles. If specified along with numVariations, the number of seeds must equal numVariations. Minimum items: 1. Maximum items: 4
sizeobjectNoThe desired width and height for the final expanded image in pixels. The maximum size for the output images is 3999px by 3999px.
confirmbooleanYesMust be true to spend Firefly Services credits for the operation the user requested.
waitbooleanNoWait for completion, default true. Set false to return the job immediately.
downloadbooleanNoDownload completed media to FIREFLY_OUTPUT_DIR, default false. Requires wait=true.
nintegerNoCompatibility alias for numVariations. Do not supply both. Minimum: 1. Maximum: 4
widthintegerNoCompatibility alias: provide together with height instead of size. Minimum: 1. Maximum: 4096
heightintegerNoCompatibility alias: provide together with width instead of size. Minimum: 1. Maximum: 4096
imageUrlstringNoCompatibility URL alias for image.source.url. Format: uri
maskUrlstringNoCompatibility URL alias for mask.source.url. Format: uri

Exact schema: firefly-cli schema generative-expand. Nested objects use one quoted JSON object; arrays of objects use one repeated flag per object.

upscale_image

Upscale image. Consumes Firefly Services credits. Returns Adobe output URLs. Set wait=false to return an async job.

ArgumentTypeRequiredWhat it does
imageobjectNoThe input image for the upsampler (source uploadId or url).
seedsarray of integerYesThe seed for each variation. Provide one seed per output (1–4 seeds). Minimum items: 1. Maximum items: 4
upscaleFactorintegerNoThe upscale factor (2, 3, 4, or 6). Output dimensions are input dimensions multiplied by this factor. Values: 2, 3, 4, 6
confirmbooleanYesMust be true to spend Firefly Services credits for the operation the user requested.
waitbooleanNoWait for completion, default true. Set false to return the job immediately.
downloadbooleanNoDownload completed media to FIREFLY_OUTPUT_DIR, default false. Requires wait=true.
imageUrlstringNoCompatibility URL alias for image.source.url. Format: uri

Exact schema: firefly-cli schema upscale-image. Nested objects use one quoted JSON object; arrays of objects use one repeated flag per object.

Composites

MCP toolCLI commandWhat it doesKind
generate_object_compositefirefly-cli generate-object-compositeGenerate object compositeUses credits; confirmation required
precise_compositefirefly-cli precise-compositeGenerate precise compositeUses credits; confirmation required
adaptive_compositefirefly-cli adaptive-compositeGenerate adaptive compositeUses credits; confirmation required

generate_object_composite

Generate object composite. Consumes Firefly Services credits. Returns Adobe output URLs. Set wait=false to return an async job.

ArgumentTypeRequiredWhat it does
contentClassstringNoThe content class of the image. Values: photo, art
imageobjectNoThe image to expand. Use a URL or an uploadID as the source for the image. Firefly only allows these listed domains for input URLs in the request: amazonaws.com windows.net dropboxusercontent.com storage.googleapis.com .
maskobjectNoSelected areas of a background image that Firefly uses to fill the source image.
numVariationsintegerNoGenerate this number of variations. Defaults to the number of seed images, or to 1 if you do not specify seeds. Minimum: 1. Maximum: 4
placementobjectNoThe position of the source image after Firefly adjusts it. The value describes the horizontal and vertical placement and dimensions of the image in the output. Note you cannot use placement for source images when you also apply a mask image.
promptstringYesA text prompt up to 1024 characters. The longer the prompt the better Firefly performs. Minimum length: 1. Maximum length: 1024
seedsarray of integerNoArray of seed image IDs. These reference images help ensure consistent image generation across multiple API calls. If specified along with numVariations, the number of seeds must equal numVariations. Minimum items: 1. Maximum items: 4
sizeobjectNoThe desired width and height for the final image in pixels. The supported sizes for the output images are: Square (1:1) - width 2048px, height 2048px Square (1:1) - width 1024px, height 1024px Landscape (4:3) - width 2304px, height 1792px Portrait (3:4) - width 1792px, height 2304px Widescreen (16:9) - width 2688px, height 1536px (7:4) - width 1344px, height 768px (9:7) - width 1152px, height 896px (7:9) - width 896px, height 1152px .
styleobjectNoSee the exact structure with schema for this command.
confirmbooleanYesMust be true to spend Firefly Services credits for the operation the user requested.
waitbooleanNoWait for completion, default true. Set false to return the job immediately.
downloadbooleanNoDownload completed media to FIREFLY_OUTPUT_DIR, default false. Requires wait=true.
nintegerNoCompatibility alias for numVariations. Do not supply both. Minimum: 1. Maximum: 4
widthintegerNoCompatibility alias: provide together with height instead of size. Minimum: 1. Maximum: 4096
heightintegerNoCompatibility alias: provide together with width instead of size. Minimum: 1. Maximum: 4096
imageUrlstringNoCompatibility URL alias for image.source.url. Format: uri
maskUrlstringNoCompatibility URL alias for mask.source.url. Format: uri

Exact schema: firefly-cli schema generate-object-composite. Nested objects use one quoted JSON object; arrays of objects use one repeated flag per object.

precise_composite

Generate precise composite. Consumes Firefly Services credits. Returns Adobe output URLs. Set wait=false to return an async job.

ArgumentTypeRequiredWhat it does
backgroundobjectYesBackground image and fill area mask specifying object placement.
objectobjectYesObject image to be placed on the background.
numVariationsintegerNoNumber of output variations to generate. Minimum: 1. Maximum: 3
seedsarray of integerNoRandom seeds for each variation. Count must match numVariations if both are provided. Defaults: 1 variation → [333], 2 → [333, 222], 3 → [333, 222, 111]. Minimum items: 1. Maximum items: 3
blendnumberNoControls blend between harmonized and original object appearance (0.0 = fully harmonized, 1.0 = original preserved). Minimum: 0. Maximum: 1. Format: float
outputobjectNoOutput format specification.
confirmbooleanYesMust be true to spend Firefly Services credits for the operation the user requested.
waitbooleanNoWait for completion, default true. Set false to return the job immediately.
downloadbooleanNoDownload completed media to FIREFLY_OUTPUT_DIR, default false. Requires wait=true.
nintegerNoCompatibility alias for numVariations. Do not supply both. Minimum: 1. Maximum: 3

Exact schema: firefly-cli schema precise-composite. Nested objects use one quoted JSON object; arrays of objects use one repeated flag per object.

adaptive_composite

Generate adaptive composite. Consumes Firefly Services credits. Returns Adobe output URLs. Set wait=false to return an async job.

ArgumentTypeRequiredWhat it does
backgroundobjectYesBackground image and fill area mask.
objectobjectYesObject image and optional mask.
numVariationsintegerNoNumber of output variations to generate. Minimum: 1. Maximum: 3
seedsarray of integerNoArray of seed image IDs. These reference images help ensure consistent image generation across multiple API calls. If specified alongside numVariations, the number of seeds must equal numVariations. Defaults: 1 variation → [333], 2 → [333, 222], 3 → [333, 222, 111]. Minimum items: 1. Maximum items: 3
harmonizationnumberNoControls how much the object's colors and lighting are adjusted to match the background scene. Minimum: 0. Maximum: 1. Format: float
shadowIntensitynumberNoControls shadow intensity in the composited result. Lower values reduce shadow. Minimum: 0. Maximum: 1. Format: float
preserveBackgroundbooleanNoWhen true, preserves original background details within the masked area during compositing.
outputobjectNoOutput format specification.
confirmbooleanYesMust be true to spend Firefly Services credits for the operation the user requested.
waitbooleanNoWait for completion, default true. Set false to return the job immediately.
downloadbooleanNoDownload completed media to FIREFLY_OUTPUT_DIR, default false. Requires wait=true.
nintegerNoCompatibility alias for numVariations. Do not supply both. Minimum: 1. Maximum: 3

Exact schema: firefly-cli schema adaptive-composite. Nested objects use one quoted JSON object; arrays of objects use one repeated flag per object.

Video

MCP toolCLI commandWhat it doesKind
generate_videofirefly-cli generate-videoGenerate videoUses credits; confirmation required

generate_video

Generate video. Consumes Firefly Services credits. Returns Adobe output URLs. Set wait=false to return an async job.

ArgumentTypeRequiredWhat it does
bitRateFactorintegerNoThe constant rate factor for encoding video. 0 indicates a lossless generation, with the highest quality and largest file size. 63 indicates the worst quality generation with the smallest file size. The suggested value range is 17-23. Minimum: 0. Maximum: 63
imageobjectNoThe details of the image used as a keyframe for the generated video. Provided images are used as a first frame or final frame to guide the video generation.
promptstringNoThe prompt used to generate the video. The longer the prompt, the better.
seedsarray of integerNoThe seed reference value. Currently only 1 seed is supported. Minimum items: 1. Maximum items: 1
sizesarray of objectNoThe dimensions of the generated video. Consult the supported aspect ratios in the usage notes for allowed values.
videoSettingsobjectNoThe camera and shot control settings.
confirmbooleanYesMust be true to spend Firefly Services credits for the operation the user requested.
waitbooleanNoWait for completion, default true. Set false to return the job immediately.
downloadbooleanNoDownload completed media to FIREFLY_OUTPUT_DIR, default false. Requires wait=true.

Exact schema: firefly-cli schema generate-video. Nested objects use one quoted JSON object; arrays of objects use one repeated flag per object.

References

MCP toolCLI commandWhat it doesKind
upload_imagefirefly-cli upload-imageUpload a reference imageUploads

upload_image

Upload a local JPEG, PNG, WebP, TIFF or JXL image, up to 15 MB. Returns an uploadId, valid for seven days. File content is sent to Adobe.

ArgumentTypeRequiredWhat it does
filePathstringYesLocal image path on the computer running this server. Minimum length: 1

Exact schema: firefly-cli schema upload-image. Nested objects use one quoted JSON object; arrays of objects use one repeated flag per object.

Jobs

MCP toolCLI commandWhat it doesKind
get_job_statusfirefly-cli get-job-statusRead an async jobReads

get_job_status

Read an existing Adobe async job by jobId. Use after a polling timeout instead of submitting generation again.

ArgumentTypeRequiredWhat it does
jobIdstringYesJob ID or URN returned by Adobe. Minimum length: 1

Exact schema: firefly-cli schema get-job-status. Nested objects use one quoted JSON object; arrays of objects use one repeated flag per object.

Account

MCP toolCLI commandWhat it doesKind
verify_credentialsfirefly-cli verify-credentialsVerify authenticationReads
list_custom_modelsfirefly-cli list-custom-modelsList available custom modelsReads

verify_credentials

Check OAuth by exchanging credentials, or validate an existing access token through a custom-model API read. Does not generate media, prove generation entitlement or reveal tokens.

ArgumentTypeRequiredWhat it does
NoneNoneNoRun without tool arguments

Exact schema: firefly-cli schema verify-credentials. Nested objects use one quoted JSON object; arrays of objects use one repeated flag per object.

list_custom_models

Read custom models available to the Adobe project. FIREFLY_USER_TOKEN is optional for user-specific access. Returns a page; use start and limit to continue.

ArgumentTypeRequiredWhat it does
sortBystringNoValues: assetName, createdDate, modifiedDate, -assetName, -createdDate, -modifiedDate
startintegerNoMinimum: 0
limitintegerNoMinimum: 1. Maximum: 50
publishedStatestringNoValues: all, ready, published, unpublished, queued, training, failed, cancelled

Exact schema: firefly-cli schema list-custom-models. Nested objects use one quoted JSON object; arrays of objects use one repeated flag per object.

9. Image, editing and video workflows

Generate with Image Model 5

bash
firefly-cli generate-image5 --prompt "A ceramic cup in warm morning light" --aspectRatio 1:1 --resolutionLevel 4MP --agent --confirm

Image 5 uses /v4/images/generate-async and x-model-version: image5. Its request differs from the v3 image endpoint: inspect firefly-cli schema generate-image5. The reviewed schema accepts one variation per request.

Upload a reference, then instruct an edit

bash
firefly-cli upload-image --filePath /absolute/path/reference.png --agent
firefly-cli generate-image5 --prompt "Change the background to a soft blue studio wall" --referenceBlobs '{"source":{"uploadId":"UPLOAD_ID_FROM_PREVIOUS_RESULT"},"usage":"general"}' --agent --confirm

Replace the placeholder with the returned upload ID. An Image 5 reference edit requires aspectRatio omitted or auto. Upload IDs expire after seven days. Image URLs must use the storage providers Adobe accepts, described in its usage notes.

Fill a masked region

bash
firefly-cli generative-fill --prompt "A small green plant" --image '{"source":{"uploadId":"SOURCE_UPLOAD_ID"}}' --mask '{"source":{"uploadId":"MASK_UPLOAD_ID"}}' --agent --confirm

image and mask describe separate sources. The corrected endpoint is /v3/images/fill-async. Keep the mask interpretation consistent with Adobe's current operation docs.

Submit video without waiting

bash
firefly-cli generate-video --prompt "Slow camera movement through a sunlit forest" --wait=false --agent --confirm
firefly-cli get-job-status --jobId JOB_ID_FROM_RESULT --agent

The API generates a five-second video. Video uses x-model-version: video1_standard; sizes and keyframes follow the generated schema. A timeout can mean the operation is still running. Check its job before submitting again.

Upscale or composite

bash
firefly-cli upscale-image --image '{"source":{"uploadId":"SOURCE_UPLOAD_ID"}}' --seeds 333 --upscaleFactor 2 --agent --confirm
firefly-cli precise-composite --help
firefly-cli adaptive-composite --help

Use precise_composite or adaptive_composite when you supply both a background and an object. generate_object_composite generates a scene around the product image and uses a different schema. Do not interchange their request structures.

Optional downloads

Pass --download on a media command to save completed outputs under FIREFLY_OUTPUT_DIR, defaulting to ~/outputs/images. Downloads default off and need wait=true. Each filename is unique, so multiple variations do not overwrite one another. URLs and optional downloaded_to paths are returned as data; images and videos are not printed as binary terminal output. Each downloaded output is limited to 250 MB.

Source object shapes

An uploaded image:

config.json
{"image":{"source":{"uploadId":"986e8b25-6d40-4c5c-b2e5-f0d0dbf8ac36"}}}

A presigned storage URL:

config.json
{"image":{"source":{"url":"https://YOUR_BUCKET.amazonaws.com/reference.png"}}}

Each source requires exactly one uploadId or HTTPS url. The UUID above is an example; use the real ID from your requested upload. Do not supply both source forms.

Image 5 reference editing uses a different wrapper:

bash
firefly-cli generate-image5 --prompt "Change only the background to soft blue" --referenceBlobs '{"source":{"uploadId":"986e8b25-6d40-4c5c-b2e5-f0d0dbf8ac36"},"usage":"general"}' --aspectRatio auto --confirm --agent

Model and storage constraints

Operation/inputConstraint in the reviewed Adobe documentation
Image 5One variation and at most one reference blob in the current operation schema
Image 5 with a referenceOmit aspectRatio or use auto
Image 5 request fieldsUse its v4 fields; do not reuse v3-only negativePrompt or size
VideoFive-second output; provide a prompt or image conditions/keyframes
Seeds and variationsOne seed per requested variation when both are supplied
Image uploadNonempty JPEG, PNG, WebP, TIFF or JXL, at most 15 MB
Uploaded reference lifetimeAdobe documents seven days; upload again if expired
Presigned input URLUse an Adobe-supported storage domain; a local path is not a URL
Local output downloadExplicit opt-in, 250 MB cap, supported HTTPS storage host and no forwarded Adobe authorization

Some operations have narrower source-size requirements than the generic upload endpoint. Consult Adobe's usage notes and the specific operation before a composite.

Current documentation discrepancy

Adobe's Image 5 migration article and its current OpenAPI operation disagree about several fields. The reviewed v4 operation includes aspectRatio, resolutionLevel, modelId, modelSpecificPayload and referenceBlobs. This implementation validates against that operation and records its exact snapshot hash. The discrepancy still needs an authenticated live account test; see COMPARISON.md.

10. Jobs and local files

By default a media operation waits for completion and returns Adobe's JSON. --wait=false returns the accepted job immediately. Keep the job ID and read it with get-job-status.

bash
firefly-cli generate-video --prompt "Slow movement through a sunlit forest" --wait=false --confirm --agent
firefly-cli get-job-status --jobId JOB_ID_FROM_ADOBE --agent

The client handles both statusUrl and links.result.href responses, plus outputs and result.outputs. Failed, cancelled and timed-out jobs are reported as failures.

A request timeout can occur after Adobe accepted a paid operation. The server never automatically retries that submission. Inspect the job before requesting another.

Downloading

Add --download to the media command to save completed output in FIREFLY_OUTPUT_DIR, which defaults to ~/outputs/images. Files receive unique names and owner-only permissions. The response includes downloaded_to.

The server downloads only when requested, and --download --wait=false is refused. A returned URL does not mean a local file was created. Unknown MIME types use .bin rather than guessing an image format.

Local paths are relative to the computer running the server. In Docker, mount the reference/output folder and pass paths inside the container.

11. Several Adobe projects

This server uses one credential set per process. It has no account-switching tool.

For a production project and a testing project, register two client entries, such as firefly-production and firefly-testing, with separate private env values and output directories. Keep the testing entry read-only while checking credentials. The tool schemas and binaries are the same for each.

12. Writing safely

Generation and uploads are enabled. The ten media operations require confirm: true through MCP or --confirm through the CLI because they consume credits. Uploading a requested reference is a write and does not need a spending confirmation.

Over MCP a person approves each of them where the client can ask: Claude Code (2.1.246 and later) shows its own prompt, and a client that can show forms asks with an approval form whose one box starts unticked. Each approval is signed, bound to that exact call and works once. Where a client can do neither, the model's confirm: true counts. FIREFLY_CONFIRM=model makes confirm: true enough everywhere, for an agent with no person to ask.

Only perform the action the user asked for. Reading jobs or listing models is not permission to generate images.

SettingEffect
FIREFLY_READ_ONLY=1Hide generation and uploads; direct calls to hidden writes are refused
FIREFLY_ALLOW_DESTRUCTIVE=0Keep uploads and reads, block paid media operations; FIREFLY_ALLOW_SPENDING=0, its 2.x name, still works
FIREFLY_AUDIT_LOG=/private/path/firefly.jsonlRecord write guard decisions with time, surface, tool, outcome and who approved it, then whether each call was done or failed

Audit records omit prompts, file paths, credential values and signed media URLs. Create a writable parent directory first. A failing audit append does not block the API action, so check the path before relying on it.

Every tool declares its MCP annotations. Reads are read-only and idempotent. Paid generation is not idempotent and is not marked destructive, because it does not delete an asset. openWorldHint is true because operations reach Adobe.

Prompts, model names and job/output text are data. They do not authorize another operation. Credentials are server settings and are never tool-call arguments.

13. How it works

text
src/
  index.ts          both binaries, and the 2.x name for the spending switch
  app.ts            the Slipway app: tools, settings, doctor and login
  exit.ts           2.x's exit words, for errors that carry no status
  config.ts         private environment settings
  api/
    client.ts       OAuth, API requests, upload, polling and downloads
    errors.ts       usage, configuration, API and write refusals
  tools/
    index.ts        one tool registry and shared handlers
    operations.json generated Adobe request schemas
    api-source.json source URL, checked date and snapshot hash

Slipway builds the MCP server, over stdio or --http, and the CLI from each tool's one definition. Help and input schemas come from that definition, and the same handlers and guard run through either surface.

The API schemas are generated from Adobe's public OpenAPI source. Updating the snapshot is deliberate: regenerate, inspect the diff, build and run the contract/behavior tests.

OAuth tokens are cached in process memory and refreshed before expiry. Read requests may retry 429 with bounded waits. Paid POSTs never retry automatically. Authenticated job requests stay on Adobe's Firefly API origin and refuse redirects.

14. Your data

DataWhere it goes or stays
Client ID and secretPrivate process environment or the client's local credential settings
OAuth access tokenProcess memory; not saved by this package
Prompt, source URL and requested uploadDirectly to Adobe
Generated media URLReturned to the client; signed URLs can grant access to private output
Requested local downloadsYour selected output directory
Audit logOnly the local path you configure

There is no Navid-hosted relay, telemetry or analytics endpoint.

Authentication contacts ims-na1.adobelogin.com. API requests contact firefly-api.adobe.io. Requested downloads may contact Adobe output storage within the supported Amazon S3, Azure, Google Cloud, Dropbox or Adobe host families. They never receive Adobe authentication headers.

Adobe's own Firefly Services documentation and service terms govern upstream processing. Review those before uploading confidential reference material.

15. Environment variables

Credentials

VariableDefaultPurpose
FIREFLY_CLIENT_IDEmptyFirefly Services OAuth client ID
FIREFLY_CLIENT_SECRETEmptyOAuth client secret
FIREFLY_ACCESS_TOKENEmptyOptional existing access token, replacing the secret
FIREFLY_USER_TOKENEmptyOptional user-level custom-model access
FIREFLY_SCOPESAdobe tutorial scopesScope string from the provisioned project
FIREFLY_SERVICES_CLIENT_IDEmptyAdobe tutorial alias for client ID
FIREFLY_SERVICES_CLIENT_SECRETEmptyAdobe tutorial alias for client secret
FIREFLY_SERVICES_ACCESS_TOKENEmptyAdobe tutorial alias for access token

Safety

VariableDefaultPurpose
FIREFLY_READ_ONLYOff1 or true hides generation and uploads
FIREFLY_ALLOW_DESTRUCTIVEOn0 or false blocks paid media generation
FIREFLY_ALLOW_SPENDINGOn2.x's name for FIREFLY_ALLOW_DESTRUCTIVE, still read when that one is unset
FIREFLY_CONFIRMhumanmodel lets confirm: true alone approve over MCP, for an agent with no person to ask
FIREFLY_AUDIT_LOGEmptyAppend guard decisions to this local path

Tuning

VariableDefaultPurpose
FIREFLY_OUTPUT_DIR~/outputs/imagesFolder for explicitly requested downloads
FIREFLY_REQUEST_TIMEOUT_MS30000Per-request deadline
FIREFLY_POLL_TIMEOUT_MS300000Maximum job polling duration
FIREFLY_POLL_INTERVAL_MS2000Interval between polls
FIREFLY_SURFACEfullsearch lists three tools that find, describe and run the rest
FIREFLY_TOOL_TIMEOUT_MSNoneGive up on any tool after this long
FIREFLY_HTTP_PORT, FIREFLY_HTTP_HOST, FIREFLY_HTTP_TOKEN8787, 127.0.0.1, noneFor --http; any host but 127.0.0.1 needs the bearer token
FIREFLY_HTTP_ALLOWED_ORIGINSNoneComma-separated browser origins allowed to call --http; a page from any other site is refused
FIREFLY_DEBUG01 prints debug lines on stderr

The program reads the environment directly. It does not automatically load .env files. Never commit real values in an environment file, client JSON or a desktop manifest.

16. Updates and removal

npm and client updates

Configs using npx -y @thenavidm/firefly-mcp-cli@latest resolve the current published version when they launch. Reconnect or restart the MCP client after an update.

Terminal
npm install -g @thenavidm/firefly-mcp-cli@latest
firefly-cli --version

Global installs need that command to update. Desktop bundles are separate downloads: install the new .mcpb from the latest release through Extensions settings. Do not assume a manually installed custom bundle updates itself.

Every release is recorded in CHANGELOG.md. Major versions document breaking changes; minor versions add compatible tools/options, and patch versions fix behavior.

Migrating from the old MCP-only server

Keep the old tool names where supported, but change the package to @thenavidm/firefly-mcp-cli@latest. Node 22 is required. Paid media calls now need confirmation. Downloads now require an explicit flag.

n maps to numVariations where supported. width and height must be supplied together. Fill uses the current async endpoint. Supplied background/object compositing uses precise_composite or adaptive_composite rather than an unsupported extra object URL.

Remove it

Terminal
npm uninstall -g @thenavidm/firefly-mcp-cli
claude mcp remove --scope user firefly

In other clients, remove the Firefly entry you added. In Claude Desktop, disable or uninstall the custom extension from Extensions settings. Remove private credential settings and revoke/rotate Adobe credentials if they are no longer needed.

Output images and audit logs are your files and are kept. Remove them yourself if desired.

17. Troubleshooting

Start with firefly-cli doctor, then doctor --network.

What you seeLikely causeWhat to do
Exit 10 / credentials not configuredThe server process has no usable credential setEnter private local values; restart the client
401Invalid or expired credentials/tokenRotate or replace them in Adobe Console/private settings
403API entitlement, scopes or project permissionsCheck the provisioned organization and operation access
429Adobe rate or quota limitWait; do not repeatedly resubmit paid operations
Image 5 argument refusedv3 field or invalid reference ratio/variationUse schema generate-image5; one variation; auto/omitted ratio with a reference
Source refusedMissing/both source forms, invalid UUID or URLProvide exactly one uploadId or HTTPS URL
Upload not found, exit 3Path points to a different machine/containerUse a path visible to the server process
Upload too large or wrong formatGeneric upload limit or unsupported extensionUse a nonempty supported image no larger than 15 MB
Polling timeoutA job may still be runningKeep the original job ID and read it; do not submit again
Submission timed outThe paid outcome is unknownInspect the original operation before another request
Tools missingRead-only mode or stale client connectionCheck settings and reconnect
Local file missingDownload was not requested, or waiting was disabledUse --download with a completed operation
Audit log emptyUnwritable/missing parent folderFix the local path before relying on the log
Desktop extension fails to startRuntime/configuration or organization extension policyCheck Extensions logs and approved custom-extension settings
Node not found in a GUI appGUI PATH differs from your terminalUse an absolute Node path in manual configuration
Invalid JSON in client configMissing comma or wrong root keyValidate locally; use the exact client block in INSTALL

Do not attach credential-bearing configs, OAuth response bodies, private prompts or signed output URLs to an issue.

18. API coverage and comparisons

The current implementation covers the ten media operations in the reviewed Adobe Firefly OpenAPI snapshot, plus upload, job status, authentication and custom-model reads. It is Firefly-specific and does not expose the Photoshop or Lightroom APIs.

Adobe supplies official APIs and SDKs. A dedicated Adobe-published Firefly task MCP/CLI was not identified in the reviewed documentation; that is a dated finding, not a claim that one cannot exist.

Community MCPs can offer broader services or remote deployment. COMPARISON.md records the actual sources, checked versions/claims, scope differences and outstanding matched-task measurements. Tool count alone does not prove broader coverage, lower token use or faster completion.

19. Versions

VersionWhat changedStatus
3.0.0Built on Slipway: a person approves each paid operation over MCP, exit codes from Adobe's status, which, install and --http3.0.0 release
2.0.014 tools, current Adobe schema coverage, CLI, desktop bundle, spending guard and complete setup2.0.0 release
1.0.0Seven MCP-only tools in the legacy implementationHistorical source

The release history lives in CHANGELOG.md, and downloads in GitHub Releases.

20. FAQ

What is an MCP server?

MCP is the standard an AI client uses to discover and call outside tools. This server exposes Adobe Firefly operations so the client can act on an explicit request.

What is the CLI?

The CLI is the same tool registry as shell commands. Agents with a terminal, scripts and people can run it. Tool names use dashes in the command form.

Which one should I use?

Use MCP in a local AI chat and the CLI for shell workflows. Both share schemas and handlers. In Claude Code the CLI costs nothing until it is used, plus about 2,330 tokens for SKILL.md once, where the server costs about 380 tokens a message with tool search and 16,800 with every tool loaded. In Codex, finding the Image Model 5 command and its flags took a median of 83,169 input tokens over the CLI and 47,879 over MCP. Section 7 has how each was measured.

Is this an official Adobe product?

No. Navid Moazzez maintains this independent package against Adobe’s official API documentation. It is not endorsed by Adobe.

Is it free?

The package source is available under AGPL-3.0-or-later. Adobe API access and generation credits have separate costs, so installing it does not provide free generation.

Can I use my Adobe password or consumer Firefly subscription?

Use OAuth Server-to-Server credentials from a provisioned Firefly Services project. A consumer subscription is not proof of API entitlement. Your Adobe password is never a tool setting.

Does Claude Desktop have a version?

Yes. The release carries a self-contained .mcpb extension. Configure its client ID and sensitive secret field locally. npm, MCP and desktop packaging use the same version.

Does it support Image 5 editing?

generate_image5 uses the v4 operation with referenceBlobs. The current schema allows one variation and one reference; with a reference use auto or omit the ratio. Live account generation validation is pending.

Can it generate video?

generate_video uses Adobe’s documented five-second video operation. It accepts a prompt or image conditions. The source handles asynchronous job responses without automatically resubmitting.

Does it include Photoshop or Lightroom?

No. It covers Firefly image and video operations. The comparison explains where other implementations expose those separate services.

Can it publish or delete my assets?

No publish/delete tool is exposed. It can spend credits and upload requested references, so those changes still deserve deliberate authorization.

Can it spend credits accidentally?

Every paid media tool refuses without confirm: true or --confirm, and over MCP a person approves each one where the client can ask. READ_ONLY hides writes and ALLOW_DESTRUCTIVE=0 blocks paid actions. The agent should pass confirmation only for the user’s requested action.

Where do files go?

Uploads read a local path on the server’s machine. Requested downloads go to FIREFLY_OUTPUT_DIR or ~/outputs/images. A returned output URL alone does not create a local file.

Are secrets included in the repo or bundle?

No. Source, Git history and bundle scans are checked before publication. Credential examples are placeholders; actual values belong in private local settings or encrypted publishing secrets.

Can I connect more than one project?

Use separate MCP entries/processes with distinct credentials and output folders. There is no account-switching tool inside this server.

What happens after a timeout?

Read the accepted job if you have its ID. A submission timeout can have an unknown paid outcome, so do not automatically request the same generation again.

How do updates work?

npx configurations use @latest when they start. Global CLI installations need an npm update/install command. A manually installed custom desktop bundle must be updated through Extensions settings.

Will it work in a browser-only AI chat?

Only if that client can reach a local stdio server through its own supported integration. This package does not supply a remote HTTP URL for web-only connectors.

What has actually been tested?

Build/typecheck, behavioral tests, native MCP discovery, guard/refusal behavior, a clean npm tarball installation and an unpacked desktop bundle. Live Adobe generation remains unverified; section 7 has the measured token costs.

Questions

Run into a problem or have a question? Open an issue and I will help.

Found a security vulnerability? Report it privately. SECURITY.md explains the credential and spending boundaries.

See CONTRIBUTING.md for the contribution policy.

About the author

Navid Moazzez is a leading AI business strategist, and the host of the AI Creator Summit, watched by 100,000+ creators. He helps creators and founders master AI and build their own AI Operating System (AI OS) to automate their business and life. He creates useful free tools, MCP servers and CLIs that creators and founders can use in their own workflows.

Links

If this is useful, star the repo and come say hi on X.

Dependencies

Library/sourceLicenseWhat it does
SlipwayApache-2.0The MCP server and the CLI from one definition of each tool
MCP TypeScript SDKApache-2.0The MCP protocol and its transports, through Slipway
AjvMITValidate the official JSON Schema request shapes
ajv-formatsMITURI, UUID and other field formats
Adobe Firefly OpenAPI documentationApache-2.0Upstream operation schemas; original notices ship in licenses/

TypeScript, Vitest, JSON Schema Ref Parser and MCPB are build/test tools. The desktop bundle carries production runtime dependencies. THIRD_PARTY_NOTICES.md records attribution.

License

AGPL-3.0-or-later. Use, modification and redistribution are subject to its terms. Adobe schema material retains its original Apache-2.0 notices.

Not affiliated with, endorsed by or connected to Adobe Inc.


© 2026 Navid Media. Made with ❤️ by Navid Moazzez.