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

# Discord

> 让代理访问你已连接的 Discord 账户

# Discord

代理可以通过已连接的账户获取你的个人资料、查看服务器成员资格，以及读取已连接账户或权益详情。

## 它的作用

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

## 前提条件

在启用此工具之前，你必须在工作区中拥有一个有效的 Discord 连接。如果没有有效连接，则切换开关会被禁用。

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

## 将工具添加到代理

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

## 使用场景

* 查看成员资料
* 审查已连接账户
* 检查服务器访问权限

## 注意事项

* 代理会使用你已连接的 Discord 账户来执行操作。
* 该工具按代理执行的每个操作计 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.