Recraft

Recraft

An MCP server exposing Recraft's raster/vector image generation, editing, styling, and vectorization tools.

43
Stars
6
Forks
6
Releases

Overview

This MCP server provides a bridge between MCP clients and Recraft's raster and vector image operations. It enables generation and editing of raster and vector images, creation of custom styles, and vectorization of raster content. It also includes background removal and background replacement, and supports upscaling to improve image quality. By connecting an MCP client, users can chain tools to produce high-quality raster and SVG outputs by combining prompts, styles and input images. The server exposes tools such as generate_image, image_to_image, vectorize_image, remove_background, replace_background, crisp_upscale, and creative_upscale, with pricing aligned to the Recraft API docs. Configuration requires a Recraft API key and optional storage settings: RECRAFT_API_KEY is mandatory; IMAGE_STORAGE_DIRECTORY defines where generated images are stored locally (default: $HOME_DIR/.mcp-recraft-server); if RECRAFT_REMOTE_RESULTS_STORAGE is set to '1', all results will be stored remotely and URLs are returned, with IMAGE_STORAGE_DIRECTORY ignored in that case. You can install via npm (npx) or build from source, and there are deployment options through Claude Desktop Extensions or Smithery, which can also influence how results are stored remotely.

Details

Owner
recraft-ai
Language
TypeScript
License
MIT License
Updated
2025-12-07

Features

Generate image

Generates raster and vector images from prompts (prompt, style, size, model, number of images).

Edit image

Edits raster and vector images using the server's editing tools.

Create and apply styles

Creates a style from a list of images and generates outputs in that style.

Vectorize image

Vectorizes raster images into vector formats (vectorize_image).

Remove background

Removes the background from an image (remove_background).

Replace background

Generates a new background from a prompt and applies it to the image (replace_background).

Crisp upscale

Crisp upscale of images (crisp_upscale).

Creative upscale

Creative upscale of images (creative_upscale).

Tags

MCPRecraftimage generationimage editingvectorizationbackground removalbackground replacementupscalingSVGrastervector