> ## Documentation Index
> Fetch the complete documentation index at: https://www.recraft.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Recraft MCP Server Setup by Client

> Connect to Recraft's hosted MCP server without any local installation

> [!NOTE]
>
> For one-click setup in Claude, ChatGPT, Cursor and other assistants, see [recraft.ai/mcp](https://www.recraft.ai/mcp).

Recraft provides a hosted remote MCP server at `https://mcp.recraft.ai/mcp`. It supports the Streamable HTTP transport and uses OAuth 2.0 for authentication.

The server exposes all functionality available through the [Recraft API](https://www.recraft.ai/docs/api-reference/endpoints.md), including image generation, editing, vectorization, upscaling, background removal and replacement, and custom style creation.

## Billing

The MCP server consumes **subscription credits** from your Recraft plan, the same balance used by the Recraft Studio app. Each operation deducts credits according to the rates in [Plans and billing → Credits](https://www.recraft.ai/docs/plans-and-billing/credits.md). Free users receive a limited credit allowance; paid plans include a monthly allowance, with optional top-ups.

## Authentication

The MCP server uses OAuth 2.0. When you connect for the first time, your MCP client will initiate an OAuth flow and redirect you to Recraft to authorize access. Once authorized, the client stores the token and handles authentication automatically on subsequent requests.

## Setup by client

### Claude App

The Recraft MCP server works as a custom connector in the [Claude App](https://claude.ai/), on the web and in the desktop app.

The easiest way to install the connector is to follow this one-click link: [Add Recraft to Claude](https://claude.ai/customize/connectors?modal=add-custom-connector\&connectorName=Recraft\&connectorUrl=https%3A%2F%2Fmcp.recraft.ai%2Fmcp). The link opens the "Add custom connector" modal with the Recraft fields prefilled — review them and click **Add**.\
\


**One-click link:** [Add Recraft to Claude](https://claude.ai/customize/connectors?modal=add-custom-connector\&connectorName=Recraft\&connectorUrl=https%3A%2F%2Fmcp.recraft.ai%2Fmcp)

1. Open the link. Claude shows the "Add custom connector" dialog with the Recraft name and URL filled in.
2. Click **Continue**, then **Add**.
3. Click **Connect** and sign in with your Recraft account. No account? You can create one for free on the sign-in page.

Recraft is turned on in your chats right away. The first time Claude uses it, Claude asks you to allow Recraft's tools.

#### If the link only opens the Connectors page

* **On a free Claude plan,** you can have only one custom connector, and "Add custom connector" is grayed out if you already have one. Remove it in [Customize → Connectors](https://claude.ai/customize/connectors) or upgrade your Claude plan, then open the link again.
* **On a Team or Enterprise plan,** only an organization owner can add custom connectors. You'll see "Ask an organization owner to add this for your team".
* **Otherwise, add it manually:**
  1. In [Customize → Connectors](https://claude.ai/customize/connectors), click **+ Add**, then **Add custom connector**.
  2. Enter the name `Recraft` and the MCP server URL `https://mcp.recraft.ai/mcp`, then click **Continue** and **Add**.
  3. Click **Connect** and sign in with your Recraft account.

### ChatGPT

Recraft is available in the ChatGPT plugin directory and works on the web and in the desktop app, including the free plan.

1. Open [Recraft in ChatGPT](https://chatgpt.com/plugins/plugin_asdk_app_6aed17c309b08191b6ed162c57e695b8) and click **Install plugin**.
2. Click **Connect Recraft** and sign in with your Recraft account. No account? You can create one for free on the sign-in page.
3. Click **Try in chat**, or mention **@Recraft** in any chat.

ChatGPT also has its own image generation, and the mention makes sure it uses Recraft.

#### If you added Recraft manually before

If you connected Recraft as a custom MCP server earlier, you'll see two Recraft entries in the @ menu. Remove the manual one in [Plugins](https://chatgpt.com/plugins): open it, click **...**, then **Uninstall**.

#### Add it manually

If you can't install plugins from the directory (for example, on a work account), add Recraft as a custom MCP server:

1. Open [Plugins](https://chatgpt.com/plugins), click **Add**, then **Add custom MCP server** (on some accounts it's called **Add MCP server**).
2. Enter the name `Recraft`, paste `https://mcp.recraft.ai/mcp`, tick **I understand and want to continue** and click **Create as a plugin**.
3. Click **Connect Recraft** and sign in with your Recraft account.

If you don't see **Add custom MCP server**, your workspace admin may have turned custom MCP servers off.

### Gemini

Recraft works in the Gemini web and mobile apps after you add it on the web. It needs a personal Google account in the US with Gemini History on.

1. Copy the server URL: `https://mcp.recraft.ai/mcp`
2. On [gemini.google.com](https://gemini.google.com), open [Customize → Connectors](https://gemini.google.com/customize/connectors), click **Add a custom app** and paste the URL.
3. Click **Next** and sign in with your Recraft account. Then type **@** in your chat and pick Recraft.

If you don't see **Add a custom app**, your account doesn't meet these requirements: work and school accounts aren't supported.

### Claude Code

Run the following command in your terminal:

```bash theme={null}
claude mcp add --transport http recraft https://mcp.recraft.ai/mcp
```

Then run `/mcp` in a session to authenticate via OAuth.

Claude Code on the web also uses the connectors from your Claude account: add Recraft in the Claude App and it's available in your sessions.

> [!NOTE]
>
> **Allow image downloads on Claude Code on the web.** [Claude Code on the web](https://code.claude.com/docs/en/claude-code-on-the-web) runs in a managed container with restricted network access, so it may fail to download generated images from Recraft's image host. To fix this, allowlist the Recraft image host in the environment's **Network access** settings:
>
> 1. Open the environment for editing and find the **Network access** selector in the dialog.
> 2. Set the access level to **Custom**.
> 3. In the **Allowed domains** field, add the Recraft image host (one domain per line):
>    ```text theme={null}
>    img.recraft.ai
>    ```
> 4. Check **Also include default list of common package managers** to keep the default trusted domains alongside your custom entry.
>
> Once `img.recraft.ai` is allowed, Claude Code can download generated images without errors.

### Claude Desktop

Use the [Claude App](#claude-app) steps: connectors you add there also work in Claude Desktop.

If you need a local configuration instead, add this to `claude_desktop_config.json`:

```json theme={null}
{
  "mcpServers": {
    "recraft": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote",
        "https://mcp.recraft.ai/mcp"
      ]
    }
  }
}
```

On first use, `mcp-remote` will open a browser window to complete the OAuth flow.

### Cursor

Recraft MCP works in the Cursor desktop app.

Open your `~/.cursor/mcp.json` file and add the following configuration:

```json theme={null}
{
  "mcpServers": {
    "recraft": {
      "url": "https://mcp.recraft.ai/mcp"
    }
  }
}
```

### Visual Studio Code

Open your `.vscode/mcp.json` file (or your user settings) and add:

```json theme={null}
{
  "servers": {
    "recraft": {
      "type": "http",
      "url": "https://mcp.recraft.ai/mcp"
    }
  }
}
```

### Other MCP clients

Any MCP-compatible client that supports Streamable HTTP transport and OAuth can connect using:

* **URL:** `https://mcp.recraft.ai/mcp`
* **Transport:** Streamable HTTP

If your client does not support remote OAuth flows directly and requires a stdio-based command, use [`mcp-remote`](https://www.npmjs.com/package/mcp-remote):

```bash theme={null}
npx -y mcp-remote https://mcp.recraft.ai/mcp
```

## Supported operations

The server supports the full set of image operations available through the Recraft API, including:

* Generate raster and vector images from text prompts
* Create image variations and image-to-image transformations
* Edit selected parts of an image
* Remove selected objects or regions
* Remove, replace, or generate backgrounds
* Convert raster images into vector graphics
* Upscale images for either sharper or more detailed results
* Create custom styles from reference images
* View account details such as your remaining credits


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.