Recraft MCP Server logo

Recraft MCP Server

Connects AI coding agents to Recraft for image generation, editing, upscaling, vectorization, style management, and local asset pipelines.

Install Recraft MCP Server

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

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

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

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

Claude Code command
claude mcp add --env RECRAFT_API_KEY=YOUR_VALUE_HERE --transport stdio recraft-mcp-server -- npx -y recraft-mcp-server

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

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

Overview

The recraft-mcp-server MCP server connects MCP-compatible AI assistants to Recraft’s image generation API through a local Node.js process and API key. It exposes tools for generating, transforming, enhancing, vectorizing, and saving images, plus custom style management and credit checks. Local file support enables pipelines such as generating an asset, downloading it, removing its background, and saving the result. Reach for it when you need bulk asset creation, disk-based workflows, previews, or per-operation credit reporting rather than only occasional hosted image generation.

Use cases

  • Generate themed game assets with consistent styling
  • Create sprites, icons, and UI images at target sizes
  • Transform local images and save processed results
  • Compare multiple visual styles for one prompt
  • Check credit costs before running image batches

Key features

  • Text-to-image generation across Recraft models and styles
  • Image transformation, background editing, and outpainting
  • Background removal, vectorization, and image upscaling
  • Batch, themed-set, comparison, and local-file pipelines
  • Custom style creation and account credit checks
  • Inline previews and per-call credit reporting

Tools28

What Recraft MCP Server lets your agent do. Expand a tool for its parameters.

Verified live~9.2k tokens of context

Security & health

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

ActiveLast checked

Recent health check succeeded.

14/14 checks healthy over the last 83d

What it can do

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

Can delete or modify data · 4Makes network requests · 2Read-only tools · 24
Network at startup3 connections
Files written at startupNone
Install scriptsNone
npm provenanceSigned build
Package age62 days
Maintainers1

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

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 5d ago via OSV.dev · recraft-mcp-server (npm)

Adoption & maintenance

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

npm downloads336Package downloads in the last 30 days.
Last commit2mo agoMost recent push to the default branch.
Availability100%Our rolling endpoint + install checks that succeeded.
Install checkPassedOur sandbox started it and listed its tools.
Tools exposed28Callable tools this server registers over MCP.
Directory activity2 viewsConfig copies, upvotes, and views on AllMCPs.

How Recraft MCP Server works

What recraft-mcp-server MCP server does

The recraft-mcp-server MCP server gives an AI assistant access to Recraft image operations through MCP. It covers text-to-image generation across Recraft models, image-to-image transformation, inpainting, background changes, outpainting, variations, region erasing, raster-to-SVG conversion, and two types of upscaling. Generation responses can include a reduced inline preview as well as the resulting image URL, allowing an agent to inspect outputs during a conversation.

The tool set also includes workflows beyond individual API calls. An agent can generate and save an asset locally, run multiple assets in sequence, create themed sets with a consistent visual treatment, compare styles, or swap content in a texture or atlas region. Custom Recraft styles can be created from reference images and then listed, inspected, or deleted. Account tools include a check for remaining API credits.

How it works

The server runs locally and authenticates to Recraft with an API key. MCP-compatible clients invoke its named tools, while the server translates their arguments into Recraft API requests and returns the results. The implementation accepts both Recraft’s broad style families and more specific substyles, routing them to the corresponding fields instead of silently treating a substyle as a broad style.

Image-generation tools can return previews downscaled to fit a context budget. Previews use WebP, have a longest edge of up to 768 pixels, are limited to 700 KB of base64 data, and are capped at four images per call. A preview: false option is available when the model does not need to inspect the output. Responses also pass through the stated Recraft credit cost, so an agent can distinguish inexpensive crisp upscaling from more expensive creative upscaling or batch work.

Setup and configuration

Use Node.js 20.9.0 or newer; Node.js 18 is not supported. Create a Recraft account and obtain an API key from its account settings. The documented Claude CLI setup installs the package with npx and supplies the key through RECRAFT_API_KEY:

Terminal
claude mcp add --scope user recraft \
  -e RECRAFT_API_KEY=your-api-key-here \
  -- npx -y recraft-mcp-server

The same command and environment variable can be placed in an MCP client’s manual server configuration. Keep the API key out of prompts and source files, and ensure the client can launch the local npx process.

Tools and capabilities

The recraft-mcp-server MCP server provides 28 tools grouped around these tasks:

  • Generate images, sized assets, batches, themed sets, and style comparisons.
  • Explore variations, find similar results, and enhance prompts.
  • Transform images through image-to-image, inpainting, background generation or replacement, outpainting, variation, and texture swaps.
  • Remove backgrounds, vectorize raster images, upscale graphics or photos, and erase regions.
  • Create, list, inspect, and delete custom styles, or list built-in styles.
  • Download images, run the generate-to-file pipeline, and inspect account credits.

Limitations and notes

This package uses Recraft API units rather than the hosted Recraft service’s subscription credits. Operations can have substantially different costs, so batch and enhancement workflows should be checked before execution. Local file reading and writing are supported by this package, while the hosted Recraft endpoint is described as URL- and base64-based.

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

Reviews

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

Frequently Asked Questions about Recraft MCP Server

recraft-mcp-server is an MCP server that connects AI assistants to the Recraft image generation API. Its main tools generate, transform, upscale, vectorize, and save images, manage custom styles, remove backgrounds, create asset pipelines, and check remaining API credits through a local Node.js process.

Install it by running it through `npx` from an MCP client configuration and setting `RECRAFT_API_KEY`. The documented Claude command uses `claude mcp add --scope user recraft -e RECRAFT_API_KEY=your-api-key-here -- npx -y recraft-mcp-server`.

recraft-mcp-server requires Node.js 20.9.0 or newer.

Yes, it is described as usable with any MCP client, which includes clients that support standard MCP server configurations.

It returns the credit cost reported by Recraft for each operation. The `recraft_check_credits` tool reads account information and remaining credits, while previews can be disabled with `preview: false` when image inspection is unnecessary.

Related MCP servers

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

AllMCPs Directory Badge

Full Badge Customizer

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

Badge Style:
Live Dynamic SVG PreviewRecraft MCP Server AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/recraft-mcp-server?style=directory)](https://allmcps.com/mcp/recraft-mcp-server)
HTML Embed
<a href="https://allmcps.com/mcp/recraft-mcp-server"><img src="https://allmcps.com/api/badge/recraft-mcp-server?style=directory" alt="Recraft MCP Server on AllMCPs" /></a>