Skip to content

Commit 242cc53

Browse files
committed
docs(mcp): 移除权限策略部分及相关警告说明
1 parent 2cfce16 commit 242cc53

2 files changed

Lines changed: 0 additions & 36 deletions

File tree

website/docs/guide/mcp.md

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -169,22 +169,6 @@ Pass API keys or configuration to the server process via environment variables.
169169

170170
---
171171

172-
## Permission Policies
173-
174-
Each MCP server can be assigned a permission policy that controls how tool calls are authorized.
175-
176-
| Policy | Behavior |
177-
|--------|----------|
178-
| **Ask Every Time** | A confirmation dialog appears before every tool call. Safest option. |
179-
| **Allow Safe Operations** | Read-only operations execute automatically; write or destructive operations require confirmation. |
180-
| **Allow All** | All tool calls execute without confirmation. Use only with servers you fully trust. |
181-
182-
::: warning
183-
The **Allow All** policy lets the AI execute any tool — including file writes and shell commands — without asking. Use it only with trusted, well-scoped servers.
184-
:::
185-
186-
---
187-
188172
## Built-in Tools
189173

190174
AQBot ships with built-in tools that are available without adding any external MCP server:

website/docs/zh/guide/mcp.md

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -160,26 +160,6 @@ AQBot 支持三种 MCP 传输协议,适用于不同的部署场景:
160160
}
161161
```
162162

163-
## 权限策略
164-
165-
MCP 工具调用涉及系统操作,AQBot 提供三种权限策略来控制工具的执行行为:
166-
167-
### 每次询问
168-
169-
**最安全的模式。** 每次模型请求调用工具时,都会弹出确认对话框,你需要手动批准或拒绝。适合首次使用新工具或处理敏感操作时。
170-
171-
### 允许安全操作
172-
173-
**推荐的日常模式。** AQBot 会自动执行读取类操作(如读取文件、获取信息),而写入类操作(如修改文件、执行命令)仍需手动确认。在安全性和便捷性之间取得平衡。
174-
175-
### 允许全部
176-
177-
**最便捷但风险最高。** 自动执行所有工具调用,不再弹出确认提示。
178-
179-
::: danger 注意
180-
「允许全部」模式下,模型可以不经确认直接执行所有操作,包括修改文件和执行系统命令。请仅在你完全信任所连接的 MCP 服务器时使用此模式。
181-
:::
182-
183163
## 内置工具
184164

185165
AQBot 开箱即用地提供了一些内置 MCP 工具服务器,无需额外安装:

0 commit comments

Comments
 (0)