Recraft
Created 5 months ago
Recraft MCP Server integrating MCP clients with Recraft's image operations.
What is Recraft?
Generate raster and vector (SVG) images using [Recraft](https://recraft.ai). Also you can edit, upscale images, create your own styles, and vectorize raster images
Documentation
Table of Contents
Setup# Prerequisites
- First of all, you will need a Recraft API key. To obtain it, register your account on Recraft; then go to your profile API page. Here you can buy API units (credits) and generate an API key.
- You will need to have an MCP client installed, for example Claude Desktop.
Claude Desktop Extensions
If you are using Claude Desktop you can set up this server using Claude Desktop Extensions.
Smithery
You can find this MCP server on Smithery.
Manual Setup
You're going to need Node running 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.
From NPM
Modify your claude_desktop_config.json file to add the following:
{
"mcpServers": {
"recraft": {
"command": "npx",
"args": [
"-y",
"@recraft-ai/mcp-recraft-server@latest"
],
"env": {
"RECRAFT_API_KEY": "",
"IMAGE_STORAGE_DIRECTORY": "",
"RECRAFT_REMOTE_RESULTS_STORAGE": ""
}
}
}
}
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": ["/dist/index.js"],
"env": {
"RECRAFT_API_KEY": "",
"IMAGE_STORAGE_DIRECTORY": "",
"RECRAFT_REMOTE_RESULTS_STORAGE": ""
}
}
}
}
Tools
In this MCP you can use the following tools:
| Tool Name | Description | Parameters | Price |
|---|---|---|---|
generate_image |
Generates raster/vector images from prompt | - prompt - style - size - model - number of images | $0.04/$0.08 per raster/vector image |
create_style |
Creates a style from the list of images | - list of images - basic style | $0.04 |
vectorize_image |
Vectorizes raster image | - image | $0.01 |
image_to_image |
Generates 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 |
remove_background |
Removes background in image | - image | $0.01 |
replace_background |
Generates 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_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 |
Server Config
{
"mcpServers": {
"recraft-server": {
"command": "npx",
"args": [
"recraft"
]
}
}
}