Skip to main content
Glama

Recraft AI MCP Server

Official
by recraft-ai

This is an MCP (Model Context Protocol) Server integrating MCP Clients with Recraft AI's raster and vector image operations:

  • raster and vector images generation
  • raster and vector images editing
  • creating custom styles and generating images in them
  • vectorization of raster images
  • background removal and replacement
  • upscaling of raster images

By connecting this MCP Server to your MCP Client you will be able to generate high-quality raster and vector images using Recraft, combining different tools.

Tools

In this MCP you can use the following tools:

Tool NameDescriptionParametersPrice
generate_imageGenerates raster/vector images from prompt- prompt - style - size - model - number of images$0.04/$0.08 per raster/vector image
image_to_imageGenerates raster/vector images from image and prompt- image - prompt - similarity strength - style - size - model - number of images$0.04/$0.08 per raster/vector image
create_styleCreates a style from the list of images- list of images - basic style$0.04
vectorize_imageVectorizes raster image- image$0.01
remove_backgroundRemoves background in image- image$0.01
replace_backgroundGenerates new background in image from prompt- image - prompt for background - style - size - model - number of images$0.04/$0.08 per raster/vector image
crisp_upscaleCrisp upscale of image- image$0.004
creative_upscaleCreative upscale of image- image$0.25
get_userGet information about the user and left balance

You can find the detailed explanation of tools, their parameters, and prices in Recraft AI API docs.

Setup

Prerequisites

  • First of all, you will need a Recraft AI API key. To obtain it, register your account on Recraft AI, go to your profile API page. Here you can buy API units (credits), and generate an API key.
  • You're going to need Node working on your machine so you can run npx or node commands in your terminal. If you don't have Node, you can install it from nodejs.org.
  • You will need to have some MCP client installed, for example Claude Desktop.

Manual setup

Modify your claude_desktop_config.json file to add the following:

{ "mcpServers": { "recraft": { "command": "npx", "args": [ "-y", "@recraft-ai/mcp-recraft-server" ], "env": { "RECRAFT_API_KEY": "<YOUR_RECRAFT_API_KEY>", "IMAGE_STORAGE_DIRECTORY": "<YOUR_IMAGE_STORAGE_DIRECTORY>" } } } }

Manual setup (from source)

Clone this repository:

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

In the directory with cloned repository run:

npm install npm run build

Modify your claude_desktop_config.json file to add the following:

{ "mcpServers": { "recraft": { "command": "node", "args": ["absolute path to cloned directory /dist/index.js"], "env": { "RECRAFT_API_KEY": "<YOUR_RECRAFT_API_KEY>", "IMAGE_STORAGE_DIRECTORY": "<YOUR_IMAGE_STORAGE_DIRECTORY>" } } } }

You can specify these parameters:

  • RECRAFT_API_KEY: mandatory parameter, your Recraft AI API key.
  • IMAGE_STORAGE_DIRECTORY: optional parameter, you can specify the directory in which all generated images will be stored. By default this directory is $HOME_DIR/.mcp-recraft-server.
-
security - not tested
A
license - permissive license
-
quality - not tested

hybrid server

The server is able to function both locally and remotely, depending on the configuration or use case.

An MCP server that integrates with Recraft AI to enable generation and manipulation of high-quality raster and vector images through tools like image generation, editing, vectorization, background removal, and upscaling.

  1. Setup
    1. Prerequisites
    2. Manual setup
    3. Manual setup (from source)

Related MCP Servers

  • A
    security
    A
    license
    A
    quality
    An intelligent MCP server with a fully automated batch pipeline for web-ready images. Features include noise reduction, auto levels/curves, JPEG artifact removal, 4K resizing, smart sharpening with shadow/highlight enhancement, and advanced WebP conversion.
    Last updated -
    1
    5
    JavaScript
    MIT License
  • A
    security
    A
    license
    A
    quality
    Enables the generation of images using Together AI's models through an MCP server, supporting customizable parameters such as model selection, image dimensions, and output directory.
    Last updated -
    1
    4
    JavaScript
    MIT License
    • Apple
    • Linux
  • A
    security
    F
    license
    A
    quality
    An advanced MCP server for Cline that leverages EverArt's AI models to generate vector and raster images, supporting flexible storage, multiple formats, and robust image generation capabilities.
    Last updated -
    3
    1
    JavaScript
  • -
    security
    A
    license
    -
    quality
    MCP Tool Server for Logo Generation. This server provides logo generation capabilities using FAL AI, with tools for image generation, background removal, and image scaling.
    Last updated -
    159
    Python
    GPL 3.0
    • Apple
    • Linux

View all related MCP servers

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/recraft-ai/mcp-recraft-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server