Description of the bug
The best solution I have found #131 (comment)
It works with Claude Code but not with Codex
Reproduction
- Set codex config.toml
[mcp_servers.chrome-devtools]
command = "npx"
args = [
"chrome-devtools-mcp@latest",
"--executablePath",
"/home/max/chrome/chrome/linux-141.0.7390.122/chrome-linux64/chrome",
"--no-sandbox",
"--disable-setuid-sandbox",
"--categoryPerformance=false",
"--categoryEmulation=false",
"--categoryNetwork=false",
]
- Run mcp
See error
Called chrome-devtools.new_page({"timeout":120000,"url":"https://ya.ru"})
└ Missing X server to start the headful browser. Either set headless to true or use xvfb-run to run your Puppeteer script.
Expectation
No response
MCP configuration
[mcp_servers.chrome-devtools]
command = "npx"
args = [
"chrome-devtools-mcp@latest",
"--executablePath",
"/home/max/chrome/chrome/linux-141.0.7390.122/chrome-linux64/chrome",
"--no-sandbox",
"--disable-setuid-sandbox",
"--categoryPerformance=false",
"--categoryEmulation=false",
"--categoryNetwork=false",
]
Chrome DevTools MCP version
0.9.0
Chrome version
chrome/linux-141.0.7390.122/chrome-linux64
Coding agent version
OpenAI Codex (v0.53.0)
Model version
No response
Chat log
No response
Node version
No response
Operating system
None
Extra checklist
Description of the bug
The best solution I have found #131 (comment)
It works with Claude Code but not with Codex
Reproduction
See error
Expectation
No response
MCP configuration
[mcp_servers.chrome-devtools]
command = "npx"
args = [
"chrome-devtools-mcp@latest",
"--executablePath",
"/home/max/chrome/chrome/linux-141.0.7390.122/chrome-linux64/chrome",
"--no-sandbox",
"--disable-setuid-sandbox",
"--categoryPerformance=false",
"--categoryEmulation=false",
"--categoryNetwork=false",
]
Chrome DevTools MCP version
0.9.0
Chrome version
chrome/linux-141.0.7390.122/chrome-linux64
Coding agent version
OpenAI Codex (v0.53.0)
Model version
No response
Chat log
No response
Node version
No response
Operating system
None
Extra checklist