{
  "dxt_version": "0.1",
  "name": "Recraft",
  "version": "1.6.5",
  "description": "Generate and edit images using Recraft",
  "long_description": "This is MCP Server integrating MCP Clients with Recraft raster and vector image operations: image generation and editing, creating custom styles and generating images in them, vectorization of raster images, image background removal and replacement, image upscaling.",
  "author": {
    "name": "Recraft",
    "email": "help@recraft.ai",
    "url": "https://recraft.ai"
  },
  "homepage": "https://recraft.ai",
  "documentation": "https://www.recraft.ai/docs",
  "support": "https://www.recraft.ai/contact",
  "icon": "images/recraft-icon.svg",
  "server": {
    "type": "node",
    "entry_point": "dist/index.js",
    "mcp_config": {
      "command": "node",
      "args": [
        "${__dirname}/dist/index.js"
      ],
      "env": {
        "RECRAFT_API_KEY": "${user_config.RECRAFT_API_KEY}",
        "IMAGE_STORAGE_DIRECTORY": "${user_config.IMAGE_STORAGE_DIRECTORY}",
        "RECRAFT_REMOTE_RESULTS_STORAGE": "${user_config.RECRAFT_REMOTE_RESULTS_STORAGE}"
      }
    }
  },
  "tools": [
    {
      "name": "generate_image",
      "description": "Generate an image using Recraft from a text prompt."
    },
    {
      "name": "create_style",
      "description": "Create a style in Recraft from the set of style reference images."
    },
    {
      "name": "vectorize_image",
      "description": "Vectorize an input image using Recraft."
    },
    {
      "name": "image_to_image",
      "description": "Generate an image using Recraft from an input image and a text prompt."
    },
    {
      "name": "remove_background",
      "description": "Remove background in the input image using Recraft."
    },
    {
      "name": "replace_background",
      "description": "Generate an image using Recraft from an input image with its detected background replaced based on the prompt."
    },
    {
      "name": "crisp_upscale",
      "description": "Crisp upscale of the input image using Recraft."
    },
    {
      "name": "creative_upscale",
      "description": "Creative upscale of the input image using Recraft."
    },
    {
      "name": "get_user",
      "description": "Get information about the current Recraft API user."
    }
  ],
  "user_config": {
    "RECRAFT_API_KEY": {
      "type": "string",
      "title": "Recraft API key",
      "description": "Recraft API key can be obtained at https://www.recraft.ai/profile/api",
      "required": true,
      "sensitive": true
    },
    "RECRAFT_REMOTE_RESULTS_STORAGE": {
      "type": "boolean",
      "title": "Store generated images remotely",
      "description": "If true, generated images will be stored remotely instead of locally",
      "required": false,
      "sensitive": false,
      "default": false
    },
    "IMAGE_STORAGE_DIRECTORY": {
      "type": "string",
      "title": "Image Storage Directory",
      "description": "Local directory where all generated images will be stored",
      "required": false,
      "sensitive": false,
      "default": "${HOME}/.mcp-recraft-server"
    }
  },
  "keywords": [
    "recraft",
    "ai",
    "recraft ai",
    "image generation",
    "image editing",
    "image vectorization",
    "image upscaling"
  ],
  "repository": {
    "type": "git",
    "url": "https://github.com/recraft-ai/mcp-recraft-server.git"
  }
}
