MCP Server implementation for recraft.ai API
Mcp recraft server mcp server connects MCP Recraft Server to AI assistants that speak the Model Context Protocol. MCP Server implementation for recraft.ai API.
This is an MCP (Model Context Protocol) server integrating MCP clients with Recraft's raster- and vector-image operations:
Once connected, the assistant can call these 12 tools directly:
style — sizemodel — number of images | $0.04/$0.08 per raster/vector image |prompt — similarity strengthgenerate_image — Generates raster/vector images from promptcreate_style — Creates a style from the list of imagesvectorize_image — Vectorizes raster imageimage_to_image — Generates raster/vector images from image and promptremove_background — Removes background in imagereplace_background — Generates new background in image from promptcrisp_upscale — Crisp upscale of imagecreative_upscale — Creative upscale of imageget_user — Get information about the user and left balanceThe server is distributed via npm as npm, so most clients can run it without a manual build step. Add it to your MCP client's configuration and restart the client to pick it up — the copy-paste configs for Claude Desktop, Claude Code and Cursor are on this page.
Before the server will start you need to supply 4 environment variables: RECRAFT_API_KEY, IMAGE_STORAGE_DIRECTORY, RECRAFT_REMOTE_RESULTS_STORAGE, YOUR_RECRAFT_API_KEY. Keep credentials in your client's env block or a secrets manager rather than committing them.
Developer-tool servers are usually the first ones people connect, because they turn "help me with this code" into an assistant that can actually read the repo and act on it. MCP Recraft Server sits in that group, and the shape of its toolset — style, model, prompt among others — tells you what it is really for. Worth comparing against the other developer tools servers in this directory before you commit to one, since several overlap in scope but differ sharply in setup cost and permissions.
| Tool | What it does |
|---|---|
| style | size |
| model | number of images | \$0.04/\$0.08 per raster/vector image | |
| prompt | similarity strength |
| generate_image | Generates raster/vector images from prompt |
| create_style | Creates a style from the list of images |
| vectorize_image | Vectorizes raster image |
| image_to_image | Generates raster/vector images from image and prompt |
| remove_background | Removes background in image |
| replace_background | Generates new background in image from prompt |
| crisp_upscale | Crisp upscale of image |
| creative_upscale | Creative upscale of image |
| get_user | Get information about the user and left balance |
{
"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>",
"RECRAFT_REMOTE_RESULTS_STORAGE": "<YOUR_REMOTE_RESULTS_STORAGE_INDICATOR>"
}
}
}
}Configuration as documented by the project. Restart the client after saving.
| Variable | Description | Required |
|---|---|---|
| RECRAFT_API_KEY | Credential the server authenticates with. | Yes |
| IMAGE_STORAGE_DIRECTORY | Filesystem location the server is allowed to use. | Optional |
| RECRAFT_REMOTE_RESULTS_STORAGE | Configuration value read at startup. | Optional |
| YOUR_RECRAFT_API_KEY | Credential the server authenticates with. | Yes |
Kill hallucinated APIs — version-accurate, up-to-date library documentation injected straight into context.
Microsoft's official browser automation server — drive a real browser through the accessibility tree, no screenshots needed.
GitHub's official server — repos, issues, pull requests, Actions and code security, straight from your assistant.
Issue tracking at the speed of conversation — Linear's official hosted server with OAuth and zero install.
Local repository surgery — status, diffs, commits, branches and history for any repo on disk.
Timezone sanity for AI — current time anywhere and correct conversions, without the model doing date math.