Prototype · Preview: every server in the official registry, synced every 30 minutes. Sign in with Google to write reviews.Prototype · updated every 30 min
PopNx MCPMCP servers for people who use AI · explained in plain words

Recraft MCP Server

by muhammetaliversion 1.0.0i★ 0iRuns on your computerRepository ↗
Registry nameio.github.muhammetali/recraft-mcp-server

How to install

What it does

Recraft AI Image Generation MCP Server for AI coding agents

  • Connects Runs on your computer
  • Account or key Needs RECRAFT_API_KEY
  • Category Design, images & audio

Use together with

Skills that teach the AI this kind of work; they work alongside this one

impeccable

The design vocabulary for your coding agent. Steer with polish and bolder, review with critique and audit, catch AI slop before it ships.

by pbakaus★ 112,5441 skills

Skill · How-to guide

diagram-design

Editorial diagram design for Claude Code, Codex, GitHub Copilot, Cursor, Factory Droid, Qoder, and Pi. 45 diagram types. Self-contained HTML + SVG. No shadows. No Mermaid slop.

by cathrynlavery★ 68,0691 skills

Skill · How-to guide

frontend-slides

Create beautiful slides on the web using a coding agent's frontend skills

by zarazhangrui★ 32,5141 skills

Skill · How-to guide

Why it ranks here

Lists are ordered by a usage score (out of 100) built from these parts

Popularity0/80GitHub stars or weekly downloads: the larger counts 60, the smaller 20
Freshness7/12Full marks for a release or code change within 30 days
Still answering0/8The cloud endpoint answered at the last check
Usage score7/100

Quality: Passed 3/3 basic checks (shown, not used for ordering) · Momentum: No data yet (Used only on the Trending tab)

Install

Pick the AI app you use, then copy the settings.

Let your AI install it with one sentence

Please install Recraft MCP Server. Follow https://mcp.popnx.com/i/muhammetali-recraft-mcp-server.md, show me the commands and wait for my OK before running them.

Paste it into an AI that can work on your computer (such as Claude Code or Cursor). It reads our steps, shows you the commands and waits for your OK. No key, no sign-up. · See the full text your AI reads

Passed 3/3 checks · Runs on your computer · ✓ Commands checked Nov 14, 2026

First: which AI do you use?

Pick your app and the steps appear below.

Works with Claude, with some setup first

You need a Recraft MCP Server key (create it on the maker’s site) · Install Node.js on your computer first (one time) · Only the Claude desktop app (Windows or Mac), not the web or phone

Let AI install it

