立即开始

WEEGLOO 是一个把你创建的界面完善成真实服务的平台。你无需学习内容工作室的用法,也无需了解通信格式,只要用自然语言吩咐你正在使用的 AI 智能体,它就会把会员、数据、发布、部署等界面背后所需的一切自动准备好。底层有一套连大规模服务都能承载的内容管理系统(CMS),无论什么样的服务都能搭建在它之上。连接之后,说一句话就够了。

1. 准备工作

运行下面的安装命令需要 Node.js。请先使用以下命令确认是否已安装,以及版本是否为 18 或更高版本。

终端
node --version # 显示 v18 及以上即可 npx --version # 显示版本号即可

如果已安装 Node.js 但没有 npx,请使用下面的命令将 npm 更新到最新版本。更新 npm 时会一并安装 npx。

终端
npm install -g npm@latest

如果尚未安装 Node.js,或者版本过低,请根据你使用的操作系统安装 Node.js。

终端
brew install node

如果没有 Homebrew,请先从 brew.sh 安装,或者从 nodejs.org 直接下载 Node.js。

终端
winget install OpenJS.NodeJS.LTS

如果尚未安装 winget,或者无法识别该命令,请从 nodejs.org 下载 LTS 安装文件。安装完成后,需要重新打开终端。

发行版的软件包可能不是最新版本,因此建议使用可在多种发行版上使用的 nvm 进行安装。

终端
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.5/install.sh | bash source ~/.bashrc nvm install --lts

如需直接下载安装文件,请前往 nodejs.org 查看。

2. 连接 AI 智能体

选择你在用的编程工具。基本安装只需复制本页的安装命令,在终端中运行一次即可。如果想逐步自行选择安装过程,请打开自定义安装

所用工具

1

安装 MCP · Skills

复制安装命令,在终端中运行。

终端
$ npx weegloo@latest -y \ --agent claude \ --token <Personal Access Token>
2

连接 MCP 认证

请按下面的顺序进行认证。

此步骤需要 Claude Code CLI(claude)。如果还没有,请安装 Claude Code

  1. 在终端中运行 Claude Code。

    终端
    claude
  2. 输入 /mcp 打开 MCP 服务器管理界面。

    终端
    /mcp
  3. 在列表中选择 weegloo。它会显示为 needs authentication 状态。

    终端
    Manage MCP servers > weegloo · ∆ needs authentication weegloo-upload · √ connected
  4. 确认连接地址是否为 https://ai.weegloo.com/mcp,然后选择 Authenticate

    终端
    Weegloo MCP Server Status: ∆ needs authentication URL: https://ai.weegloo.com/mcp > 1. Authenticate 2. Disable
  5. 选择 Authenticate 后,浏览器中会打开 WEEGLOO 认证页面。用下面的复制令牌按钮复制令牌并粘贴,然后点击连接服务器。当 weegloo 变为 connected 时即完成。

以交互方式运行 npx weegloo,逐项选择进行安装。

安装位置
1

运行安装工具

在终端中运行下面的命令,依次选择所问的项目。在询问令牌的地方,用下面的复制令牌按钮复制令牌并粘贴。

终端
npx weegloo@latest
终端
✔ Select your IDE: Claude Code ✔ What would you like to install? MCP server, Skills and Rules ✔ Enter your Weegloo Personal Access Token: **** ← 复制的令牌 ✔ Select the MCP server group: default ✔ Where would you like to install the configuration? Global … ✔ Installation complete!
2

连接 MCP 认证

请按下面的顺序进行认证。

此步骤需要 Claude Code CLI(claude)。如果还没有,请安装 Claude Code

  1. 在终端中运行 Claude Code。

    终端
    claude
  2. 输入 /mcp 打开 MCP 服务器管理界面。

    终端
    /mcp
  3. 在列表中选择 weegloo。它会显示为 needs authentication 状态。

    终端
    Manage MCP servers > weegloo · ∆ needs authentication weegloo-upload · √ connected
  4. 确认连接地址是否为 https://ai.weegloo.com/mcp,然后选择 Authenticate

    终端
    Weegloo MCP Server Status: ∆ needs authentication URL: https://ai.weegloo.com/mcp > 1. Authenticate 2. Disable
  5. 选择 Authenticate 后,浏览器中会打开 WEEGLOO 认证页面。用下面的复制令牌按钮复制令牌并粘贴,然后点击连接服务器。当 weegloo 变为 connected 时即完成。

