guru.cap/capguru-mcp
OfficialSupports solving Cloudflare Turnstile captchas by obtaining tokens for a sitekey and page URL.
Supports solving Google reCAPTCHA v2, v2 Invisible, v3, and v3 Enterprise captchas by obtaining tokens, including action-based v3 requests.
Supports solving TikTok captchas in the browser as part of page automation.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@guru.cap/capguru-mcp Open https://site.com/login, solve the captcha, and take a screenshot"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
capguru-mcp is a Model Context Protocol server that connects the Cap.Guru captcha solving service to Claude Desktop, Claude Code, Cursor, Windsurf, VS Code (GitHub Copilot), Cline, Zed, Gemini CLI, OpenAI Codex CLI and any other MCP client.
The assistant opens a page in the browser, finds the captcha, solves it and goes on with the task. You just describe what you need in plain language.
Features
Solve captchas right on the page: clicks images, drags sliders, completes multi-step challenges.
Automatic detection of the captcha type.
Tokens without a browser: reCAPTCHA v2, v2 Invisible, v3 (with
action), reCAPTCHA v3 Enterprise and Cloudflare Turnstile by sitekey and page URL.Text captchas from a page element, file, URL or base64, with the answer typed into the input.
Browser tools for the agent: open pages, click, type, press keys, read page text, switch tabs, take screenshots.
Works with your own Chrome: connect over CDP to a browser driven by another tool.
Progress notifications during long solves, so clients with call timeouts do not drop the request.
Your API key stays private: it is masked in all logs and sent only to the Cap.Guru API.
Related MCP server: Navigator MCP
Supported captchas
Captcha | In the browser | Token |
reCAPTCHA v2 / v2 Invisible | ✅ | ✅ |
reCAPTCHA v3 | ✅ | |
Cloudflare Turnstile | ✅ | |
hCaptcha | ✅ | |
Yandex SmartCaptcha | ✅ | |
GeeTest v3 / v4 | ✅ | |
FunCaptcha (Arkose Labs) | ✅ | |
AWS WAF | ✅ | |
TikTok | ✅ | |
Text (image) captchas | ✅ |
Quick start
pip install capguru-mcp
playwright install chromiumAdd the server to your MCP client. Example for Claude Desktop (claude_desktop_config.json), Cursor (~/.cursor/mcp.json), Windsurf, Gemini CLI and most other clients:
{
"mcpServers": {
"capguru": {
"command": "capguru-mcp",
"env": { "CAPGURU_API_KEY": "YOUR_KEY" }
}
}
}Claude Code:
claude mcp add capguru --env CAPGURU_API_KEY=YOUR_KEY -- capguru-mcpVS Code (.vscode/mcp.json) uses the servers key, Zed uses context_servers, Codex CLI uses TOML. Ready configs for every client are in the documentation.
If the client cannot find the
capguru-mcpcommand (often on Windows), use"command": "python", "args": ["-m", "capguru_mcp"], or run without installing via"command": "uvx", "args": ["capguru-mcp"].
Example requests
Open
https://site.com/login, solve the captcha and take a screenshotGo to the site, fill in the sign-up form and pass the captcha
Get a reCAPTCHA token for sitekey
6Le-wvkSAAAAAPBMRTvw0Q4Muexq9bi0DJwx_mJ-onhttps://www.google.com/recaptcha/api2/demoGet a reCAPTCHA v3 token with action
verifyfor sitekey6LdSQV8mAAAAAA8tgiox2isjB1H4QSr-pNBXajUTonhttps://test.cap.guru/demo/recapv3Open
https://test.cap.guru/demo/cloudand solve the TurnstileRecognize the captcha image
#captcha_imgand type the answer into#captcha_input
Tools
Tool | Description |
| Launch Chromium, Chrome or Edge ( |
| Connect to a running Chrome started with |
| Open a URL |
| Click an element, type into an input, press a key |
| Visible text of the page or an element |
| List tabs and switch the active one |
| Screenshot, current URL and title |
| Detect the captcha type without solving |
| Solve the captcha on the page: |
| reCAPTCHA v2, v2 Invisible ( |
| Cloudflare Turnstile token |
| Text captcha from an image; |
| Close the browser |
Settings
Variable | Default | Description |
| Cap.Guru API key (required) | |
|
| API server |
|
| Max number of solving attempts |
|
| Include the solver log in tool results |
|
| |
| Path to a browser executable | |
| Extra browser arguments, space separated |
Proxy format is the same everywhere: http://login:password@host:port, socks5://... or login:password@host:port.
Security
The API key is masked in logs and error messages and is sent only to the Cap.Guru API.
image_pathaccepts only image files (png, jpg, gif, bmp, webp) up to 5 MB.image_urlis downloaded without browser cookies unlessuse_page_cookiesis set.
Requirements
Python 3.10+, Playwright (installed automatically, plus playwright install chromium once) and a Cap.Guru API key.
Links
Package on PyPI: capguru-mcp
Official MCP Registry:
guru.cap/capguru-mcpCaptcha demo pages to test the server: test.cap.guru/demo
Support: Telegram @captcha_guru, support@cap.guru
License
MIT, see LICENSE. Use the server in line with the law and the terms of the websites you work with.
Кратко на русском
capguru-mcp подключает сервис решения капчи Cap.Guru к ИИ-ассистентам: Claude, Cursor, Windsurf, VS Code, Gemini CLI и другим клиентам MCP. Ассистент сам открывает страницу, находит капчу, решает её и продолжает работу.
Поддерживаются reCAPTCHA v2/v3, Cloudflare Turnstile, hCaptcha, Яндекс SmartCaptcha, GeeTest v3/v4, FunCaptcha, AWS WAF, TikTok и текстовые капчи.
pip install capguru-mcp
playwright install chromiumНастройка клиентов, список инструментов и примеры: документация на русском.
Available Tools
17 toolsclickB
Click an element by CSS selector (or Playwright selector such as text=Sign in).
Inputs: selector (required). Returns: result
close_browserA
Close the browser opened by open_browser (or disconnect from a connected one).
Inputs: no named parameters. Returns: result
connect_browserA
Connect to an already running Chrome started with --remote-debugging-port and attach the solver to its first tab. Use this to solve captchas in a browser controlled by another tool.
Inputs: cdp_url. Returns: result
detect_captchaA
Detect which captcha is visible on the page without solving it. Returns recaptcha2, hcaptcha, yandex, geetest, funcaptcha, tiktok, aws or 'none'.
Inputs: no named parameters. Returns: result
fillC
Type text into an input found by selector.
Inputs: text (required), selector (required). Returns: result
gotoC
Open a URL in the browser page. wait_until: load | domcontentloaded | networkidle.
Inputs: url (required), timeout, wait_until. Returns: result
list_tabsA
List open tabs with their index, URL and title; the active tab is marked with *.
Inputs: no named parameters. Returns: result
open_browserB
Launch a new Chromium browser with one page and attach the captcha solver to it.
headless: run without a visible window. channel: 'chrome' or 'msedge' to use an installed browser instead of bundled Chromium. proxy: 'http://login:password@host:port' or 'login:password@host:port' (socks5:// also works).
Inputs: proxy, channel, headless. Returns: result
page_infoA
Return the current URL and title of the page.
Inputs: no named parameters. Returns: result
page_textB
Return the visible text of the page (or of an element) so the page can be read without a screenshot.
Inputs: selector, max_chars. Returns: result
pressC
Press a keyboard key (Enter, Tab, Escape, ArrowDown, Control+A ...), optionally focusing an element first.
Inputs: key (required), selector. Returns: result
screenshotC
Take a screenshot of the current page.
Inputs: full_page.
solve_captchaA
Solve the captcha on the current page through the Cap.Guru service.
captcha_type: auto | recaptcha2 | hcaptcha | yandex (alias: other) | geetest | funcaptcha | tiktok | aws. timeout: how many seconds to wait for the captcha to appear on the page. Solving with clicks can take several minutes; progress notifications are sent every 10 s.
Inputs: timeout, captcha_type. Returns: result
solve_image_captchaA
Recognize a text (image) captcha through Cap.Guru (method base64) and return the text.
Image source, one of: selector: the captcha image element on the open page (a screenshot of the element is sent), image_base64: image in base64 (a data: URL is also accepted), image_path: path to a local image file (png, jpg, gif, bmp, webp up to 5 MB), image_url: image URL (downloaded without cookies; use_page_cookies=true sends the page cookies). vernet: captcha kind; 0 (default) = not sent, the service chooses. Pick the kind that matches the site: 2 General v1, 6 General v2 (try 2 or 6 for distorted text), 22 Arithmetic (the service returns the expression as it is, e.g. 27+15=, and this server calculates the result), 12 Rambler, 18 General Yandex, 20 Yandex 6 characters, 16 VKontakte, 14 SolveMedia, 13 Gibdd, 9 Ok.ru, 17 World of Tanks, 5 Microsoft Hotmail. fill_selector: if set and a page is open, the answer is typed into this input.
Inputs: vernet, selector, image_url, image_path, +3 more. Returns: result
solve_recaptcha_tokenA
Get a reCAPTCHA token from Cap.Guru (method userrecaptcha) without solving images.
version: v2 (with invisible=true for v2 Invisible) or v3. For v3: action (the site's action name, 'verify' if not set), min_score and enterprise=true for reCAPTCHA v3 Enterprise (sends enterprise=1). domain: google.com or recaptcha.net if the site loads reCAPTCHA from recaptcha.net. sitekey: the k / data-sitekey value. pageurl: full URL of the page. If a browser page is open, empty sitekey, pageurl, user_agent, invisible, action, enterprise and domain are taken from it; with apply_to_page=true a v2 token is put into g-recaptcha-response and the site callback is called. proxy: same format as in open_browser ('http://login:password@host:port' or 'login:password@host:port').
Inputs: proxy, action, data_s, domain, +10 more. Returns: result
solve_turnstile_tokenA
Get a Cloudflare Turnstile token from Cap.Guru (method turnstile).
sitekey: the data-sitekey value (e.g. 0x4AAAA...). pageurl: URL of the page with Turnstile. If a browser page is open, empty sitekey/pageurl are taken from it, and with apply_to_page=true the token is put into cf-turnstile-response and the Turnstile callback is called. Usually 10-30 seconds.
Inputs: pageurl, sitekey, apply_to_page. Returns: result
switch_tabA
Make the tab with this index (see list_tabs) the active page for all other tools.
Inputs: index (required). Returns: result
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 17 tools
Most tools map to a distinct action+resource (open/connect/close browser, goto, fill, press, click, tabs, page info/text/screenshot), so an agent can usually pick correctly. The one real seam is solve_captcha with captcha_type=auto overlapping the dedicated solve_recaptcha_token / solve_turnstile_token / solve_image_captcha tools, though the descriptions distinguish 'solve on page via clicks' from 'fetch a token directly'.
Clear grouping conventions emerge: *_browser, *_tab, solve_*, and the page_* pair. Deviations exist — bare verbs like goto, fill, press, click and the bare noun screenshot break the verb_noun pattern, and goto is the odd one out versus a would-be navigate — but nothing is genuinely confusing.
At 17 tools this is slightly above the ideal 3-15 band, but the extra tools are justified by genuinely different captcha types (recaptcha token, turnstile, image) that each need their own call signature. Nothing appears redundant at the tool level.
Captcha coverage is strong (detect, on-page solve, token solvers for recaptcha/turnstile, image OCR) and the browser surface covers launch/connect/navigate/interact/screenshot/close. Gaps: no new_tab or close_tab despite list_tabs/switch_tab, and no hover, select_option, evaluate-JS, or explicit wait_for_selector — workable via click/press/retry, but a real limitation for dynamic pages.
Maintenance
Related MCP Connectors
Web search, browser automation, scraping, crawling and CAPTCHA solving for AI agents.
Solve reCAPTCHA image grids, text captchas, GeeTest and FunCAPTCHA for AI agents. Free tier.
Undetectable cloud browser sessions for AI agents and scrapers. Navigate, extract, click, captcha.
Browser agents and stealth cloud browsers for AI: run web tasks, fill forms, extract data.
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables AI agents to fully control a browser for web automation, including navigation, clicking, typing, scrolling, screenshots, and DOM inspection, with session persistence and anti-bot bypass.4028 npmMIT
- AlicenseBqualityCmaintenanceEnables LLM agents to automate web browsers with token-efficient perception, stealth anti-detection, captcha solving, network interception, and isolated persistent sessions.51MIT
- AlicenseNot gradedqualityAmaintenanceEnables AI agents to navigate, interact with, search, extract from, download from, and reuse sessions across the web using anti-detection browser automation.551 npmMIT
- AlicenseAqualityCmaintenanceEnables AI agents to solve reCAPTCHA v2/v3/Enterprise, Cloudflare Turnstile, DataDome and image captchas during browser or HTTP automation, returning the token, cookie or text the page needs. Failed solves are never billed, and a configurable per-process spend cap limits autonomous spending.4161 npmMIT