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

# 使用 Claude

# 使用 Claude 连接 Marrow

您可在 claude.ai、Claude Desktop 或 Claude Code 中查询 Marrow 已同步数据。对于 Claude 网页版和桌面版，推荐 OAuth；Claude Code 使用下方 MCP CLI 配置。

## Claude 网页版 / 桌面版：OAuth（推荐）

1. 在 Marrow 打开 **AI Hub → AI Platforms**；
2. 在 **Quick connection: OAuth** 下选择 **Claude**；
3. 点击 **Connect** 并完成 Claude 中的授权；
4. 在 **OAuth sessions** 中确认会话。

## Claude 网页版 / 桌面版：自定义 MCP Connector

如需手动添加远程 Connector，请在 [claude.ai](https://claude.ai) 的 **Customize → Connectors**（或 **Settings → Connectors**）中选择 **Add custom connector**，将名称设为 `Marrow`，并粘贴：

`https://mcp.marrow.ai/mcp/v1`

Team / Enterprise 工作区通常需要 Owner 先在 **Organization settings → Connectors** 中添加，成员再自行连接。

## Claude Code：MCP

在 AI Platforms 创建 MCP key 后，于项目根目录运行：

```bash theme={null}
claude mcp add --transport http --scope project \
  --header "Authorization: Bearer YOUR_MCP_KEY" \
  marrow "https://mcp.marrow.ai/mcp/v1"
```

`--scope project` 会写入项目的 `.mcp.json`；改用 `--scope user` 可为当前用户跨项目保存。已有会话中可执行 `/mcp` 刷新，然后测试：

```
Show me my Amazon Seller sales for the last 7 days.
```

若找不到 Connectors 或添加入口，请检查套餐和工作区权限；Team / Enterprise 用户可请 Owner 添加。授权循环时请允许弹窗，并尝试无痕窗口。Marrow 为只读，随时可在 AI Platforms 撤销 OAuth 会话或轮换 MCP 密钥。