1

运行安装工具

先进入要对接的项目文件夹,然后在该文件夹中运行下面的命令,依次选择所问的项目。在询问令牌的地方,用下面的复制令牌按钮复制令牌并粘贴。务必在该项目文件夹内运行。

终端
npx weegloo@latest
终端
✔ Select your IDE: Claude Code ✔ What would you like to install? MCP server, Skills and Rules ✔ Enter your Weegloo Personal Access Token: **** ← 复制的令牌 ✔ Select the MCP server group: default ✔ Where would you like to install the configuration? Project … ✔ Installation complete!
2

连接 MCP 认证

请按下面的顺序进行认证。

此步骤需要 Claude Code CLI(claude)。如果还没有,请安装 Claude Code

  1. 在终端中运行 Claude Code。务必在要对接的项目文件夹内运行。

    终端
    claude
  2. 首次运行时,可能会询问是否启用新的 MCP 服务器。这种情况下,确认 weeglooweegloo-upload 处于已勾选状态,然后按 Enter 提交。

    终端
    New MCP servers found in .mcp.json Select any you wish to enable. > [√] weegloo [√] weegloo-upload
  3. 输入 /mcp 打开 MCP 服务器管理界面。

    终端
    /mcp
  4. 在列表中选择 weegloo。它会显示为 needs authentication 状态。

    终端
    Manage MCP servers > weegloo · ∆ needs authentication weegloo-upload · √ connected

    如果列表中看不到服务器:如果在列表中看不到 weeglooweegloo-upload,可能是在第 2 步的启用界面没有提交,或者处于已停用状态。请退出 Claude Code,在终端中输入下面的命令,然后重新运行 claude。如果再次出现与第 2 步相同的界面,请在 weeglooweegloo-upload 处于勾选状态下按 Enter 提交。

    终端
    claude mcp reset-project-choices
  5. 确认连接地址是否为 https://ai.weegloo.com/mcp,然后选择 Authenticate

    终端
    Weegloo MCP Server Status: ∆ needs authentication URL: https://ai.weegloo.com/mcp > 1. Authenticate 2. Disable
  6. 选择 Authenticate 后,浏览器中会打开 WEEGLOO 认证页面。用下面的复制令牌按钮复制令牌并粘贴,然后点击连接服务器。当 weegloo 变为 connected 时即完成。

1

安装 MCP · Skills

复制安装命令,在终端中运行。

终端
$ npx weegloo@latest -y \ --agent claude \ --token <Personal Access Token>
2

连接 MCP 认证

请按下面的顺序进行认证。

  1. 在终端中运行 Claude Code。

    终端
    claude
  2. 输入 /mcp 打开 MCP 服务器管理界面。

    终端
    /mcp
  3. 在列表中选择 weegloo。它会显示为 needs authentication 状态。

    终端
    Manage MCP servers > weegloo · ∆ needs authentication weegloo-upload · √ connected
  4. 确认连接地址是否为 https://ai.weegloo.com/mcp,然后选择 Authenticate

    终端
    Weegloo MCP Server Status: ∆ needs authentication URL: https://ai.weegloo.com/mcp > 1. Authenticate 2. Disable
  5. 选择 Authenticate 后,浏览器中会打开 WEEGLOO 认证页面。用下面的复制令牌按钮复制令牌并粘贴,然后点击连接服务器。当 weegloo 变为 connected 时即完成。

以交互方式运行 npx weegloo,逐项选择进行安装。

安装位置
1

运行安装工具

在终端中运行下面的命令,依次选择所问的项目。在询问令牌的地方,用下面的复制令牌按钮复制令牌并粘贴。

