> ## 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 Skill 开始，然后在 Claude 中连接账号。

打开 Claude Chat 或新建 Cowork 任务。在这些客户端中，Glasser Skill 会引导你通过 MCP 连接账号，无需安装 Glasser CLI。

本地 Claude Code 会话的配置见 [Claude Code Skill 指南](https://glasser.ai/docs/zh/setup-skill/claude-code.md)。

**1. 请 Claude 配置 Glasser**

粘贴与 Glasser 首页相同的提示词：

```text wrap theme={null}
set up https://glasser.ai/SKILL.md
```

Claude 会读取 Skill 并引导你添加连接器。如果 Glasser 已经连接，请直接进行下方的余额检查。

**2. 添加 Glasser 连接器**

打开以下链接，进入已填写名称和 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**。

**3. 登录 Glasser**

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

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

**4. 检查连接**

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

```text wrap theme={null}
Use Glasser to check my available balance. Do not make any paid Runs.
```

Claude 应调用 Glasser 的 `balance` 工具并返回余额。此检查免费；余额为零也表示连接正常。

> [!TIP]
>
> 使用 Team 或 Enterprise 账号时，可能需要 Owner 先添加连接器。详见[组织配置步骤](https://glasser.ai/docs/zh/mcp-server/claude.md#team-and-enterprise-accounts)。

## 尝试首次请求

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

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

当前菜单和账号设置见 [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.