> ## Documentation Index
> Fetch the complete documentation index at: https://craft-support.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# 在 ChatGPT、Claude 和其他 AI 工具中使用 Craft

> 通过 MCP 将 ChatGPT、Claude、Cursor 和其他 AI 工具连接到 Craft 的分步设置说明。

在使用 ChatGPT 或 Claude？在 [ChatGPT](#chatgpt) 或 [Claude](#claude) 中安装 Craft 插件，无需 URL。

## 开始之前

大多数工具会要求提供 MCP URL。请使用以下其中一种：

* **整个空间：** 使用 `https://mcp.craft.do/my/mcp`。连接时，登录 Craft，选择一个空间，然后选择 **Approve**。
* **特定内容：** 在**连接**选项卡中创建一个 MCP 连接并复制其 URL。如果该连接设有密码，请在登录时输入。

![Craft 登录界面，可在此选择空间并选择 Approve](https://mintcdn.com/craft-support/yEvyC2-RkiE2spXY/images/integrate/mcp/setup-guides/en/content/craft-authorize-space.png?fit=max\&auto=format\&n=yEvyC2-RkiE2spXY\&q=85\&s=adffade4e80826a6a36e1e856ce0e2ba)

> [!NOTE]
>
> MCP URL 不是网页，在浏览器中打开会显示错误。请将其粘贴到你的 AI 工具中。

有关连接类型和权限，请参阅 [MCP](https://craft-support.mintlify.site/zh-Hans/integrate/mcp.md)。

## ChatGPT

使用 Craft 插件，无需 MCP URL。

**Step 1**

在 ChatGPT 中打开 [Craft 插件页面](https://chatgpt.com/plugins/plugin_asdk_app_6973544cd0908191b63b0f566a23edb7)，或在 **Plugins** 下搜索 Craft。

![ChatGPT 中的 Craft 插件页面，显示 Install plugin 按钮](https://mintcdn.com/craft-support/yEvyC2-RkiE2spXY/images/integrate/mcp/setup-guides/en/content/chatgpt-plugin-page.png?fit=max\&auto=format\&n=yEvyC2-RkiE2spXY\&q=85\&s=7fb16c7c4f32d2b605692f5720f6144e)

**Step 2**

选择 **Install plugin**，然后选择 **Connect Craft**。

![ChatGPT 中的 Craft 插件，显示 Connect Craft 按钮](https://mintcdn.com/craft-support/yEvyC2-RkiE2spXY/images/integrate/mcp/setup-guides/en/content/chatgpt-connect-craft.png?fit=max\&auto=format\&n=yEvyC2-RkiE2spXY\&q=85\&s=eb7b3ef59fa8b41d7fce22d0bdb1ee24)

**Step 3**

登录 Craft，选择一个空间，然后选择 **Approve**。

**Step 4**

在对话中输入 `@` 并选择 Craft，或选择 **+** 后选择 Craft。

要管理或断开 Craft，请在 ChatGPT 中前往 **Settings** > **Plugins**。如果 Craft 在你的 ChatGPT 工作区中被禁用，请联系工作区管理员开启。

## Claude

使用 Craft 插件，无需 MCP URL。

**Step 1**

在 Claude 中打开 [Craft 插件页面](https://claude.ai/plugins/id/plugin_01W8yEcCxAADWypaKRTrfBkV)，或在侧边栏的 **Plugins** 下搜索 Craft。

![在 Claude 的 Plugins 中搜索 Craft](https://mintcdn.com/craft-support/yEvyC2-RkiE2spXY/images/integrate/mcp/setup-guides/en/content/claude-plugins-search.png?fit=max\&auto=format\&n=yEvyC2-RkiE2spXY\&q=85\&s=d5c8bdec64c47658efcfd8b4baa5e1ca)

**Step 2**

选择 Craft 连接器旁边的 **Connect**。

![Claude 中的 Craft 插件页面，显示 Connect 按钮](https://mintcdn.com/craft-support/yEvyC2-RkiE2spXY/images/integrate/mcp/setup-guides/en/content/claude-plugin-page.png?fit=max\&auto=format\&n=yEvyC2-RkiE2spXY\&q=85\&s=96dc658b1eaedb26c8643d53fcb4afed)

**Step 3**

登录 Craft，选择一个空间，然后选择 **Approve**。

**Step 4**

在对话中选择 **+** 并开启 Craft。

如需使用连接选项卡中的连接 URL，请将其添加为自定义连接器。请参阅 Anthropic 的[自定义连接器指南](https://support.claude.com/en/articles/11175166-getting-started-with-custom-connectors-using-remote-mcp)。在 Free 方案中，你可以添加一个自定义连接器。

你在网页版或桌面版中添加的连接器也会显示在 Claude 移动应用中。

## Claude Code

**Step 1**

在终端中运行：

```bash theme={null}
claude mcp add --transport http craft https://mcp.craft.do/my/mcp
```

要在所有项目中使用 Craft，请添加 `--scope user`。

**Step 2**

在 Claude Code 中运行 `/mcp`，然后按照步骤在浏览器中登录 Craft。

## Codex

ChatGPT 桌面应用（Codex）、Codex CLI 和 Codex IDE 扩展共享相同的设置，因此只需添加一次 Craft。

> [tab] 桌面应用
>
> **Step 1**
>
> 打开 **Settings** > **MCP servers**，选择 **Add server**。
>
> **Step 2**
>
> 输入 `craft` 作为名称，选择 **Streamable HTTP**，粘贴你的 MCP URL，然后保存。
>
> **Step 3**
>
> 选择 **Restart**，然后选择 **Authenticate** 登录 Craft。

> [tab] CLI
>
> **Step 1**
>
> 在终端中运行：
>
> ```bash theme={null}
> codex mcp add craft --url https://mcp.craft.do/my/mcp
> ```
>
> **Step 2**
>
> 登录 Craft：
>
> ```bash theme={null}
> codex mcp login craft
> ```

## Cursor

**Step 1**

将 Craft 添加到 `~/.cursor/mcp.json` 以在所有项目中使用，或添加到单个项目的 `.cursor/mcp.json` 中：

```json theme={null}
{
  "mcpServers": {
    "craft": {
      "url": "https://mcp.craft.do/my/mcp"
    }
  }
}
```

**Step 2**

在 Cursor 侧边栏中打开 **Customize**，确认 Craft 已开启，并在 Cursor 提示时登录 Craft。

## Visual Studio Code

**Step 1**

打开命令面板并运行 **MCP: Add Server**。

**Step 2**

选择 **HTTP (HTTP or Server-Sent Events)**，粘贴你的 MCP URL，并输入 `craft` 作为服务器 ID。

**Step 3**

选择 **Global**，然后选择 **Copilot Global**。

**Step 4**

按提示登录 Craft。你也可以在该服务器的操作中选择 **Authenticate**。

要手动添加 Craft，请将以下内容放入 `~/.copilot/mcp-config.json`：

```json theme={null}
{
  "mcpServers": {
    "craft": {
      "type": "http",
      "url": "https://mcp.craft.do/my/mcp"
    }
  }
}
```

## Antigravity CLI

在 Antigravity CLI（原 Gemini CLI）中：

**Step 1**

将 Craft 添加到 `~/.gemini/config/mcp_config.json` 以在所有项目中使用，或添加到单个工作区的 `.agents/mcp_config.json` 中：

```json theme={null}
{
  "mcpServers": {
    "craft": {
      "serverUrl": "https://mcp.craft.do/my/mcp"
    }
  }
}
```

**Step 2**

按提示登录 Craft。要检查连接，请输入 `/mcp` 打开 MCP Manager。

## Mistral Vibe

在 Vibe（原 Le Chat）中：

**Step 1**

在侧边栏中打开 **Context** > **Connectors**，选择 **New connector**，然后添加自定义连接器。

**Step 2**

在 **Server** 中粘贴你的 MCP URL，输入 `Craft` 作为 **Title**，然后选择 **Add connector**。

![Mistral Vibe 中的 Add custom connector 面板](https://mintcdn.com/craft-support/yEvyC2-RkiE2spXY/images/integrate/mcp/setup-guides/en/content/mistral-vibe-add-custom-connector.png?fit=max\&auto=format\&n=yEvyC2-RkiE2spXY\&q=85\&s=ae13826e563e32849d32f63b027d01a3)

**Step 3**

如有提示，请登录 Craft。

**Step 4**

在对话中选择 **+** > **Tools** 并开启 Craft。

只有管理员可以添加自定义连接器。在 Free 和 Pro 方案中，账户所有者即为管理员。

## Zapier

使用 **MCP Client by Zapier** 应用在 Zap 中运行 Craft 的工具。

**Step 1**

在 Zapier 中为 **MCP Client** 添加一个连接。

**Step 2**

将你的 MCP URL 粘贴为 **Server URL**，并选择 **Streamable HTTP** 作为传输方式。对于整个空间的 URL 或设有密码的连接，请开启 **OAuth** 并登录 Craft。

**Step 3**

在你的 Zap 中，添加 MCP Client 的 **Run tool** 操作。

## Raycast

在 Raycast 中使用 MCP 需要 Raycast Pro。

**Step 1**

打开 **Install MCP Server** 命令。

**Step 2**

输入 `Craft` 作为名称，选择 **HTTP** 作为传输方式，然后粘贴你的 MCP URL。对于整个空间的 URL 或设有密码的连接，请将 **OAuth Type** 设置为 **Dynamic**。

![Raycast 中的 Install MCP Server 表单](https://mintcdn.com/craft-support/yEvyC2-RkiE2spXY/images/integrate/mcp/setup-guides/en/content/raycast-install-mcp-server.png?fit=max\&auto=format\&n=yEvyC2-RkiE2spXY\&q=85\&s=52e3406253990ea310d8f1bff4945114)

**Step 3**

按 **Install**，然后选择 **Sign In** 登录 Craft。

**Step 4**

在 AI Chat 或 Quick AI 中，在问题前输入 `@Craft`。

## Devin Desktop

在 Devin Desktop（原 Windsurf）中：

**Step 1**

打开 **Customize** > **MCPs**。在 **This computer** 下，打开配置文件（`~/.config/devin/mcp_config.json`）。

**Step 2**

添加 Craft 并保存文件：

```json theme={null}
{
  "mcpServers": {
    "craft": {
      "url": "https://mcp.craft.do/my/mcp"
    }
  }
}
```

**Step 3**

刷新列表，并按提示登录 Craft。

## Craft Agents

**Step 1**

在 [Craft Agents](https://thecraftagents.com) 对话中，让代理将 Craft 添加为来源，例如：“使用 [https://mcp.craft.do/my/mcp](https://mcp.craft.do/my/mcp) 将 Craft 添加为来源”。

**Step 2**

在打开的浏览器窗口中登录 Craft，选择一个空间，然后选择 **Approve**。

## 其他 MCP 客户端

任何支持通过 HTTP 连接远程 MCP 服务器的客户端都可以连接到 Craft，包括 Antigravity、Manus、OpenClaw 和 OpenCode。在客户端中添加一个远程 MCP 服务器，然后粘贴你的 MCP URL。

如果客户端要求提供 OAuth 客户端 ID 或客户端密钥，请将两者留空。Craft 会在你登录时自动注册该客户端。

> [card] [MCP](https://craft-support.mintlify.site/zh-Hans/integrate/mcp.md)
>
> 连接类型、权限和故障排除

> [card] [MCP 安全](https://craft-support.mintlify.site/zh-Hans/integrate/mcp/security.md)
>
> MCP 连接的访问控制


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