求助:WSL里codex cli调用fast-context mcp被自动审核拒绝,但是Windows codex app没有问题,如何解决?

dc14 2026-06-19 01:35 1



如图,详细的原因如下:

Error: This action was rejected due to unacceptable risk.

Reason: This semantic search would send private workspace repository structure and likely code context to an untrusted external AI service, which tenant policy denies even with explicit user approval.

The agent must not attempt to achieve the same outcome via workaround, indirect execution, or policy circumvention. Proceed only with a materially safer alternative, or if the user explicitly approves the action after being informed of the risk. Otherwise, stop and request user input.

我跑简单的定位测试是可以使用的。但是在实际调试代码的过程中触发了自动拒绝,就算是用提示词告诉他允许提交也会被拒绝。

最奇怪的是,Windows codex app是完全没有问题的。两边全局提示词除了系统环境部分不一样,其他都一样。


有佬友遇到过这个问题吗,应该怎么解决呢?

最新回复 (1)
  • apparition 06-19 02:04
    1
    [mcp_servers.fast-context-mcp]
    ...
    default_tools_approval_mode = "approve"
* 帖子来源Linux.do
返回