recraft-mcp-server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| RECRAFT_TOOLSETS | No | Comma-separated toolsets to enable: generation, processing, styles | generation,processing,styles |
| RECRAFT_API_TOKEN | Yes | Your Recraft API token | |
| RECRAFT_CACHE_TTL | No | Cache TTL in seconds (0 to disable) | 120 |
| RECRAFT_MAX_RETRIES | No | Max retry attempts on rate limit (429) | 3 |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| generate_imageA | Generate images from a text prompt using Recraft AI. Supports multiple styles (realistic, illustration, vector, icon, logo), various sizes, and fine-tuning controls like color palette and artistic level. V4 models do not support style parameters — use the prompt to control style instead. |
| image_to_imageB | Transform an existing image based on a text prompt. The strength parameter controls how much the image changes (0.0 = minimal change, 1.0 = maximum change). Provide the image as a URL or base64-encoded string. |
| inpaint_imageA | Inpaint (fill in) a masked region of an image based on a text prompt. Requires the original image and a grayscale mask (white = inpaint, black = preserve). |
| replace_backgroundA | Replace the background of an image while preserving the foreground subject. Provide a text prompt describing the new background. |
| generate_backgroundB | Generate a background for an image using a mask to define the background area. The mask indicates which areas should be filled with the generated background. |
| remove_backgroundA | Remove the background from an image, leaving a transparent background. Provide the image as a URL or base64-encoded string. |
| erase_regionA | Erase a region from an image defined by a mask. The erased area is filled seamlessly. Provide the image and a grayscale mask (white = erase, black = preserve). |
| vectorize_imageA | Convert a raster image (PNG/JPG/WEBP) to a scalable vector SVG format. Useful for converting logos, icons, and illustrations to resolution-independent vectors. |
| crisp_upscaleA | Upscale an image with crisp, sharp detail preservation. Best for images where sharpness is important. Input image must be max 5MB and <4MP. |
| creative_upscaleA | Upscale an image with creative enhancement — adds detail and improves quality beyond simple scaling. Best for artistic images where added creative detail is desirable. Input image must be max 5MB and <16MP. |
| create_styleA | Create a custom style from 1-5 reference images. The style can be used in subsequent image generation by passing the returned style_id. Reference images define the visual style that will be applied. |
| get_styleB | Retrieve details of a custom style by its ID. |
| list_stylesA | List all custom styles created by the authenticated user. |
| list_basic_stylesA | List all available curated/basic styles provided by Recraft. These can be used as the style parameter in generation tools. |
| delete_styleA | Delete a custom style by its ID. This action is irreversible. |
| get_current_userA | Retrieve information about the authenticated user, including remaining credits. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 16 tools
Most tools have distinct purposes with clear descriptions. However, pairs like erase_region and inpaint_image (both fill regions) or generate_background and replace_background (both background-related) could cause confusion if descriptions are not carefully read.
Names follow a mostly consistent verb_noun pattern in snake_case. The lone exception is 'image_to_image', which is a noun phrase rather than a verb action. The modifiers in 'creative_upscale' and 'crisp_upscale' are acceptable but break the simple verb_noun scheme.
Sixteen tools is slightly above the ideal range for a focused server, but the number is justified by the breadth of image generation and editing operations. Each tool serves a distinct operation, and no tool appears redundant.
The tool set covers core image generation, style management, and common editing tasks. Missing operations include updating a style or batch processing, but these are not essential for the primary use case. The surface is generally well-rounded.