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 |
Capabilities
Features and capabilities supported by this server
| 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 | |
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/BartWaardenburg/recraft-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server