desktop-command mcp 在 codex 找不到可用工具

help, 前几天的codex 都能正常用 desktop-command的, 突然就不知道为啥找不到可用的工具了, 要命了, 不管怎么配置都不行, 可以的话分享一个可用配置也好呀 以下几种方法我都试过了: pnpm install -g @wonderwhy-er/desktop-commande...
desktop-command mcp 在 codex 找不到可用工具
desktop-command mcp 在 codex 找不到可用工具

help, 前几天的codex 都能正常用 desktop-command的, 突然就不知道为啥找不到可用的工具了, 要命了, 不管怎么配置都不行, 可以的话分享一个可用配置也好呀
以下几种方法我都试过了:

  1. pnpm install -g @wonderwhy-er/desktop-commander@latest
  2. codex mcp add desktop-commander -- npx -y @wonderwhy-er/desktop-commander@latest

image

下面是我的配置

model_provider = "OpenAI"
model = "gpt-5.4"
# /review 功能(代码审查)使用的模型。默认:"gpt-5.2-codex"。
# 可设置为不同的模型以优化代码审查效果
review_model = "gpt-5.3-codex"
model_reasoning_effort = "high"
plan_mode_reasoning_effort = "xhigh"
model_reasoning_summary = "detailed"
model_verbosity = "high"
# 每个工具输出存储的最大 token 数,防止工具输出占用过多上下文
tool_output_token_limit = 10000

personality = "pragmatic"
windows_wsl_setup_acknowledged = true
model_context_window = 1000000
model_auto_compact_token_limit = 150000
sandbox_mode = "danger-full-access"
approval_policy = "on-request"
cli_auth_credentials_store = "file"
mcp_oauth_credentials_store = "auto"
web_search = "live"

[model_providers.OpenAI]
name = "OpenAI"
base_url = "http://localhost:8090/v1"
wire_api = "responses"
requires_openai_auth = false

# 除工作区(cwd)外额外允许写入的根目录。默认:[]
# 仅在 sandbox_mode = "workspace-write" 时使用的额外设置。
[sandbox_workspace_write]
writable_roots = []
network_access = true

[features]
multi_agent = true
# 启用 Shell 工具,允许执行命令
shell_tool = true
# 启用 Shell 快照功能
shell_snapshot = true
codex_hooks = true
collaboration_modes = true
# 启用统一执行工具(实验性)
unified_exec = true
apply_patch_freeform = true
# 启用需要管理员权限的 Windows 沙箱
elevated_windows_sandbox = false
experimental_windows_sandbox = false
undo = true

[tui]
notifications = true
animations = true

[agents.builder]
description = "Implementation agent. TDD: write test → implement → verify."

[agents.reviewer]
description = "Independent quality reviewer. Score 4 dimensions, output VERDICT."
config_file = "./agents/reviewer.toml"
nickname_candidates = ["Athena", "Ada"]

[windows]
sandbox = "unelevated"

[projects.'C:\Users\Viuv\Desktop\Rust\One-stop_Campus_Life']
trust_level = "trusted"

[projects.'C:\Users\Viuv\.codex']
trust_level = "trusted"

[mcp_servers.desktop-commander]
command = "node"
args = ["C:\\Users\\Viuv\\AppData\\Local\\pnpm\\global\\5\\.pnpm\\@wonderwhy-er+desktop-commander@0.2.38_typescript@6.0.3\\node_modules\\@wonderwhy-er\\desktop-commander\\dist\\index.js", "--stdio", "--no-onboarding"]
env = { SystemRoot="C:\\Windows" }
enabled_tools = ["read_file","read_multiple_files","write_file","write_pdf", "create_directory", "list_directory", "delete_file", "move_file", "get_file_info", "edit_block", "start_search", "get_more_search_results", "stop_search", "list_searches", "start_process", "read_process_output", "interact_with_process", "force_terminate", "list_sessions", "list_processes", "kill_process"]

[mcp_servers.serena]
command = "serena"
args = ["start-mcp-server", "--context", "codex"]


[mcp_servers.memory]
command = "server-memory"

[mcp_servers.sequential-thinking]
command = "server-sequential-thinking"
startup_timeout_ms = 20000

不知道哪里有问题, 改了好久了, 要命

3 个帖子 - 3 位参与者

阅读完整话题

来源: linux.do查看原文