Run MCP servers in WSL

FINALLY figured this out:

wsl bash -c 'npx -y @agentdeskai/[email protected]

or

{
“mcpServers”: {
“browser-tools”: {
“command”: “wsl”,
“args”: [
“bash”,
“-c”,
“‘npx -y @agentdeskai/[email protected]’”
],
“enabled”: true
}
}
}

will launch the MCP server using WSL!

Thanks to the new Browsertools docs: