browser ref mcp for Cursor
io.github.zy2755/browser-ref-mcp
Reliable browser-control MCP server for AI agents: click by ref, self-healing sessions.
client:Cursor
transport:stdio
runtime:npm
Install browser ref mcp in Cursor
~/.cursor/mcp.json · windows: %USERPROFILE%\.cursor\mcp.json
{
"mcpServers": {
"browser-ref-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"browser-ref-mcp"
],
"env": {
"BROWSER_MCP_CDP_URL": "<BROWSER_MCP_CDP_URL>",
"BROWSER_MCP_HEADLESS": "<BROWSER_MCP_HEADLESS>",
"BROWSER_MCP_PROFILE": "<BROWSER_MCP_PROFILE>",
"BROWSER_MCP_CHANNELS": "<BROWSER_MCP_CHANNELS>"
}
}
}
}
Use .cursor/mcp.json in a project root instead to scope it to that project. Cursor merges both. Cursor docs