
How to add Recraft MCP Server (Official) to Cursor
Official Recraft server for raster and vector image generation, vectorization, and editing. Paste the config into ~/.cursor/mcp.json and restart Cursor.
Last updated June 15, 2026 · 60★ · stdio · apikey · official
Cursor config for Recraft MCP Server (Official)
npx -y @recraft-ai/mcp-recraft-server@latest{
"mcpServers": {
"recraft-mcp-server-official": {
"command": "npx",
"args": [
"-y",
"@recraft-ai/mcp-recraft-server@latest"
],
"env": {
"RECRAFT_API_KEY": "<your-api-key>",
"IMAGE_STORAGE_DIRECTORY": "/absolute/path/to/output/dir"
}
}
}
}Setup steps
- 1Open Cursor → Settings → MCP → Add new MCP server (or edit ~/.cursor/mcp.json directly).
- 2Paste the Recraft MCP Server (Official) config below into the "mcpServers" object.
- 3Fill in placeholder secrets, then save.
- 4Cursor reloads MCP servers automatically — check Settings → MCP for a green status dot.
- 5Ask Cursor to use one of Recraft MCP Server (Official)'s tools to confirm it's connected.
Before you start
- Node.js installed (to run npx or node)
- A Recraft account at recraft.ai
- A Recraft API key generated from your profile's API page
- Recraft API credits purchased for your account (generation consumes credits)
- An MCP-capable client (Claude Desktop, Cursor, etc.)
What Recraft MCP Server (Official) can do in Cursor
generate_imageGenerate a raster or vector image from a text prompt
image_to_imageTransform or edit an existing image guided by a prompt
vectorize_imageConvert a raster image into a vector (SVG)
create_styleCreate a reusable custom style from reference images
remove_backgroundRemove the background from an image
replace_backgroundReplace an image's background based on a prompt
crisp_upscaleUpscale an image with a crisp, detail-preserving model
creative_upscaleUpscale an image with a creative, detail-enhancing model
Security
The Recraft API key bills generation usage to your account; keep it in env. Generated images are saved to IMAGE_STORAGE_DIRECTORY (defaults under your home dir), so point it somewhere safe.
Recraft MCP Server (Official) + Cursor FAQ
Where is the Cursor config file?
Cursor reads MCP servers from ~/.cursor/mcp.json. Paste the Recraft MCP Server (Official) config there under the "mcpServers" key and restart the client.
Is Recraft MCP Server (Official) safe to use with Cursor?
The Recraft API key bills generation usage to your account; keep it in env. Generated images are saved to IMAGE_STORAGE_DIRECTORY (defaults under your home dir), so point it somewhere safe.
How do I get an API key?
Register at recraft.ai, then generate a key from your profile's API page; you'll also use that page to buy API credits.
Can it output real vector files?
Yes. generate_image can produce vector output and vectorize_image converts existing rasters into SVG vectors.
What's the easiest way to install it?
Download the .dxt Claude Desktop Extension from the latest GitHub release and double-click it; npx and from-source installs are also documented.