Copy this message into a Claude chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server Recraft MCP Server for Claude on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "recraft": { "command": "npx", "args": [ "-y", "recraft-mcp-server" ], "env": { "RECRAFT_API_KEY": "your-value" } } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For RECRAFT_API_KEY, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the Recraft MCP Server tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Node.js (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    node -v
    • A version number such as v26.13.1 = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed

    Open the Node.js download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v

    Install once; it works for everything that needs Node.js

  2. Sign up and create a Recraft MCP Server key

    Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.

    How to get a key is in the maker’s README below

  3. Open the Claude desktop app’s settings file

    SettingsDeveloperEdit Config

  4. Paste these settings and save the file

    {
      "mcpServers": {
        "recraft": {
          "command": "npx",
          "args": [
            "-y",
            "recraft-mcp-server"
          ],
          "env": {
            "RECRAFT_API_KEY": "your-value"
          }
        }
      }
    }

    Paste the key only into the app’s field, never into a chat or to anyone

  5. Quit Claude and open it again

  6. Try it

    Use Recraft MCP Server and tell me what you can do for me, then show me one thing

    ✓ If Claude says it is using Recraft MCP Server or shows a Recraft MCP Server tool in the answer, you are connected

Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version

ChatGPT cannot connect Recraft MCP Server yet

Recraft MCP Server runs on your computer, but ChatGPT can only connect servers that run on the web

What you can do instead

A · Use an app that can connect Recraft MCP Server

  • You need a Recraft MCP Server key (create it on the maker’s site) · Install Node.js on your computer first (one time) · Only the Claude desktop app (Windows or Mac), not the web or phone
  • You need a Recraft MCP Server key (create it on the maker’s site) · Install Node.js on your computer first (one time)
  • You need a Recraft MCP Server key (create it on the maker’s site) · Install Node.js on your computer first (one time)
  • You need a Recraft MCP Server key (create it on the maker’s site) · Install Node.js on your computer first (one time)

B · Others in Design, images & audio that work with ChatGPT

Picked from the most used in the same category, only ones that connect by address with no key

Works with Claude Code, with some setup first

You need a Recraft MCP Server key (create it on the maker’s site) · Install Node.js on your computer first (one time)

Let AI install it

Copy this message into a Claude Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server Recraft MCP Server for Claude Code on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): claude mcp add --scope user recraft --env RECRAFT_API_KEY=your-value -- npx -y recraft-mcp-server 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For RECRAFT_API_KEY, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the Recraft MCP Server tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Node.js (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    node -v
    • A version number such as v26.13.1 = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed

    Open the Node.js download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v

    Install once; it works for everything that needs Node.js

  2. Sign up and create a Recraft MCP Server key

    Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.

    How to get a key is in the maker’s README below

  3. Open Terminal

    Mac: press Command+Space and type Terminal · Windows: open PowerShell

  4. Paste this command and press Enter

    claude mcp add --scope user recraft --env RECRAFT_API_KEY=your-value -- npx -y recraft-mcp-server

    Replace “your-value” with your key before pressing Enter

    Paste the key only into the app’s field, never into a chat or to anyone

  5. Type /mcp in Claude Code

    You should see Recraft MCP Server listed as connected

  6. Try it

    Use Recraft MCP Server and tell me what you can do for me, then show me one thing

    ✓ If Claude Code says it is using Recraft MCP Server or shows a Recraft MCP Server tool in the answer, you are connected

Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Works with Cursor, with some setup first

You need a Recraft MCP Server key (create it on the maker’s site) · Install Node.js on your computer first (one time)

Let AI install it

Copy this message into a Cursor chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server Recraft MCP Server for Cursor on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "recraft": { "command": "npx", "args": [ "-y", "recraft-mcp-server" ], "env": { "RECRAFT_API_KEY": "your-value" } } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For RECRAFT_API_KEY, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the Recraft MCP Server tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Node.js (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    node -v
    • A version number such as v26.13.1 = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed

    Open the Node.js download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v

    Install once; it works for everything that needs Node.js

  2. Sign up and create a Recraft MCP Server key

    Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.

    How to get a key is in the maker’s README below

  3. Click this button to open Cursor

    Open in Cursor

    Cursor asks you to confirm; click Install

  4. Fill in your key

    In the Recraft MCP Server settings, RECRAFT_API_KEY is empty; add your key and save

    Paste the key only into the app’s field, never into a chat or to anyone

  5. Open the AI chat in Cursor in Agent mode

  6. Try it

    Use Recraft MCP Server and tell me what you can do for me, then show me one thing

    ✓ If Cursor says it is using Recraft MCP Server or shows a Recraft MCP Server tool in the answer, you are connected

Menu names checked against Cursor’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Works with VS Code, with some setup first

You need a Recraft MCP Server key (create it on the maker’s site) · Install Node.js on your computer first (one time)

Let AI install it

Copy this message into a VS Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server Recraft MCP Server for VS Code on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "servers": { "recraft": { "type": "stdio", "command": "npx", "args": [ "-y", "recraft-mcp-server" ], "env": { "RECRAFT_API_KEY": "your-value" } } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For RECRAFT_API_KEY, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the Recraft MCP Server tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Node.js (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    node -v
    • A version number such as v26.13.1 = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed

    Open the Node.js download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v

    Install once; it works for everything that needs Node.js

  2. Sign up and create a Recraft MCP Server key

    Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.

    How to get a key is in the maker’s README below

  3. Click this button to open VS Code

    Open in VS Code

    VS Code asks you to confirm; click Install

  4. Fill in your key

    In the Recraft MCP Server settings, RECRAFT_API_KEY is empty; add your key and save

    Paste the key only into the app’s field, never into a chat or to anyone

  5. Open the AI chat in VS Code in Agent mode

  6. Try it

    Use Recraft MCP Server and tell me what you can do for me, then show me one thing

    ✓ If VS Code says it is using Recraft MCP Server or shows a Recraft MCP Server tool in the answer, you are connected

Menu names checked against VS Code’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Other apps that use MCP, such as Windsurf, Zed or Gemini CLI, each add servers differently. See how in the app list.

See every app that uses MCP →

JSON settings are under “For developers” below

Stuck? Ask people who use Recraft MCP Server💬 Discussion →
For developers: Terminal commands and JSON settings

Installed on your computer

Claude Code

claude mcp add --scope user recraft --env RECRAFT_API_KEY=your-value -- npx -y recraft-mcp-server

Claude Desktop (claude_desktop_config.json)

{
  "mcpServers": {
    "recraft": {
      "command": "npx",
      "args": [
        "-y",
        "recraft-mcp-server"
      ],
      "env": {
        "RECRAFT_API_KEY": "your-value"
      }
    }
  }
}

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "recraft": {
      "command": "npx",
      "args": [
        "-y",
        "recraft-mcp-server"
      ],
      "env": {
        "RECRAFT_API_KEY": "your-value"
      }
    }
  }
}

VS Code (mcp.json)

{
  "servers": {
    "recraft": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "recraft-mcp-server"
      ],
      "env": {
        "RECRAFT_API_KEY": "your-value"
      }
    }
  }
}

