claude mcp add-json chrome-devtools '{"command":"npx","args":["-y","chrome-devtools-mcp@latest"]}'
Check it before you connect it. An MCP server runs with your permissions. Replace placeholder keys with your own and never share them.
{
"mcpServers": {
"chrome-devtools": {
"command": "npx",
"args": [
"-y",
"chrome-devtools-mcp@latest"
]
}
}
}