终端
npx weegloo@latest
终端
✔ Select your IDE: Claude Code ✔ What would you like to install? MCP server, Skills and Rules ✔ Enter your Weegloo Personal Access Token: **** ← 复制的令牌 ✔ Select the MCP server group: default ✔ Where would you like to install the configuration? Global … ✔ Installation complete!
2

连接 MCP 认证

请按下面的顺序进行认证。

  1. 在终端中运行 Claude Code。

    终端
    claude
  2. 输入 /mcp 打开 MCP 服务器管理界面。

    终端
    /mcp
  3. 在列表中选择 weegloo。它会显示为 needs authentication 状态。

    终端
    Manage MCP servers > weegloo · ∆ needs authentication weegloo-upload · √ connected
  4. 确认连接地址是否为 https://ai.weegloo.com/mcp,然后选择 Authenticate

    终端
    Weegloo MCP Server Status: ∆ needs authentication URL: https://ai.weegloo.com/mcp > 1. Authenticate 2. Disable
  5. 选择 Authenticate 后,浏览器中会打开 WEEGLOO 认证页面。用下面的复制令牌按钮复制令牌并粘贴,然后点击连接服务器。当 weegloo 变为 connected 时即完成。

1

运行安装工具

先进入要对接的项目文件夹,然后在该文件夹中运行下面的命令,依次选择所问的项目。在询问令牌的地方,用下面的复制令牌按钮复制令牌并粘贴。务必在该项目文件夹内运行。

终端
npx weegloo@latest
终端
✔ Select your IDE: Claude Code ✔ What would you like to install? MCP server, Skills and Rules ✔ Enter your Weegloo Personal Access Token: **** ← 复制的令牌 ✔ Select the MCP server group: default ✔ Where would you like to install the configuration? Project … ✔ Installation complete!
2

连接 MCP 认证

请按下面的顺序进行认证。

  1. 在终端中运行 Claude Code。务必在要对接的项目文件夹内运行。

    终端
    claude
  2. 首次运行时,可能会询问是否启用新的 MCP 服务器。这种情况下,确认 weeglooweegloo-upload 处于已勾选状态,然后按 Enter 提交。

    终端
    New MCP servers found in .mcp.json Select any you wish to enable. > [√] weegloo [√] weegloo-upload
  3. 输入 /mcp 打开 MCP 服务器管理界面。

    终端
    /mcp
  4. 在列表中选择 weegloo。它会显示为 needs authentication 状态。

    终端
    Manage MCP servers > weegloo · ∆ needs authentication weegloo-upload · √ connected

    如果列表中看不到服务器:如果在列表中看不到 weeglooweegloo-upload,可能是在第 2 步的启用界面没有提交,或者处于已停用状态。请退出 Claude Code,在终端中输入下面的命令,然后重新运行 claude。如果再次出现与第 2 步相同的界面,请在 weeglooweegloo-upload 处于勾选状态下按 Enter 提交。

    终端
    claude mcp reset-project-choices
  5. 确认连接地址是否为 https://ai.weegloo.com/mcp,然后选择 Authenticate

    终端
    Weegloo MCP Server Status: ∆ needs authentication URL: https://ai.weegloo.com/mcp > 1. Authenticate 2. Disable
  6. 选择 Authenticate 后,浏览器中会打开 WEEGLOO 认证页面。用下面的复制令牌按钮复制令牌并粘贴,然后点击连接服务器。当 weegloo 变为 connected 时即完成。

1

安装 MCP · Skills

复制安装命令,在终端中运行。

终端
$ npx weegloo@latest -y \ --agent codex \ --token <Personal Access Token>
2

连接 MCP 认证

请按下面的顺序进行认证。

  1. 在终端中运行下面的命令后,浏览器中会打开 WEEGLOO 认证页面。

    终端
    codex mcp login weegloo
  2. 在打开的 WEEGLOO 认证页面中,用下面的复制令牌按钮复制令牌并粘贴,然后点击连接服务器已经在运行的智能体需要在认证完成后重启才会生效。