Values you fill in

  • RECRAFT_API_KEY secret required env
    Your Recraft AI API key

Descriptions are as written by the maker.

These settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.

At a glance

Downloads per weeki
57/wk
Connection
Runs on your computer
Latest versioni
1.0.0
Published to registryi
Sep 4, 2026
Code last changedi
Sep 28, 2026
Maker
muhammetali
Packages
npm: recraft-mcp-server
Registry status
Active

Which apps can use it

Based on how this server connects and on each app’s own docs, checked Nov 10, 2026.

Run on your computer in

ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast

All apps, with pros and cons →

Related guides

What it can do

Runs on your computer; the tool list appears in your AI app after you install it.

Basic checksi

We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 19, 2026

  • ✓ Pass

    Maker matches the repo

    The registry name was verified with the GitHub account muhammetali, which owns the repo

  • ✓ Pass

    Still maintained

    Code last changed 2 months ago

  • ✓ Pass

    Has a licence

    Uses MIT

  • – Not applicable

    Endpoint responds

    This one runs on your computer; there is no internet endpoint

  • – Not applicable

    Sign-in with OAuth

    Runs on your computer and uses local settings instead

  • … Not checked yet

    No hidden instructions in tool descriptions

    Runs on your computer; we can only read tool lists from internet endpoints

Published vulnerabilities (OSV.dev)

No entries on OSV.dev for recraft-mcp-server@1.0.0

Checks only this package version, not every dependency · checked Nov 16, 2026

What we check → · JSON

Makers: ask for a re-check or report wrong info
For makers: add a badge to your README

If you made this, paste this code into your README. The badge links back to this page.

