MCP Server Mode
Run browse as an MCP server for Cursor, Claude Desktop, Windsurf, and other editors that support the Model Context Protocol.
Overview
Browse can run as an MCP (Model Context Protocol) server, letting editors communicate with it natively instead of spawning shell commands.
browse --mcpUse --json alongside --mcp for structured responses:
browse --mcp --jsonNote: Requires
npm install @modelcontextprotocol/sdkalongside browse.
Cursor
Create .cursor/mcp.json in your project root:
{
"mcpServers": {
"browse": {
"command": "browse",
"args": ["--mcp"]
}
}
}After saving, restart Cursor. Browse will appear as an available MCP tool.
Claude Desktop
Add to your claude_desktop_config.json:
{
"mcpServers": {
"browse": {
"command": "browse",
"args": ["--mcp"]
}
}
}Windsurf
Add to your Windsurf MCP configuration:
{
"mcpServers": {
"browse": {
"command": "browse",
"args": ["--mcp"]
}
}
}MCP vs CLI
| MCP Mode | CLI Mode | |
|---|---|---|
| Setup | JSON config in editor | npm install -g |
| Integration | Native editor tool | Bash commands |
| Speed | Same (~100ms/cmd) | Same (~100ms/cmd) |
| Features | All 121 commands | All 121 commands |
| Best for | Cursor, Claude Desktop | Claude Code, Cline, scripts |
Both modes use the same persistent daemon — no performance difference. Choose MCP if your editor supports it natively, CLI if you want universal compatibility.