Loading... > codex版本 : 0.42 > > 平台: windows10/11 > > 问题: linux下的mcp配置复制到windows不能用报错 ``` MCP client for `playwright` failed to start: program not found MCP client for `serena` failed to start: request timed out MCP client for `context7` failed to start: program not found ``` 解决方案: ```toml [mcp_servers.context7] command = "cmd" args = [ "/c", "npx", "-y", "@upstash/context7-mcp", "--api-key", "your-key", ] env = { SystemRoot="C:\\Windows" } startup_timeout_ms = 20_000 [mcp_servers.sequential-thinking] command = "cmd" args = [ "/c", "npx", "-y", "@modelcontextprotocol/server-sequential-thinking@latest" ] env = { SystemRoot="C:\\Windows" } startup_timeout_ms = 20_000 [mcp_servers.playwright] command = "cmd" args = [ "/c", "npx", "@playwright/mcp@latest" ] env = { SystemRoot="C:\\Windows" } startup_timeout_ms = 20_000 ```  最后修改:2025 年 09 月 28 日 © 允许规范转载 打赏 赞赏作者 微信 赞 0 如果觉得我的文章对你有用,请随意赞赏