Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
CAPGURU_DEBUGNoInclude the solver log in tool results1
CAPGURU_SERVERNoAPI serverhttps://api.cap.guru
CAPGURU_API_KEYYesCap.Guru API key (required)
CAPGURU_ATTEMPTSNoMax number of solving attempts5
CAPGURU_BROWSER_ARGSNoExtra browser arguments, space separated
CAPGURU_BROWSER_PATHNoPath to a browser executable
CAPGURU_BROWSER_CHANNELNoSet to 'chrome' or 'msedge' to use an installed browser

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

Cap.Guru captcha solver. Typical flow: open_browser (or connect_browser) -> goto(url) -> interact with the page (click/fill/press, page_text to read it) until a captcha appears -> solve_captcha(). Supported in the browser: reCAPTCHA v2, hCaptcha, GeeTest v3/v4, FunCaptcha, TikTok, AWS WAF, Yandex SmartCaptcha (captcha_type "yandex" or "other"). Tokens without solving images: solve_recaptcha_token (v2, v2 invisible, v3 with action) and solve_turnstile_token. Text captchas: solve_image_captcha. Solving with clicks can take several minutes; for reCAPTCHA v2 solve_recaptcha_token is usually faster than solve_captcha.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}

Tools

Functions exposed to the LLM to take actions

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

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.

gotoC

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

detect_captchaA

Detect which captcha is visible on the page without solving it. Returns recaptcha2, hcaptcha, yandex, geetest, funcaptcha, tiktok, aws or 'none'.

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.

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

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.

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.

screenshotC

Take a screenshot of the current page.

page_textB

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

clickB

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

fillC

Type text into an input found by selector.

pressC

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

list_tabsA

List open tabs with their index, URL and title; the active tab is marked with *.

switch_tabA

Make the tab with this index (see list_tabs) the active page for all other tools.

page_infoA

Return the current URL and title of the page.

close_browserA

Close the browser opened by open_browser (or disconnect from a connected one).

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

B3.4/5.0

Scored across 17 tools

Disambiguation4/5

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'.

Naming Consistency4/5

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.

Tool Count4/5

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.

Completeness4/5

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

ActivityNo data
ResponsivenessNo recent community issues