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

将 MCP Server 添加至智能体，让其调用 MCP Server 中的工具来更好地处理你的需求。
## 内置智能体：Agent {#151e4ae0}
Agent 是 TRAE IDE 的内置智能体，所有已配置的 MCP Server 都将被自动添加至该智能体。你可以在 Agent 的编辑页面为它启用或禁用 MCP Server。
## 自定义智能体 {#9b5e55e1}
你可以将 MCP Server 添加到自定义智能体中，然后由智能体自动调用 MCP Server 中的工具来完成任务。
在 **创建智能体** 面板的 **工具 - MCP** 部分，勾选需被其调用的 MCP Server 以及 MCP Server 中的工具。
![Image=550x589](https://p9-arcosite.byteimg.com/tos-cn-i-goo7wpa0wc/a6fef5f8ae9d445bbdca23dc61759d1e~tplv-goo7wpa0wc-image.image)