以交互方式运行 npx weegloo,逐项选择进行安装。

安装位置
1

运行安装工具

在终端中运行下面的命令,依次选择所问的项目。在询问令牌的地方,用下面的复制令牌按钮复制令牌并粘贴。

终端
npx weegloo@latest
终端
✔ Select your IDE: Codex ✔ What would you like to install? MCP server, Skills and Rules ✔ Enter your Weegloo Personal Access Token: **** ← 复制的令牌 ✔ Select the MCP server group: default ✔ Where would you like to install the configuration? Global … ✔ Installation complete!
2

连接 MCP 认证

请按下面的顺序进行认证。

  1. 在终端中运行下面的命令后,浏览器中会打开 WEEGLOO 认证页面。

    终端
    codex mcp login weegloo
  2. 在打开的 WEEGLOO 认证页面中,用下面的复制令牌按钮复制令牌并粘贴,然后点击连接服务器已经在运行的智能体需要在认证完成后重启才会生效。

1

运行安装工具

先进入要对接的项目文件夹,然后在该文件夹中运行下面的命令,依次选择所问的项目。在询问令牌的地方,用下面的复制令牌按钮复制令牌并粘贴。务必在该项目文件夹内运行。

终端
npx weegloo@latest
终端
✔ Select your IDE: Codex ✔ What would you like to install? MCP server, Skills and Rules ✔ Enter your Weegloo Personal Access Token: **** ← 复制的令牌 ✔ Select the MCP server group: default ✔ Where would you like to install the configuration? Project … ✔ Installation complete!
2

连接 MCP 认证

请按下面的顺序进行认证。

  1. 在终端中运行下面的命令后,浏览器中会打开 WEEGLOO 认证页面。

    终端
    codex mcp login weegloo
  2. 在打开的 WEEGLOO 认证页面中,用下面的复制令牌按钮复制令牌并粘贴,然后点击连接服务器已经在运行的智能体需要在认证完成后重启才会生效。

1

安装 MCP · Skills

复制安装命令,在终端中运行。

终端
$ npx weegloo@latest -y \ --agent cursor \ --token <Personal Access Token>
2

连接 MCP 认证

请按下面的顺序进行认证。

  1. 点击 Cursor 左下角的齿轮图标,打开设置。

  2. 在左侧设置菜单中选择 Tools & MCPs,会打开 Home 标签页。点击 weegloo 右侧的 Connect

  3. 浏览器中会打开 WEEGLOO 认证页面。用复制令牌按钮复制令牌并粘贴,然后点击连接服务器

  4. 通过 weeglooweegloo-upload 旁边亮起的绿色圆点,可以确认连接成功。

以交互方式运行 npx weegloo,逐项选择进行安装。

安装位置
1

运行安装工具

在终端中运行下面的命令,依次选择所问的项目。在询问令牌的地方,用下面的复制令牌按钮复制令牌并粘贴。

终端
npx weegloo@latest
终端
✔ Select your IDE: Cursor ✔ What would you like to install? MCP server, Skills and Rules ✔ Enter your Weegloo Personal Access Token: **** ← 复制的令牌 ✔ Select the MCP server group: default ✔ Where would you like to install the configuration? Global … ✔ Installation complete!
2

连接 MCP 认证

请按下面的顺序进行认证。

  1. 点击 Cursor 左下角的齿轮图标,打开设置。

  2. 在左侧设置菜单中选择 Tools & MCPs,会打开 Home 标签页。点击 weegloo 右侧的 Connect

  3. 浏览器中会打开 WEEGLOO 认证页面。用复制令牌按钮复制令牌并粘贴,然后点击连接服务器

  4. 通过 weeglooweegloo-upload 旁边亮起的绿色圆点,可以确认连接成功。

1

运行安装工具

先进入要对接的项目文件夹,然后在该文件夹中运行下面的命令,依次选择所问的项目。在询问令牌的地方,用下面的复制令牌按钮复制令牌并粘贴。务必在该项目文件夹内运行。

