Update MCP Server Access Policy
system_update_policyUpdate MCP runtime permissions and security policies, including access modes and audit rules, then optionally persist changes to mcp-config.json so local agent operations match current needs.
Instructions
动态更新 MCP 运行时权限与安全设置,可选持久化保存到 mcp-config.json。
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "system_update_policy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| git | No | Git 快捷操作配置 | |
| apps | No | 软件快捷操作开关 | |
| audit | No | 审计日志配置 | |
| mysql | No | MySQL 快捷操作配置 | |
| services | No | 服务查看与管理权限开关 | |
| terminal | No | 终端权限开关与超时 | |
| accessMode | No | 权限模式:restricted 或 full | |
| filesystem | No | 文件权限开关 | |
| saveToFile | No | 是否同时保存配置到磁盘文件 | |
| allowedRoots | No | 允许访问的目录白名单 | |
| blockedPaths | No | 禁止访问的敏感路径黑名单 |