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

# Sentry

> 通过已连接的 Sentry 账户，让代理获得访问权限

# Sentry

通过你的已连接账户，代理可以列出和获取组织、项目、问题、告警、监控和发布。它还可以创建或更新项目、问题、告警规则、监控和发布部署。

## 它的作用

当代理启用 Sentry 后，代理可以在推理过程中执行 Sentry 操作。你提出一个问题或给它一个任务，代理会自行决定何时以及如何使用你的 Sentry 账户代表你执行操作。

## 前提条件

在启用此工具之前，你必须先在工作区中有一个处于活动状态的 Sentry 连接。如果没有活动连接，此开关将被禁用。

1. 前往你工作区的 **Integrations**。
2. 在集成网格中找到 **Sentry**。
3. 点击 **Connect** 并完成登录流程。
4. 返回你的代理并启用该工具。

## 将工具添加到代理

1. 在编辑器中打开一个代理。
2. 点击带有提示 **Add MCP Tool or Sub Agent** 的按钮。
3. 在 **MCP Tools** 中，点击 **Sentry**。Sentry 节点会显示在画布上。
4. 点击该节点以在右侧打开 **Settings** 面板。
5. 在 **Authentication** 字段中，选择代理应使用的已连接 Sentry 账户。
6. 如果未找到活动连接，设置面板会显示一条警告，并提供前往 **Integrations** 的链接以先完成连接。

## 使用场景

* 创建告警规则
* 处理项目问题
* 管理发布

## 备注

* 代理会使用你已连接的 Sentry 账户来执行操作。
* 此工具按代理执行的每个操作计为 1 个额度。
* 登录屏幕可能会显示第三方授权品牌标识。

另请参阅：[Integrations](https://docs.fetchhive.com/zh/workspace/integrations.md)，[Creating and Configuring](https://docs.fetchhive.com/zh/agents/creating-and-configuring.md)


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