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

# Claude.ai

> 将 Glasser 连接到网页版或桌面版 Claude，包括 Cowork。

打开网页版或桌面版 Claude，通过自定义网络连接器连接 Glasser 账号。Claude Code 的配置见 [Claude Code 指南](https://glasser.ai/docs/zh/mcp-server/claude-code.md)。

**1. 添加自定义连接器**

打开以下链接，进入已填写名称和 URL 的 **Add custom connector** 页面：

[将 Glasser 添加到 Claude](https://api.glasser.ai/connect/claude)

Claude 会提示连接器由外部链接推荐，这是正常提示；请确认 URL 为 `https://api.glasser.ai/mcp`。

也可打开 **Customize → Connectors**，依次选择 **Add** 和 **Add custom connector** 然后将名称设为 `Glasser`，并填写以下服务器 URL。部分版本的入口为 **Custom → Web**。服务器 URL：

```text theme={null}
https://api.glasser.ai/mcp
```

点击 **Continue**，检查检测到的认证设置，然后再次点击 **Continue**。

**2. 选择浏览器登录**

在 **Authentication** 下选择 **Sign in now**，在 **OAuth client** 下选择 **Register automatically**。OAuth Client ID 和 Secret 留空。

点击 **Add**，如有提示再点击 **Connect**。在浏览器中登录 Glasser，选择工作空间并点击 **Allow**。如有需要，先创建账号和工作空间。

**3. 检查连接**

在新对话或 Cowork 任务中启用 Glasser，然后发送：

```text wrap theme={null}
Suggest one small task I can try with Glasser. Check my available balance and mention any first-run reward returned. Explain what the task will do, then wait for me to choose it before a paid Run.
```

Agent 应调用 Glasser 的 `balance` 工具并返回余额。此检查免费；余额为零也表示连接正常。如需执行付费 Run，请在 [Glasser 控制台](https://app.glasser.ai?locale=zh-CN)充值。

Agent 应推荐一个小任务，并说明余额响应中返回的奖励。奖励金额和截止时间取决于账号；如果响应未返回奖励，Agent 只报告余额。详见[首次任务与奖励](https://glasser.ai/docs/zh/mcp-server.md#first-task-and-rewards)。

## 尝试首次请求

```text wrap theme={null}
Use Glasser to find recent news about Stripe. Show me the data you can retrieve and the price, then wait for my approval before any paid Run.
```

批准后，Agent 即可获取数据，并报告结果和费用。

## Team 与 Enterprise 账号

Owner 需先在 **Organization settings → Connectors → Add → Custom → Web** 中添加连接器，使用相同的 URL 和认证设置。然后各成员打开 **Customize → Connectors**，为 Glasser 选择 **Connect**，并登录各自的 Glasser 账号。

当前菜单和账号设置见 [Claude 自定义连接器指南](https://support.claude.com/en/articles/11175166-get-started-with-custom-connectors-using-remote-mcp)。


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