终端
npx weegloo@latest
终端
✔ Select your IDE: Cursor ✔ What would you like to install? MCP server, Skills and Rules ✔ Enter your Weegloo Personal Access Token: **** ← 复制的令牌 ✔ Select the MCP server group: default ✔ Where would you like to install the configuration? Project … ✔ Installation complete!
2

连接 MCP 认证

请按下面的顺序进行认证。

  1. 点击 Cursor 左下角的齿轮图标,打开设置。

  2. 在左侧设置菜单中选择 Tools & MCPs,然后在上方标签页中选择以当前项目名称命名的标签页。

  3. 打开 Installed 列表中 weeglooweegloo-upload 的开关。

  4. weegloo 变为 Needs authentication 时,点击右侧的 Connectweegloo-upload 会自动连接。

  5. 浏览器中会打开 WEEGLOO 认证页面。用复制令牌按钮复制令牌并粘贴,然后点击连接服务器

  6. 通过 weeglooweegloo-upload 旁边亮起的绿色圆点,可以确认连接成功。

在 Antigravity 中 MCP 认证可能不稳定

weegloo MCP 服务器使用常规的 stateful HTTP MCP 连接,但 Antigravity 对 stateful MCP 连接的支持尚不稳定,可能会导致认证失败或需要重试。如果希望更稳定的设置流程,建议使用 Claude Code、Codex 或 Cursor。

1

安装 MCP · Skills

复制安装命令,在终端中运行。

终端
$ npx weegloo@latest -y \ --agent antigravity \ --token <Personal Access Token>
2

连接 MCP 认证

请按下面的顺序进行认证。

  1. agy 运行 Antigravity。

    终端
    agy
  2. 在提示符中输入 /mcp

    终端
    /mcp
  3. 请选择 weegloo

    终端
    MCP Servers Plugins (~/.gemini/config/plugins) > ✗ weegloo error: calling "initialize": sending "initialize": Unauthorized [Auth Needed] ✓ weegloo-upload Tools: CreateUpload Keyboard: ↑/↓ Navigate enter Actions
  4. 请选择 Authenticate

    终端
    MCP Servers Plugins (~/.gemini/config/plugins) > ✗ weegloo error: calling "initialize": sending "initialize": Unauthorized [Auth Needed] Restart Disable [Authenticate] ✓ weegloo-upload Tools: CreateUpload Keyboard: ←/→ Navigate enter Actions
  5. 在打开的认证页面的令牌输入框中粘贴下面的令牌。

  6. 复制 Google Antigravity 页面上显示的 Code,回到 Antigravity 粘贴,然后按 Enter

    显示认证失败时

    如果显示 Authentication failed: no pending auth state for server weegloo 消息,可能是 Antigravity 一侧的临时问题。此现象主要在低于 1.0.16 的版本中出现,但在最新版本中也可能发生,可以按下面的步骤重新连接。

    1. Esc 返回 MCP Servers 界面。
    2. 再按一次 Esc 返回提示符输入界面。
    3. 再次输入 /mcp,会经过 initializing 阶段后完成连接。

以交互方式运行 npx weegloo,逐项选择进行安装。

安装位置
1

运行安装工具

在终端中运行下面的命令,依次选择所问的项目。在询问令牌的地方,用下面的复制令牌按钮复制令牌并粘贴。

终端
npx weegloo@latest
终端
✔ Select your IDE: Antigravity CLI ✔ What would you like to install? MCP server, Skills and Rules ✔ Enter your Weegloo Personal Access Token: **** ← 复制的令牌 ✔ Select the MCP server group: default ✔ Where would you like to install the configuration? Global … ✔ Installation complete!
2

连接 MCP 认证

