What is Model Context Protocol (MCP)?
The Model Context Protocol (MCP) is an open standard developed by Anthropic that allows AI applications like Claude Desktop to securely connect to external tools and data sources.
A Browser MCP Server exposes headless browser functions as standard MCP tools. When Claude needs live data from an online portal, it automatically calls the browser server, loads the page, clicks buttons, and reads the resulting DOM.
Step 1: Locate `claude_desktop_config.json`
Open your file explorer or terminal and locate the configuration file depending on your operating system:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json - Linux:
~/.config/Claude/claude_desktop_config.json
Step 2: Add 2Captcha Browser MCP
Open the file in any text editor and add the twocaptcha-browser server configuration inside the mcpServers object:
{
"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"
}
}
}
}Step 3: Restart Claude Desktop
Save the JSON file and restart Claude Desktop (Quit from tray/dock and launch again). You should now see a small hammer icon 🔨 in the bottom right corner of Claude Desktop showing active browser tools:
browser_navigate: Loads any public or authenticated URL.browser_click: Clicks elements using CSS selectors or text labels.browser_screenshot: Captures full-page screenshots and feeds them into Claude's vision capabilities.browser_solve_captcha: Triggers the 2Captcha solver to bypass Cloudflare Turnstile, reCAPTCHA, and GeeTest.
Step 4: Test with a Prompt
Try asking Claude a prompt that requires live web interaction:
"Go to https://nowsecure.nl using the browser tool, verify if Cloudflare Turnstile is present, solve it, and tell me what the page header says."
Claude will call the MCP server, load the remote cloud browser session, bypass the anti-bot challenge automatically, and return the exact text content from the target website.