Skip to main content
Browser Use provides two Model Context Protocol server endpoints:
EndpointURL
v2https://api.browser-use.com/mcp
v3https://api.browser-use.com/v3/mcp
The v2 endpoint uses a task-based agent — each task runs independently and is dispatched to a queue. The v3 endpoint uses a session-based agent that runs in a persistent sandbox container, supporting keep-alive for multi-turn interactions, model selection (bu-mini, bu-max, bu-ultra), structured output, and shared workspaces for file persistence across sessions. Get your API key from the Browser Use Dashboard.

Claude Code

claude mcp add -t http -H "x-browser-use-api-key: YOUR_API_KEY" browser-use https://api.browser-use.com/mcp
Replace YOUR_API_KEY with your actual API key. Claude Code requires the API key to be passed via the -H (header) flag.

Claude Desktop

Add to claude_desktop_config.json:
{
  "mcpServers": {
    "browser-use": {
      "url": "https://api.browser-use.com/mcp",
      "headers": {
        "x-browser-use-api-key": "YOUR_API_KEY"
      }
    }
  }
}

Cursor

Add to .cursor/mcp.json:
{
  "mcpServers": {
    "browser-use": {
      "url": "https://api.browser-use.com/mcp",
      "headers": {
        "x-browser-use-api-key": "YOUR_API_KEY"
      }
    }
  }
}

Windsurf

Add to ~/.codeium/windsurf/mcp_config.json:
{
  "mcpServers": {
    "browser-use": {
      "serverUrl": "https://api.browser-use.com/mcp",
      "headers": {
        "x-browser-use-api-key": "YOUR_API_KEY"
      }
    }
  }
}

Available Tools

ToolDescriptionCost
browser_taskRun a full automation task0.01init+perstep(default0.01 init + per-step (default 0.006/step). See Pricing.
execute_skillRun a skill$0.02/call
list_skillsList available skillsFree
get_cookiesExtract cookies for authFree
list_browser_profilesList profilesFree
monitor_taskCheck task progressFree