Recraft AI MCP Server

Recraft AI MCP Server

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.

Category
Visit Server

README

<div align="center"> <h1> <img src="images/recraft.svg" width="500px"> <br/>Recraft AI MCP Server </h1>

<img src="https://badge.mcpx.dev?type=server" title="MCP Server"/> <img src="https://img.shields.io/npm/v/@recraft-ai/mcp-recraft-server" alt="npm version"/> <img src="https://img.shields.io/npm/dw/@recraft-ai/mcp-recraft-server" alt="npm downloads"/> </div>

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 Name Description Parameters Price
generate_image Generates raster/vector images from prompt - prompt <br/> - style <br/> - size <br/> - model <br/> - number of images $0.04/$0.08 per raster/vector image
image_to_image Generates raster/vector images from image and prompt - image <br/> - prompt <br/> - similarity strength <br/> - style <br/> - size <br/> - model <br/> - number of images $0.04/$0.08 per raster/vector image
create_style Creates a style from the list of images - list of images <br/> - basic style $0.04
vectorize_image Vectorizes raster image - image $0.01
remove_background Removes background in image - image $0.01
replace_background Generates new background in image from prompt - image <br/> - prompt for background <br/> - style <br/> - size <br/> - model <br/> - number of images $0.04/$0.08 per raster/vector image
crisp_upscale Crisp upscale of image - image $0.004
creative_upscale Creative upscale of image - image $0.25
get_user Get 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.

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured