capguru-mcp
v0.3.5AI captcha solver for agents: reCAPTCHA, hCaptcha, Turnstile, FunCaptcha, GeeTest, SmartCaptcha
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
open_browser
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).
| Parameter | Type | Description |
|---|---|---|
channel | string | |
headless | boolean | |
proxy | string |
connect_browser
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.
| Parameter | Type | Description |
|---|---|---|
cdp_url | string |
goto
Open a URL in the browser page. wait_until: load | domcontentloaded | networkidle.
| Parameter | Type | Description |
|---|---|---|
url * | string | |
timeout | integer | |
wait_until | string |
detect_captcha
Detect which captcha is visible on the page without solving it. Returns recaptcha2, hcaptcha, yandex, geetest, funcaptcha, tiktok, aws or 'none'.
solve_captcha
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.
| Parameter | Type | Description |
|---|---|---|
captcha_type | string | |
timeout | integer |
solve_recaptcha_token
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…
| Parameter | Type | Description |
|---|---|---|
action | string | |
apply_to_page | boolean | |
cookies | string | |
data_s | string | |
domain | string | |
enterprise | boolean | |
invisible | boolean | |
min_score | number | |
pageurl | string | |
proxy | string | |
proxytype | string | |
sitekey | string | |
user_agent | string | |
version | string |
solve_turnstile_token
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.
| Parameter | Type | Description |
|---|---|---|
apply_to_page | boolean | |
pageurl | string | |
sitekey | string |
solve_image_captcha
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 Gen…
| Parameter | Type | Description |
|---|---|---|
fill_selector | string | |
image_base64 | string | |
image_path | string | |
image_url | string | |
selector | string | |
use_page_cookies | boolean | |
vernet | integer |
screenshot
Take a screenshot of the current page.
| Parameter | Type | Description |
|---|---|---|
full_page | boolean |
page_text
Return the visible text of the page (or of an element) so the page can be read without a screenshot.
| Parameter | Type | Description |
|---|---|---|
max_chars | integer | |
selector | string |
click
Click an element by CSS selector (or Playwright selector such as text=Sign in).
| Parameter | Type | Description |
|---|---|---|
selector * | string |
fill
Type text into an input found by selector.
| Parameter | Type | Description |
|---|---|---|
selector * | string | |
text * | string |
press
Press a keyboard key (Enter, Tab, Escape, ArrowDown, Control+A ...), optionally focusing an element first.
| Parameter | Type | Description |
|---|---|---|
key * | string | |
selector | string |
list_tabs
List open tabs with their index, URL and title; the active tab is marked with *.
switch_tab
Make the tab with this index (see list_tabs) the active page for all other tools.
| Parameter | Type | Description |
|---|---|---|
index * | integer |
page_info
Return the current URL and title of the page.
close_browser
Close the browser opened by open_browser (or disconnect from a connected one).