请按下面的顺序进行认证。

  1. agy 运行 Antigravity。

    终端
    agy
  2. 在提示符中输入 /mcp

    终端
    /mcp
  3. 请选择 weegloo

    终端
    MCP Servers Plugins (~/.gemini/config/plugins) > ✗ weegloo error: calling "initialize": sending "initialize": Unauthorized [Auth Needed] ✓ weegloo-upload Tools: CreateUpload Keyboard: ↑/↓ Navigate enter Actions
  4. 请选择 Authenticate

    终端
    MCP Servers Plugins (~/.gemini/config/plugins) > ✗ weegloo error: calling "initialize": sending "initialize": Unauthorized [Auth Needed] Restart Disable [Authenticate] ✓ weegloo-upload Tools: CreateUpload Keyboard: ←/→ Navigate enter Actions
  5. 在打开的认证页面的令牌输入框中粘贴下面的令牌。

  6. 复制 Google Antigravity 页面上显示的 Code,回到 Antigravity 粘贴,然后按 Enter

    显示认证失败时

    如果显示 Authentication failed: no pending auth state for server weegloo 消息,可能是 Antigravity 一侧的临时问题。此现象主要在低于 1.0.16 的版本中出现,但在最新版本中也可能发生,可以按下面的步骤重新连接。

    1. Esc 返回 MCP Servers 界面。
    2. 再按一次 Esc 返回提示符输入界面。
    3. 再次输入 /mcp,会经过 initializing 阶段后完成连接。
1

运行安装工具

先进入要对接的项目文件夹,然后在该文件夹中运行下面的命令,依次选择所问的项目。在询问令牌的地方,用下面的复制令牌按钮复制令牌并粘贴。务必在该项目文件夹内运行。

终端
npx weegloo@latest
终端
✔ Select your IDE: Antigravity CLI ✔ What would you like to install? MCP server, Skills and Rules ✔ Enter your Weegloo Personal Access Token: **** ← 复制的令牌 ✔ Select the MCP server group: default ✔ Where would you like to install the configuration? Project … ✔ Installation complete!
2

连接 MCP 认证

请按下面的顺序进行认证。

  1. agy 运行 Antigravity。

    终端
    agy
  2. 在提示符中输入 /mcp

    终端
    /mcp
  3. 请选择 weegloo

    终端
    MCP Servers Plugins (~/.gemini/config/plugins) > ✗ weegloo error: calling "initialize": sending "initialize": Unauthorized [Auth Needed] ✓ weegloo-upload Tools: CreateUpload Keyboard: ↑/↓ Navigate enter Actions
  4. 请选择 Authenticate

    终端
    MCP Servers Plugins (~/.gemini/config/plugins) > ✗ weegloo error: calling "initialize": sending "initialize": Unauthorized [Auth Needed] Restart Disable [Authenticate] ✓ weegloo-upload Tools: CreateUpload Keyboard: ←/→ Navigate enter Actions
  5. 在打开的认证页面的令牌输入框中粘贴下面的令牌。

  6. 复制 Google Antigravity 页面上显示的 Code,回到 Antigravity 粘贴,然后按 Enter

    显示认证失败时

    如果显示 Authentication failed: no pending auth state for server weegloo 消息,可能是 Antigravity 一侧的临时问题。此现象主要在低于 1.0.16 的版本中出现,但在最新版本中也可能发生,可以按下面的步骤重新连接。

    1. Esc 返回 MCP Servers 界面。
    2. 再按一次 Esc 返回提示符输入界面。
    3. 再次输入 /mcp,会经过 initializing 阶段后完成连接。

强烈不建议使用 Android Studio 进行 Weegloo 对接

Android Studio 内置的 AI 智能体(Gemini)可以用于 UI 工作。但在 Weegloo 对接这类代码工作中,由于 AI 性能问题非常不稳定,因此强烈建议使用 Claude Code 或 Codex 等其他 AI 智能体。此问题在 2026.1.1 Patch 2 及之前的版本中得到确认。

1

安装 MCP · Skills

复制安装命令,在终端中运行。务必在要对接的项目文件夹内运行。

终端
$ npx weegloo@latest -y \ --agent androidstudio \ --token <Personal Access Token>
2

连接 MCP 认证

