capguru-mcp

v0.3.5
guru.cap/capguru-mcp Checked 3 days ago Published 1 month ago

AI 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).

ParameterTypeDescription
channelstring
headlessboolean
proxystring

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.

ParameterTypeDescription
cdp_urlstring

goto

Open a URL in the browser page. wait_until: load | domcontentloaded | networkidle.

ParameterTypeDescription
url *string
timeoutinteger
wait_untilstring

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.

ParameterTypeDescription
captcha_typestring
timeoutinteger

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…

ParameterTypeDescription
actionstring
apply_to_pageboolean
cookiesstring
data_sstring
domainstring
enterpriseboolean
invisibleboolean
min_scorenumber
pageurlstring
proxystring
proxytypestring
sitekeystring
user_agentstring
versionstring

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.

ParameterTypeDescription
apply_to_pageboolean
pageurlstring
sitekeystring

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…

ParameterTypeDescription
fill_selectorstring
image_base64string
image_pathstring
image_urlstring
selectorstring
use_page_cookiesboolean
vernetinteger

screenshot

Take a screenshot of the current page.

ParameterTypeDescription
full_pageboolean

page_text

Return the visible text of the page (or of an element) so the page can be read without a screenshot.

ParameterTypeDescription
max_charsinteger
selectorstring

click

Click an element by CSS selector (or Playwright selector such as text=Sign in).

ParameterTypeDescription
selector *string

fill

Type text into an input found by selector.

ParameterTypeDescription
selector *string
text *string

press

Press a keyboard key (Enter, Tab, Escape, ArrowDown, Control+A ...), optionally focusing an element first.

ParameterTypeDescription
key *string
selectorstring

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.

ParameterTypeDescription
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).