TLDR 完整配置:
[mcp_servers.chrome-devtools]
command = "/full-path/npx" # 完整路径
args = [
"-y",
"chrome-devtools-mcp@latest",
" --no-usage-statistics",
"--no-performance-crux",
"--executablePath", # 指定 google-chrome 完整路径
"/usr/bin/google-chrome",
]
env = { DISPLAY = ":0" } # 设定显示器