安装完成后,需要在 Android Studio 中启用 MCP 服务器。

  1. 前往 Settings → Tools → AI → MCP Servers,然后点击 JSON View 标签页。

  2. 勾选 Enable MCP Servers

  3. 确认设置中包含 weeglooweegloo-upload

  4. 点击 Apply 应用设置。通过弹出的已连接到 weeglooweegloo-upload 的通知,可以确认连接成功。

以交互方式运行 npx weegloo,逐项选择进行安装。

1

运行安装工具

先进入要对接的项目文件夹,然后在该文件夹中运行下面的命令,依次选择所问的项目。在询问令牌的地方,用下面的复制令牌按钮复制令牌并粘贴。务必在该项目文件夹内运行。

终端
npx weegloo@latest
终端
✔ Select your IDE: Android Studio ✔ What would you like to install? MCP server, Skills and Rules ✔ Enter your Weegloo Personal Access Token: **** ← 复制的令牌 ✔ Select the MCP server group: default ✔ Where would you like to install the configuration? Project … ✔ Installation complete!
2

连接 MCP 认证

安装完成后,需要在 Android Studio 中启用 MCP 服务器。

  1. 前往 Settings → Tools → AI → MCP Servers,然后点击 JSON View 标签页。

  2. 勾选 Enable MCP Servers

  3. 确认设置中包含 weeglooweegloo-upload

  4. 点击 Apply 应用设置。通过弹出的已连接到 weeglooweegloo-upload 的通知,可以确认连接成功。

在 Xcode 中使用的智能体

1

安装 MCP · Skills

复制安装命令,在终端中运行。务必在要对接的项目文件夹内运行。

终端
$ npx weegloo@latest -y \ --agent claude \ --host xcode \ --location project \ --token <Personal Access Token>
2

连接 MCP 认证

请按下面的顺序进行认证。

  1. 在终端中运行 Claude Code。务必在要对接的项目文件夹内运行。

    终端
    claude
  2. 首次运行时,可能会询问是否启用新的 MCP 服务器。这种情况下,确认 weeglooweegloo-upload 处于已勾选状态,然后按 Enter 提交。

    终端
    New MCP servers found in .mcp.json Select any you wish to enable. > [√] weegloo [√] weegloo-upload
  3. 输入 /mcp 打开 MCP 服务器管理界面。

    终端
    /mcp
  4. 在列表中选择 weegloo。它会显示为 needs authentication 状态。

    终端
    Manage MCP servers > weegloo · ∆ needs authentication weegloo-upload · √ connected

    如果列表中看不到服务器:如果在列表中看不到 weeglooweegloo-upload,可能是在第 2 步的启用界面没有提交,或者处于已停用状态。请退出 Claude Code,在终端中输入下面的命令,然后重新运行 claude。如果再次出现与第 2 步相同的界面,请在 weeglooweegloo-upload 处于勾选状态下按 Enter 提交。

    终端
    claude mcp reset-project-choices
  5. 确认连接地址是否为 https://ai.weegloo.com/mcp,然后选择 Authenticate

    终端
    Weegloo MCP Server Status: ∆ needs authentication URL: https://ai.weegloo.com/mcp > 1. Authenticate 2. Disable
  6. 选择 Authenticate 后,浏览器中会打开 WEEGLOO 认证页面。用下面的复制令牌按钮复制令牌并粘贴,然后点击连接服务器。当 weegloo 变为 connected 时即完成。

安装后需要新开一个 Xcode Agent 会话,设置才会生效。

以交互方式运行 npx weegloo,逐项选择进行安装。

1

运行安装工具

先进入要对接的项目文件夹,然后在该文件夹中运行下面的命令,依次选择所问的项目。在询问令牌的地方,用下面的复制令牌按钮复制令牌并粘贴。务必在该项目文件夹内运行。

终端
npx weegloo@latest
终端
✔ Select your IDE: Claude Code ✔ What would you like to install? MCP server, Skills and Rules ✔ Enter your Weegloo Personal Access Token: **** ← 复制的令牌 ✔ Select the MCP server group: default ✔ Where would you like to install the configuration? Project … ✔ Installation complete!
2

