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

# 使用 Hermes Agent

# 使用 Hermes Agent 连接 Marrow

[Hermes Agent](https://hermes-agent.nousresearch.com) 是 Nous Research 推出的开源自托管 Agent。它可在桌面端、CLI 或 TUI 中调用 Marrow MCP，作为已同步店铺和广告数据的数据层。

请先连接并同步至少一个数据源，安装 Hermes Agent，配置 LLM Provider（例如通过 `hermes model` 配置 Anthropic），并在 AI Platforms 创建 MCP key。

## 配置 MCP

Hermes 从 `~/.hermes/config.yaml` 读取 MCP 服务器。打开该文件，在 `mcp_servers` 中添加或扩展：

```yaml theme={null}
mcp_servers:
  marrow:
    url: "https://mcp.marrow.ai/mcp/v1"
    headers:
      Authorization: "Bearer YOUR_MCP_KEY"
```

保存并重启 Hermes；若当前版本支持，也可在活动会话运行 `/reload-mcp`。配置速查：

| 项目   | 值                                      |
| ---- | -------------------------------------- |
| 配置文件 | `~/.hermes/config.yaml`                |
| 节点   | `mcp_servers.marrow`                   |
| URL  | `https://mcp.marrow.ai/mcp/v1`         |
| 鉴权   | `Authorization: Bearer <YOUR_MCP_KEY>` |

新建 Hermes 对话或运行 `hermes chat`，先询问：

```
What Marrow tools do you have access to?
```

若未出现工具，请检查 YAML 缩进、密钥是否有效，以及是否在修改后重启。随后可测试销售数据问题。桌面端与 CLI 共用同一 `config.yaml`；请避免把密钥提交至版本库。Hermes 的 MCP 配置可能随版本演进，原生 URL 鉴权失败时请参考其当前 [MCP 指南](https://hermes-agent.nousresearch.com/docs/guides/use-mcp-with-hermes)。
