> ## 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

> 在 ChatGPT、Claude、Codex 或 Cursor 中安装 Craft 插件，或将其他 AI 工具连接到 Craft。

## ChatGPT

**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**。

**Step 3**

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

**Step 4**

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

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

## Claude

**Step 1**

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

**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。

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

## Codex

Codex 使用 ChatGPT 插件。你可以在 [ChatGPT](#chatgpt) 中安装，也可以在 ChatGPT 桌面应用中切换到 **Codex** 并打开 **Plugins**。

如使用 Codex CLI，请运行：

```bash theme={null}
codex mcp add craft --url https://mcp.craft.do/my/mcp
codex mcp login craft
```

## Cursor

打开 **Cursor Settings** > **Plugins**，搜索 Craft，然后选择 **Install**。你也可以在对话中输入 `/add-plugin craft`。该插件需要 Cursor 3.13 或更高版本。

## 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。

## Visual Studio Code

**Step 1**

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

**Step 2**

选择 **HTTP (HTTP or Server-Sent Events)**，输入 `https://mcp.craft.do/my/mcp`，并输入 `craft` 作为服务器 ID。

**Step 3**

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

**Step 4**

登录 Craft，选择一个空间，然后选择 **Approve**。如果 VS Code 没有提示你登录，请在该服务器的操作中选择 **Authenticate**。

## Antigravity CLI

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

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

当 Antigravity CLI 提示时，登录 Craft，选择一个空间，然后选择 **Approve**。要检查连接，请输入 `/mcp` 打开 MCP Manager。

## Mistral Vibe

在 Vibe（原 Le Chat）中：

**Step 1**

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

**Step 2**

在 **Server** 中输入 `https://mcp.craft.do/my/mcp`，输入 `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，选择一个空间，然后选择 **Approve**。

**Step 4**

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

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

## Zapier

**Step 1**

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

**Step 2**

输入 `https://mcp.craft.do/my/mcp` 作为 **Server URL**，选择 **Streamable HTTP** 作为传输方式，并开启 **OAuth**。

**Step 3**

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

**Step 4**

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

## Raycast

在 Raycast 中使用 MCP 需要 Raycast Pro。

**Step 1**

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

**Step 2**

输入 `Craft` 作为名称，选择 **HTTP** 作为传输方式，输入 `https://mcp.craft.do/my/mcp`，并将 **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**。

**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，选择一个空间，然后选择 **Approve**。

## Craft Agents

在 [Craft Agents](https://thecraftagents.com) 对话中，让代理将 Craft 添加为来源，例如：“使用 [https://mcp.craft.do/my/mcp](https://mcp.craft.do/my/mcp) 将 Craft 添加为来源”。然后在打开的浏览器窗口中登录 Craft，选择一个空间，然后选择 **Approve**。

## 其他 MCP 客户端

任何支持通过 HTTP 连接远程 MCP 服务器的客户端都可以连接到 Craft，包括 Antigravity、Manus、OpenClaw 和 OpenCode。添加一个 URL 为 `https://mcp.craft.do/my/mcp` 的远程 MCP 服务器，然后登录 Craft，选择一个空间，并选择 **Approve**。如果客户端要求提供 OAuth 客户端 ID 或客户端密钥，请将两者留空。

如果只想连接部分文档而不是整个空间，请在**连接**选项卡中创建一个连接，并用它的 URL 替代 `https://mcp.craft.do/my/mcp`。如果该连接没有设置密码，请在 Zapier 和 Raycast 中跳过 OAuth 设置。在 Claude 中，请将其添加为[自定义连接器](https://support.claude.com/en/articles/11175166-getting-started-with-custom-connectors-using-remote-mcp)。

> [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.