连接 MCP 认证

请按下面的顺序进行认证。

  1. 在终端中运行 Claude Code。务必在要对接的项目文件夹内运行。

    终端
    claude
  2. 首次运行时,可能会询问是否启用新的 MCP 服务器。这种情况下,确认 weeglooweegloo-upload 处于已勾选状态,然后按 Enter 提交。

    终端
    New MCP servers found in .mcp.json Select any you wish to enable. > [√] weegloo [√] weegloo-upload
  3. 输入 /mcp 打开 MCP 服务器管理界面。

    终端
    /mcp
  4. 在列表中选择 weegloo。它会显示为 needs authentication 状态。

    终端
    Manage MCP servers > weegloo · ∆ needs authentication weegloo-upload · √ connected

    如果列表中看不到服务器:如果在列表中看不到 weeglooweegloo-upload,可能是在第 2 步的启用界面没有提交,或者处于已停用状态。请退出 Claude Code,在终端中输入下面的命令,然后重新运行 claude。如果再次出现与第 2 步相同的界面,请在 weeglooweegloo-upload 处于勾选状态下按 Enter 提交。

    终端
    claude mcp reset-project-choices
  5. 确认连接地址是否为 https://ai.weegloo.com/mcp,然后选择 Authenticate

    终端
    Weegloo MCP Server Status: ∆ needs authentication URL: https://ai.weegloo.com/mcp > 1. Authenticate 2. Disable
  6. 选择 Authenticate 后,浏览器中会打开 WEEGLOO 认证页面。用下面的复制令牌按钮复制令牌并粘贴,然后点击连接服务器。当 weegloo 变为 connected 时即完成。

安装后需要新开一个 Xcode Agent 会话,设置才会生效。

1

安装 MCP · Skills

复制安装命令,在终端中运行。务必在要对接的项目文件夹内运行。

终端
$ npx weegloo@latest -y \ --agent codex \ --host xcode \ --location project \ --token <Personal Access Token>
2

连接 MCP 认证

请按下面的顺序进行认证。

  1. 在终端中运行下面的命令后,浏览器中会打开 WEEGLOO 认证页面。

    终端
    codex mcp login weegloo
  2. 在打开的 WEEGLOO 认证页面中,用下面的复制令牌按钮复制令牌并粘贴,然后点击连接服务器已经在运行的智能体需要在认证完成后重启才会生效。

安装后需要新开一个 Xcode Agent 会话,设置才会生效。

以交互方式运行 npx weegloo,逐项选择进行安装。

1

运行安装工具

先进入要对接的项目文件夹,然后在该文件夹中运行下面的命令,依次选择所问的项目。在询问令牌的地方,用下面的复制令牌按钮复制令牌并粘贴。务必在该项目文件夹内运行。

终端
npx weegloo@latest
终端
✔ Select your IDE: Codex ✔ What would you like to install? MCP server, Skills and Rules ✔ Enter your Weegloo Personal Access Token: **** ← 复制的令牌 ✔ Select the MCP server group: default ✔ Where would you like to install the configuration? Project … ✔ Installation complete!
2

连接 MCP 认证

请按下面的顺序进行认证。

  1. 在终端中运行下面的命令后,浏览器中会打开 WEEGLOO 认证页面。

    终端
    codex mcp login weegloo
  2. 在打开的 WEEGLOO 认证页面中,用下面的复制令牌按钮复制令牌并粘贴,然后点击连接服务器已经在运行的智能体需要在认证完成后重启才会生效。

安装后需要新开一个 Xcode Agent 会话,设置才会生效。

3. 一句话就够了

你甚至不必说明要做什么。这一句话就够了。

帮我对接 WEEGLOO。

智能体会查看你做好的页面,自己弄清这是什么服务。然后把会员、权限、搜索等所需的功能做好。如果是网页服务,连部署也会自动完成。

接下来