Sponsored by Deepsite.site

Recraft AI

Created By
recraft-ai7 months ago
Content


Recraft AI MCP Server

npm version npm downloads

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@latest"
      ],
      "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.

Server Config

{
  "mcpServers": {
    "recraft": {
      "command": "npx",
      "args": [
        "-y",
        "@recraft-ai/mcp-recraft-server@latest"
      ],
      "env": {
        "RECRAFT_API_KEY": "<YOUR_RECRAFT_API_KEY>",
        "IMAGE_STORAGE_DIRECTORY": "<YOUR_IMAGE_STORAGE_DIRECTORY>"
      }
    }
  }
}
Recommend Servers
TraeBuild with Free GPT-4.1 & Claude 3.7. Fully MCP-Ready.
MCP AdvisorMCP Advisor & Installation - Use the right MCP server for your needs
WindsurfThe new purpose-built IDE to harness magic
Baidu Map百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Visual Studio Code - Open Source ("Code - OSS")Visual Studio Code
EdgeOne Pages MCPAn MCP service designed for deploying HTML content to EdgeOne Pages and obtaining an accessible public URL.
Jina AI MCP ToolsA Model Context Protocol (MCP) server that integrates with Jina AI Search Foundation APIs.
CursorThe AI Code Editor
ChatWiseThe second fastest AI chatbot™
TimeA Model Context Protocol server that provides time and timezone conversion capabilities. This server enables LLMs to get current time information and perform timezone conversions using IANA timezone names, with automatic system timezone detection.
Context7Context7 MCP Server -- Up-to-date code documentation for LLMs and AI code editors
MiniMax MCPOfficial MiniMax Model Context Protocol (MCP) server that enables interaction with powerful Text to Speech, image generation and video generation APIs.
Serper MCP ServerA Serper MCP Server
Tavily Mcp
AiimagemultistyleA Model Context Protocol (MCP) server for image generation and manipulation using fal.ai's Stable Diffusion model.
DeepChatYour AI Partner on Desktop
Playwright McpPlaywright MCP server
Amap Maps高德地图官方 MCP Server
Howtocook Mcp基于Anduin2017 / HowToCook (程序员在家做饭指南)的mcp server,帮你推荐菜谱、规划膳食,解决“今天吃什么“的世纪难题; Based on Anduin2017/HowToCook (Programmer's Guide to Cooking at Home), MCP Server helps you recommend recipes, plan meals, and solve the century old problem of "what to eat today"
Zhipu Web SearchZhipu Web Search MCP Server is a search engine specifically designed for large models. It integrates four search engines, allowing users to flexibly compare and switch between them. Building upon the web crawling and ranking capabilities of traditional search engines, it enhances intent recognition capabilities, returning results more suitable for large model processing (such as webpage titles, URLs, summaries, site names, site icons, etc.). This helps AI applications achieve "dynamic knowledge acquisition" and "precise scenario adaptation" capabilities.
BlenderBlenderMCP connects Blender to Claude AI through the Model Context Protocol (MCP), allowing Claude to directly interact with and control Blender. This integration enables prompt assisted 3D modeling, scene creation, and manipulation.