Why Add Browser MCP to Cursor IDE?
Cursor IDE's Agent mode and Composer are state-of-the-art coding companions. However, out of the box, LLM agents cannot access dynamic JavaScript-rendered web pages, verify UI rendering, or inspect competitor APIs protected by Cloudflare Turnstile or AWS WAF.
Connecting 2Captcha Browser MCP equips Cursor with real CDP browser primitives:
- Live Web Inspection: Let Cursor visit production web applications to fetch live schemas, API payloads, and documentation.
- Automated Anti-Bot Bypass: Cloudflare Turnstile, AWS WAF, and Google reCAPTCHA challenges are solved automatically in the background.
- Zero Compute Overhead: All Chromium rendering happens on scalable cloud infrastructure—no heavy local Docker or headless processes eating your laptop RAM.
- Full Session Privacy: Clean ephemeral sessions with residential IP pools in 220+ countries.
Step 1: Create or Edit .cursor/mcp.json
Cursor supports project-specific MCP configurations through a .cursor/mcp.json file located in your project root, or globally via Cursor Settings > Features > MCP.
Add the following configuration block:
{
"mcpServers": {
"twocaptcha-browser": {
"command": "npx",
"args": [
"-y",
"@2captcha/browser-mcp"
],
"env": {
"TWOCAPTCHA_API_KEY": "YOUR_ACTUAL_2CAPTCHA_API_KEY",
"AUTO_SOLVE_CAPTCHAS": "true",
"DEFAULT_COUNTRY": "us"
}
}
}
}YOUR_ACTUAL_2CAPTCHA_API_KEY with your API token from the2Captcha Dashboard.Step 2: Verify MCP Connection in Cursor
- Open Cursor Settings (
Ctrl+,on Windows/Linux orCmd+,on macOS). - Navigate to the Features tab on the left sidebar and select MCP.
- Locate
twocaptcha-browserin the list of installed MCP servers. - Verify that the status dot is ● Connected and displaying available browser tools (e.g.,
navigate,screenshot,click,extract_content).
Step 3: Prompting Cursor Composer in Agent Mode
Switch Cursor Composer into Agent mode (press Ctrl+I or Cmd+I and toggle the dropdown to Agent). You can now mention the browser tool directly or ask the agent to inspect live URLs:
@twocaptcha-browser Navigate to https://example-protected.com/pricing, wait for any Cloudflare challenge to clear automatically, and extract the latest enterprise tier pricing table into a TypeScript interface.Cursor will execute the MCP tool, launch a cloud browser session with an integrated residential proxy, wait for 2Captcha's solver network to automatically resolve any interactive challenges, and return clean structured data directly into your editor buffer.
Available Tools in 2Captcha Browser MCP
| Tool Name | Description | Auto-Solve Capabilities |
|---|---|---|
browser_navigate | Navigates cloud Chromium to target URL with proxy rotation | Turnstile, reCAPTCHA, AWS WAF |
browser_screenshot | Captures full-page or viewport PNG for LLM multimodal vision | Pre-screenshot solver check |
browser_click | Simulates human mouse clicks with randomized bezier paths | Bypasses behavioral heuristics |
browser_extract_text | Dumps cleaned DOM text content for context injection | Extracts post-render dynamic JS content |
Comparing Browser MCP Servers for Cursor
How does 2Captcha compare to other popular MCP browser servers for development teams?
- 2Captcha Browser MCP vs Browserbase MCP: 2Captcha includes built-in CAPTCHA decoding at $1.50/1k without recurring seat fees.
- 2Captcha Browser MCP vs Steel MCP: Steel is great for self-hosted instances, but requires managing your own residential proxies and anti-bot fingerprints.
- 2Captcha Browser MCP vs Browser-Use MCP: Browser-Use is vision-agent driven, while 2Captcha provides rock-solid deterministic CDP primitives for IDE workflows.
Connect Cursor IDE in 30 Seconds
Get instant access to cloud Chromium, automated CAPTCHA solvers, and residential IP rotation.
Get Free 2Captcha API Key →