Connect To Claude Desktop¶
Use stdio when Claude Desktop should start the server on demand.
Add The Server¶
Add this entry to claude_desktop_config.json, then restart Claude Desktop:
{
"mcpServers": {
"cloakbrowser": {
"command": "npx",
"args": ["-y", "cloakbrowser-mcp@latest"]
}
}
}
Optional Persistent Profile¶
{
"mcpServers": {
"cloakbrowser": {
"command": "npx",
"args": ["-y", "cloakbrowser-mcp@latest"],
"env": {
"PLAYWRIGHT_MCP_USER_DATA_DIR": "/absolute/path/to/profile"
}
}
}
}
Verify¶
Ask Claude Desktop to use the cloakbrowser server to open a page and take a browser snapshot. The upstream Playwright MCP browser tools should be available unchanged.