Skip to content

Feature Request: 建议支持通过配置指定 Plan/Goal 模式下的安全 MCP 工具 #1112

Description

@jianlubuzou1

What happened? / 问题描述

背景
当前 PI-Desktop 的 MCP 工具仅在 Agent 模式下可用。Plan/Goal 模式通过 planSafeActions 机制限制工具,这个设计是合理的——防止规划阶段执行危险操作。

场景

  1. Plan 模式下做技术调研:制定实施方案时需要查阅外部文档(如 context7)或网络搜索(如 tavily),这些是只读操作,属于规划阶段的合理需求,但 MCP 工具不可用。
  2. 子 Agent 需要网络调研能力:委派子 Agent 做信息收集时,无法使用 MCP 工具。

建议
MCP 服务器是用户自己配置的外部服务,用户清楚哪些工具是只读安全的。建议调整配置功能,由用户通过配置实现 Agent 工具的自由指定——哪些 MCP 工具在 Plan/Goal 模式下可用、哪些子 Agent 可以使用哪些 MCP 工具。

Steps to reproduce / 复现步骤

无

Expected behavior / 预期行为

无

Actual behavior / 实际行为

无

App version / 应用版本

0.15.8

Operating system / 操作系统

Linux

Extra environment / 其他环境信息

PI-Desktop 0.15.8 · linux x64 · protocol 11 · host 0.15.8

Logs / 日志

Screenshots / 截图

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions