recraft-mcp-server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| RECRAFT_API_KEY | Yes | Your Recraft AI API key. |
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 |
|---|---|
| recraft_check_creditsA | Check your Recraft account info and remaining API credits |
| recraft_generate_imageA | Generate images from text prompt. Supports all Recraft models (V4, V4 Vector/SVG, V4 Pro, V3, V2), 70+ styles, color palette control, text layout, and multiple sizes. V4 Vector models produce SVG output. |
| recraft_image_to_imageB | Transform an existing image with a text prompt. Adjustable strength controls how much the original is preserved. V3/V3 Vector models only. |
| recraft_inpaintA | Edit specific regions of an image using a mask. White mask areas are regenerated, black areas are preserved. V3/V3 Vector only. |
| recraft_replace_backgroundA | Replace the background of an image with AI-generated content. Keeps the subject, changes the scene. V3/V3 Vector only. |
| recraft_generate_backgroundA | Fill masked background areas within an image's existing canvas (same size in, same size out). White mask = fill area, black = preserve. For expanding the canvas beyond the original image bounds, use recraft_outpaint instead. V3/V3 Vector only. |
| recraft_variate_imageC | Generate variations of an existing image. Produces similar but different versions. |
| recraft_remove_backgroundA | Remove the background from an image, producing a transparent PNG. |
| recraft_vectorizeA | Convert a raster image (PNG/JPG/WEBP) to SVG vector format. |
| recraft_crisp_upscaleA | Upscale an image with sharp, clean enhancement. Best for graphics, icons, illustrations. |
| recraft_creative_upscaleA | Upscale an image with AI-generated detail enhancement and face refinement. Best for photos and realistic images. |
| recraft_erase_regionB | Content-aware removal of a region in an image using a mask. White mask areas are erased and filled naturally. |
| recraft_create_styleA | Create a custom style from 1-5 reference images. Returns a style_id for use in generation tools. V3/V3 Vector only. |
| recraft_download_imageA | Download an image from a URL and save it to a local file. Useful for saving generated images. |
| recraft_generate_assetA | Full asset pipeline: generate image → download → optionally remove background → save to file. Perfect for game assets, icons, and UI elements. |
| recraft_batch_generateA | Generate multiple assets in sequence with full pipeline (generate → bg remove → save). Each asset failure does not stop others. Includes 300ms rate limit delay between assets. |
| recraft_generate_themed_setA | Generate a complete themed asset set for game design. Creates a hero asset, builds a custom style from it, then generates all remaining symbols with visual consistency. Optionally generates background and outputs a Pixi.js-compatible asset manifest. |
| recraft_generate_sizedA | Generate an image at any target size (including small sizes like 64x64, 128x128, 256x256). Generates at API-compatible size, then resizes with Lanczos3 downsampling. Perfect for game sprites, icons, and UI elements. |
| recraft_compare_stylesA | Generate the same prompt in multiple styles for side-by-side comparison. Creates individual images and an optional comparison grid. Great for choosing the best style for your project. |
| recraft_texture_swapA | Replace a specific region of an image with AI-generated content. Generates new content matching the region aspect ratio, resizes it, and composites it onto the original. Perfect for Spine atlas texture swaps and spritesheet updates. |
| recraft_outpaintA | Extend an image beyond its original boundaries with AI-generated content (canvas expansion). Different from recraft_generate_background, which only fills masked areas within the existing canvas. Specify a target size, per-side expand amounts, and/or a zoom-out percentage. V3/V3 Vector only. |
| recraft_exploreA | Generate a set of images for visual exploration and discovery — diverse results from a prompt, no fine-grained style/color control. Returns image IDs usable with recraft_explore_similar. |
| recraft_explore_similarA | Generate images visually similar to a source image previously created with recraft_explore. similarity controls how closely results resemble the source (1=slightly, 5=extremely similar). |
| recraft_enhance_promptA | Expand a short prompt into a richer, more detailed description with added visual context, style cues, and composition details. Use the result with any generation tool for more vivid output. |
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 24 tools
Most tools fall into clearly distinguishable categories such as generation, background editing, upscaling, and vectorization, but several close-purpose tools overlap, including inpaint/erase_region/texture_swap and image_to_image/variate_image/explore_similar. The descriptions help, but an agent would need to read carefully to avoid selecting the wrong editing tool.
All tools share the recraft_ prefix and use snake_case, which keeps things readable, but the underlying pattern is mixed: many are verb_noun (generate_image, remove_background), while others are single verbs (inpaint, vectorize), reversed noun_verb (texture_swap), or adverb/adjective_verb (batch_generate, creative_upscale). This is not chaotic, but it lacks a single predictable convention.
24 tools is at the heavy end of a reasonable range and approaches the threshold where the surface becomes hard to navigate. The breadth is somewhat justified by the wide scope of image generation, editing, background replacement, upscaling, asset pipelines, and style exploration, but several tools could potentially be consolidated.
The server covers the core lifecycle of image creation and manipulation: generating, editing, inpainting/outpainting, background changes, upscaling, vectorizing, style creation, comparison, and batch asset generation. Minor gaps exist, such as no listing or deletion of custom styles and no image metadata retrieval, but these do not block typical agent workflows.