[![Featured on PopNx MCP](https://mcp.popnx.com/badge/muhammetali-recraft-mcp-server.svg)](https://mcp.popnx.com/en/servers/muhammetali-recraft-mcp-server)

Discussion

Ask, share a tip or report that it does not work. Sorted by what people marked helpful.

No posts yet. Be the first to ask or share.

Posts here are written by users, not the PopNx team.

Sign in to post

User reviews

No reviews yet

Sign in to write a review

Compared with others in Design, images & audioi

  • More stars than 0% of the other 3275 servers in this category
  • Published to the registry more recently than 23% of the other 3275 servers in this category
  • Basic checks equal to or better than 99% of the other 3275 servers in this category

Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.

Common questions

Is Recraft MCP Server safe?

It passed 3 of 3 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.

What keys or codes does it need?

You need to fill in: RECRAFT_API_KEY

Does it run on my computer or in the cloud?

It runs on your computer. Your AI app starts it when needed, and data does not pass through the maker’s servers (unless it calls an online service itself).

Is it still maintained?

The GitHub repo last changed 2 months ago, and the latest version (1.0.0) reached the registry 3 months ago.

Which apps can use it?

Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. You also need Node.js on your computer.

What can I use instead?

In the same category: HyperFrames by HeyGen, Pascal 3D Editor, draw.io, Figma MCP Server, Remocn: Remotion MCP server

Similar alternatives

Same category, other makers, commands already checked. Official ones first, then by stars.

Reading a card:↓ Downloads per weeki★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi

HyperFrames by HeyGen

Official HyperFrames by HeyGen: the best AI video editor in chat. Captions, motion graphics, MP4.

by heygen-comWidely used★ 86.4K Stars for the whole repoUpdated yesterday

Runs in the cloud✓ heygen.com

Pascal 3D Editor

Create, inspect, validate, and save editable 3D building scenes with Pascal's MCP server.

by pascalorgWidely used↓ 1K/wk★ 25.6K Stars for the whole repoUpdated yesterday

Computer or cloud✓ service owner · pascal.app

draw.io

Create draw.io diagrams in chat from Mermaid or XML, shown live and interactive. 10,000+ shapes.

by jgraphWidely used★ 5.9KUpdated 2 days ago

Runs in the cloud✓ service owner · draw.ioTried by the PopNx team

Figma MCP Server

Figma’s official server gives AI your design data so it can turn designs into code or describe them accurately. Connects to Figma’s cloud.

by figmaWidely used★ 2.2KUpdated 13 months ago

Runs in the cloud✓ service owner · mcp.figma.com
Compared with similar ones
This one
Recraft MCP Server
HyperFrames by HeyGenPascal 3D Editordraw.ioFigma MCP ServerRemocn: Remotion MCP server
Runs whereInstalls on your computerRuns in the cloud, nothing to installCloud or install on your computerRuns in the cloud, nothing to installRuns in the cloud, nothing to installRuns in the cloud, nothing to install
Needs a keyYesNoNoNoNoNo
Add with + in ClaudeNoYesNoNoYesNo
Basic checks3/34/45/54/44/44/4
LicenseMITApache-2.0MITApache-2.0–MIT
PriceNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registry

README from the maker

Open the README

Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.

🎨 Recraft MCP Server

A Model Context Protocol (MCP) server that gives AI assistants (Claude, Gemini, or any MCP client) direct access to the Recraft AI image generation API — generate, transform, upscale, and vectorize images without leaving your chat.

"Generate a set of 8 fantasy game icons in the same art style."

"Remove the background from this screenshot and upscale it."

"Create 5 style variations of this logo and put them in a comparison grid."

Coming from the official server?

Recraft archived @recraft-ai/mcp-recraft-server in July 2026 and now points users at a hosted endpoint, https://mcp.recraft.ai/mcp. Which of the three you want depends on what you are doing:

Recraft hostedThis server
SetupOAuth in a browser, no API keynpm install + API key
Tools928
BillingSubscription creditsAPI units, and every tool reports what its call cost
Local filesNo — URLs and base64 onlyReads and writes files on your machine
Batch / pipelinesNoGenerate → download → background-remove → save, themed sets, comparison grids
Style managementCreate onlyCreate, list, inspect, delete

If you only generate the occasional image, the hosted server is less work and this one has nothing to offer you. If you are producing assets in bulk, working from files already on disk, or need to know what a run costs before it runs, that is what this exists for.

Tool name mapping

The names are the old ones with a recraft_ prefix, except where noted:

Official (archived)Here
generate_imagerecraft_generate_image
image_to_imagerecraft_image_to_image
remove_backgroundrecraft_remove_background
replace_backgroundrecraft_replace_background
crisp_upscalerecraft_crisp_upscale
creative_upscalerecraft_creative_upscale
create_stylerecraft_create_style
vectorize_imagerecraft_vectorize
get_userrecraft_check_credits

One behavioural difference worth knowing: Recraft's style field takes six broad families, and the specific look (pixel_art, kawaii, b_and_w…) is a separate substyle field. Passing a substyle name as style is silently ignored by the API. This server accepts either and routes it correctly, so prompts written against the old servers keep working.

🌟 Key Features

  • 🖼️ Text-to-image generation across all Recraft models (V4.1, V4 Styles, V4, V4 Vector/SVG, V4 Pro, V3, V2), with the full style taxonomy — 6 families × 104 substyles, generated from Recraft's own API spec rather than transcribed by hand
  • 🔁 Image transformation — image-to-image, inpaint, background replace/generate, outpaint (canvas expansion), variations
  • ✨ Enhancement — background removal, vectorization, crisp/creative upscale, region erase
  • 🔎 Discovery — open-ended exploration generation, "more like this," and automatic prompt enhancement
  • 🧩 Asset pipelines — one-call generate → download → background-remove → save, batch generation, themed asset sets with style consistency
  • 🎮 Game-dev extras — sized generation for sprites/icons, style comparison grids, texture/atlas swapping
  • 👁️ The agent can see what it made — generations come back with an inline preview alongside the URL, downscaled to fit a context budget. Without it a model can produce four variations and judge none of them
  • 💰 Every call reports its price — Recraft states the credit cost of each operation and this passes it through, so an agent can tell a 4-credit crisp upscale from a 250-credit creative one *before* it runs a batch of them
  • 🎨 Style management — create custom styles, then list, inspect and delete them

🛠️ Provided Tools

This MCP server exposes 28 tools to your AI agent — full coverage of the Recraft API.

Generation
ToolDescription
recraft_generate_imageText-to-image across all Recraft models, 70+ styles, color/text-layout control
recraft_generate_sizedGenerate at any target size (down to 64×64) — ideal for sprites/icons/UI
recraft_batch_generateGenerate multiple assets in sequence with full pipeline, resilient to per-asset failure
recraft_generate_themed_setA hero asset + matching style + all remaining symbols, generated with visual consistency
recraft_compare_stylesSame prompt across multiple styles, with an optional side-by-side comparison grid
Discovery
ToolDescription
recraft_exploreGenerate a diverse set of images for open-ended exploration of a prompt
recraft_explore_similarGenerate more images visually similar to a previous recraft_explore result
recraft_enhance_promptExpand a short prompt into a richer, more detailed one
Transformation
ToolDescription
recraft_image_to_imageTransform an existing image from a text prompt (strength-adjustable)
recraft_inpaintRegenerate masked regions of an image
recraft_replace_backgroundAI-generate a new background while keeping the subject
recraft_generate_backgroundFill masked background areas within the existing canvas
recraft_outpaintExpand the canvas beyond the image's original bounds with AI-generated content
recraft_variate_imageGenerate variations of an existing image
recraft_texture_swapReplace a region with new AI content — built for Spine atlas / spritesheet swaps
Enhancement
ToolDescription
recraft_remove_backgroundTransparent-PNG background removal
recraft_vectorizeRaster (PNG/JPG/WEBP) → SVG
recraft_crisp_upscaleClean upscale for graphics, icons, illustrations
recraft_creative_upscaleAI-detail upscale with face refinement for photos
recraft_erase_regionContent-aware removal of a masked region
Style management
ToolWhat it does
recraft_create_styleCreate a custom style from 1-5 reference images
recraft_list_stylesList the custom styles on the account — free, reads only
recraft_get_styleLook up one style by id — free, reads only
recraft_delete_styleDelete a style permanently
recraft_list_basic_stylesRecraft's built-in styles per model, live from the API
Assets & account
ToolDescription
recraft_create_styleBuild a custom, reusable style from 1–5 reference images
recraft_generate_assetFull pipeline: generate → download → optional bg-removal → save to file
recraft_download_imageSave an image URL to a local file
recraft_check_creditsCheck account info and remaining API credits

Previews and cost

Two behaviours worth knowing about, because they change what the agent can do.

Previews. Generation tools return a small inline image alongside the URL, so the model can actually look at the result — pick the best of four variations, notice that the background removal left a halo, see that the text came out garbled. Previews are downscaled until they fit a context budget (WebP, longest edge ≤768px, ≤700KB of base64) and capped at four per call, because an unbounded base64 blob costs more context than the image is worth.

Turn it off per call when the image is not being judged:

recraft_generate_image(prompt: "...", preview: false)

Cost. Every Recraft response states the credit cost of the call it served, and every tool here passes it through:

Model: recraftv4 | Size: 1024x1024 | Substyle: kawaii | Cost: 40 credits

This matters more than it sounds. A creative upscale costs 250 credits against a crisp upscale's 4 — 62× — and a themed set of 12 symbols runs to roughly 600. recraft_check_credits reads the balance, and the style-management tools are free reads, so an agent can look before it spends.

⚙️ Quick Start

Requires Node.js 20.9.0 or newer. Version 1.1.0 upgrades the native image-processing dependencies to address known libvips vulnerabilities; Node.js 18 is no longer supported.

1. Get a Recraft API key

Sign up at recraft.ai and grab an API key from your account settings.

2. Install & configure
claude mcp add --scope user recraft \

-e RECRAFT_API_KEY=your-api-key-here \ -- npx -y recraft-mcp-server

Or add it manually to your MCP client config:

{

"mcpServers": { "recraft": { "command": "npx", "args": ["-y", "recraft-mcp-server"], "env": { "RECRAFT_API_KEY": "your-api-key-here" } } } }

Environment Variables
VariableDescription
RECRAFT_API_KEYYour Recraft AI API key
Docker
docker build -t recraft-mcp-server .

docker run -i --rm -e RECRAFT_API_KEY=your-key recraft-mcp-server

In an MCP client config:

{

"mcpServers": { "recraft": { "command": "docker", "args": ["run", "-i", "--rm", "-e", "RECRAFT_API_KEY", "recraft-mcp-server"], "env": { "RECRAFT_API_KEY": "your-key" } } } }

The container talks MCP over stdio and never opens a port, so -i is required and -p is not. It runs as an unprivileged user; tools that write files need the target directory bind-mounted (-v /path:/path).

🤖 Example AI Prompts

Game asset pipeline:

*"Generate a themed set of 6 fantasy potion icons in the same style, then export a Pixi.js manifest."* → recraft_generate_themed_set

Quick sprite generation:

*"Generate a 64x64 pixel-art coin icon."* → recraft_generate_sized

Style exploration:

*"Show me this logo prompt in 4 different styles side by side."* → recraft_compare_styles

Photo cleanup:

*"Remove the background from this photo and upscale it for print."* → recraft_remove_background → recraft_creative_upscale

Asset swapping:

*"Swap the texture in this region of the spritesheet with a new design."* → recraft_texture_swap

Canvas expansion:

*"Widen this image to a 16:9 banner without cropping the subject."* → recraft_outpaint

Open-ended exploration:

*"Explore some ideas for a race car on a track, then give me more like the third one."* → recraft_explore → recraft_explore_similar

Prompt polishing:

*"Enhance this rough prompt before generating: 'red panda with a sign.'"* → recraft_enhance_prompt

Development

git clone https://github.com/muhammetali/recraft-mcp-server.git

cd recraft-mcp-server npm install npm run build npm test npm run audit:security npm run verify

Version 1.2.0 uses the official modular MCP SDK v2 while preserving all 24 tools. See security policy and dependency review for release checks, dependency decisions, and necessary runtime capabilities.

📄 License

MIT — see LICENSE.