Skip to main content
Glama
Capmonster MCP CAPTCHA Solver

Capmonster MCP CAPTCHA Solver

Official

CapMonster Cloud MCP Server: Captcha Solver & Captcha Bypass for AI Agents (Model Context Protocol)

šŸ”„ Using the CapSolver or 2Captcha MCP server? CapMonster Cloud is a cost-effective capsolver alternative and 2captcha alternative for AI agents: its MCP server covers reCAPTCHA, Cloudflare Turnstile, FunCaptcha, GeeTest, AWS WAF, DataDome and more, while reCAPTCHA v3 starts at $0.90 per 1,000 solves, which is up to 38% cheaper than 2Captcha and 10% cheaper than Capsolver. Switching your MCP client takes one config change: see the Migration example below. Full comparison and disclaimer are in the comparison section below.

Let your AI agent solve CAPTCHAs on its own. A Model Context Protocol (MCP) server for CapMonster Cloud, available as a Python package and as a TypeScript port (ts/). Works with Claude Desktop, Cursor and other MCP clients. As the official CapMonster MCP server, it is a cost-effective 2captcha alternative and capsolver alternative for captcha bypass in AI-agent web scraping and browser automation.

What it does

  • Lists the CAPTCHA types CapMonster Cloud supports.

  • Serves CapMonster's live documentation to the agent.

  • Creates solve tasks and polls them against the CapMonster Cloud REST API.

This server is the solving part of the workflow. It has no browser of its own — pair it with a browser-driving MCP (e.g. capmonster-mcp-patchright, GitHub) that does the page work (navigation, interaction, reading the live DOM/network, and injecting the solved token back into the page). See capmonster_agent/SKILL.md for the full step-by-step procedure for analyzing a captcha-protected page and solving it this way.

šŸ‘‰ Get your API Key and start solving CAPTCHAs


Related MCP server: captchaflow

šŸ“Š CapMonster Cloud MCP vs CapSolver MCP vs 2Captcha mcp-captcha-solver

Looking for a capsolver alternative or a 2captcha alternative for AI agents? Compare the MCP servers and the underlying captcha solving services.

MCP server coverage

Parameter

CapMonster Cloud MCP

CapSolver MCP

2Captcha mcp-captcha-solver

Captcha types available through MCP

reCAPTCHA v2 / v2 Enterprise / v3, Cloudflare Turnstile and Challenge, FunCaptcha, GeeTest v3 / v4, AWS WAF, DataDome, Imperva, TSPD, Binance, Prosopo, Yidun, TenDI, Hunt, Altcha, Basilisk, image tasks

reCAPTCHA v2, reCAPTCHA v3, Cloudflare Turnstile

reCAPTCHA v2

Install

uvx capmonster-mcp (PyPI) or npm

pip install capsolver-mcp (PyPI)

Run from a cloned Python project

Disclaimer: CapSolver and 2Captcha are trademarks of their respective owners. CapMonster Cloud is not affiliated with these entities. MCP coverage of other services is based on their publicly available documentation and repositories as of 27.10.2026 and may change.

reCAPTCHA v3

Parameter

CapMonster Cloud

2Captcha

CapSolver

DeathByCaptcha

Price per 1,000 solves (from)

$0.90

$1.45

$1.00

$2.89

API response time

≤ 2 s

≤ 2 s

< 3 s

≤ 3 s

Solving success rate

up to 99%

~77–92%

~95–98%

~64–90%

Disclaimer: 2Captcha, CapSolver, and DeathByCaptcha are trademarks of their respective owners. CapMonster Cloud is not affiliated with these entities. Performance metrics and pricing comparisons are based on publicly available data and internal benchmarking conducted on 27.09.2026.

Cloudflare Turnstile

Parameter

CapMonster Cloud

2Captcha

Anti-Captcha

DeathByCaptcha

Price per 1,000 solves (from)

$1.30

$1.45

$2.00

$2.89

Time to solve

6.24 s*

16.9 s

20.33 s

~13 s

Solving success rate

99%*

96%

96%

96%

Disclaimer: 2Captcha, Anti-Captcha, and DeathByCaptcha are trademarks of their respective owners. CapMonster Cloud is not affiliated with these entities. Performance metrics and pricing comparisons are based on publicly available data and internal benchmarking as of 12.10.2026.

What this means in practice:

  • reCAPTCHA v3: $0.90 versus $1.45 at 2Captcha is up to 38% cheaper, and $0.90 versus $1.00 at Capsolver is 10% cheaper.

  • Cloudflare Turnstile: $1.30 versus $1.45 at 2Captcha is 10% cheaper, and a solving time of 6.24 s versus 16.9 s is more than 60% faster.


⚔ Supported CAPTCHAs: Captcha Bypass for AI Agents

Use this MCP captcha solver for captcha bypass in AI web scraping and browser automation: reCAPTCHA bypass, Cloudflare Turnstile solver, DataDome solver, FunCaptcha solver, AWS WAF bypass and GeeTest solver.

Your AI Agent will be able to automatically solve, among others:

  • reCAPTCHA (v2, v2 Enterprise, v3)

  • Cloudflare Turnstile and Cloudflare Challenge (managed challenge / cf_clearance)

  • FunCaptcha (Arkose)

  • GeeTest (v3 and v4)

  • Enterprise Anti-Bot Systems: AWS WAF, DataDome, Imperva, TSPD, Binance, Prosopo, Yidun, TenDI, Hunt, Altcha, Basilisk, and more

  • Image-to-Text & Complex Image Tasks

The authoritative, current list is served live from CapMonster's OpenAPI spec via the get_supported_tasks tool. hCaptcha is not currently supported.

šŸš€ Quick start

  1. Get your API key.

  2. Add the server to your MCP client config (see below).

  3. Ask your agent to open a captcha-protected page and solve it.

šŸ“¦ Installation

Requires Python 3.11+ and a valid CapMonster API Key. Run it with uvx (no local clone needed):

uvx capmonster-mcp

Prefer TypeScript/Node? See ts/README.md for the npm-published port — same tools, same behavior.

šŸ”Œ Using with an MCP client (e.g. Claude Desktop)

Add the following to your MCP client's config (e.g. claude_desktop_config.json):

{
  "mcpServers": {
    "capmonster": {
      "command": "uvx",
      "args": ["capmonster-mcp"],
      "env": {
        "CM_API_KEY": "your_api_key_here"
      }
    }
  }
}

The server only runs over stdio, so there are no HTTP headers to carry a per-request key — CM_API_KEY is read once from the environment and shared by every tool call in the session.

Pair it with a browser-automation MCP server (e.g. capmonster-mcp-patchright) so your agent can both see the page and solve what's on it — see mcp.example.json for a config with both servers wired up together.

šŸ”„ Migrating from the CapSolver or 2Captcha MCP server

Already give your AI agent captcha solving through another MCP server? Replace only the server entry in your MCP client config and keep the rest of your agent setup unchanged.

Before: CapSolver MCP

{
  "mcpServers": {
    "capsolver": {
      "command": "capsolver-mcp",
      "env": {
        "CAPSOLVER_API_KEY": "YOUR_API_KEY"
      }
    }
  }
}

After: CapMonster Cloud MCP

{
  "mcpServers": {
    "capmonster": {
      "command": "uvx",
      "args": ["capmonster-mcp"],
      "env": {
        "CM_API_KEY": "your_api_key_here"
      }
    }
  }
}

Get your key from the CapMonster Cloud Dashboard, restart your MCP client and your agent will see the CapMonster tools listed below.

If you use the 2Captcha mcp-captcha-solver project instead, remove its server entry from your client config and add the CapMonster entry above. Pair it with a browser MCP such as capmonster-mcp-patchright for the page work.

šŸ›  Available MCP Tools

Once connected, your LLM will have access to the following tools:

  • get_supported_tasks: Lists captcha task types CapMonster supports, from the live OpenAPI spec.

  • get_task_parameters(task_type): Required/optional fields, variant notes, and the solution schema for a task type.

  • get_docs(url, offset, limit, section): Fetches a CapMonster documentation page (docs.capmonster.cloud / api.capmonster.cloud only), with section-jump and pagination.

  • create_task(task): Submits a captcha task and returns a taskId.

  • get_task_result(task_id): Polls a task once.

  • get_task_result_wait(task_id, timeout_seconds, poll_interval_seconds): Polls a task to completion (preferred over driving the poll loop yourself).

  • get_actual_user_agent(): Fetches a current Windows User-Agent to use as one consistent fingerprint across the browser and the solve task.

  • get_balance(): Checks your current CapMonster Cloud API balance.

ā“ FAQ

Is CapMonster Cloud a CapSolver alternative for MCP? Yes. The CapMonster Cloud MCP server covers more captcha types than the CapSolver MCP server, which exposes reCAPTCHA v2, reCAPTCHA v3 and Cloudflare Turnstile. For reCAPTCHA v3 the CapMonster Cloud service is also 10% cheaper ($0.90 versus $1.00 per 1,000 solves) with an API response time of ≤ 2 s versus < 3 s. See the comparison tables above and their disclaimers.

Is CapMonster Cloud a 2Captcha alternative for AI agents? Yes. The 2Captcha mcp-captcha-solver project focuses on reCAPTCHA v2, while this server covers many more task types. For reCAPTCHA v3 CapMonster Cloud starts at $0.90 per 1,000 solves versus $1.45 at 2Captcha, which is up to 38% cheaper.

How do I switch from the CapSolver MCP server to CapMonster Cloud? Replace the capsolver entry in your MCP client config with the capmonster entry shown in the migration example, set CM_API_KEY and restart the client.

How do I bypass reCAPTCHA or Cloudflare Turnstile with Claude or Cursor? Add this server and a browser MCP to your client, then ask the agent to open the protected page and solve it. The agent reads the page parameters, creates a task with create_task, waits with get_task_result_wait and injects the token through the browser server.

Does it support hCaptcha? No. hCaptcha is not currently supported.

How do I get an API key? Register on CapMonster Cloud and copy your API key. See the Getting Started Guide.

āš–ļø Responsible use

Use this server only on websites you own or have permission to automate, and in line with the terms of service of those websites and applicable law.

šŸ“š Official Documentation

šŸ“„ License

MIT

Available Tools

8 tools
create_taskCreate captcha taskA

Submit a captcha task; returns taskId. Poll with get_task_result.

task must include 'type' and all required fields. Always look up required params at https://docs.capmonster.cloud/docs/captchas/ — do not rely on training data.

For a task holding one or more large base64 blobs (ComplexImageTask with several images, htmlPageBase64 for Cloudflare cf_clearance/wait_room, or any other opaque field/combined payload too big to type safely) pass task_file instead of task: the path to a JSON file, on this machine's filesystem, containing the exact task object. Write that file with a script or a browser-side save (never by hand-typing a long base64 literal into this tool call's own arguments — a single dropped/unclosed quote in a multi-KB string silently merges what should be separate array elements into one, which is why this exists: a 9-image ComplexImageTask sent inline this way became "Image count: 1, but the task supports: 9" even though the array had 9 entries when written). Provide exactly one of task or task_file.

Inputs: task, task_file.

get_actual_user_agentGet actual User-AgentA

Fetch a current, real-world (Windows) User-Agent string from CapMonster's UA service.

Use ONE User-Agent as a single fingerprint thread across the whole solve — they must all match or the solved token is likely to be rejected:

  1. set it as the patchright browser context's UA (browser-launch flag / device emulation), so the page is loaded with it;

  2. pass the SAME string as the userAgent field of any CapMonster task that accepts one (reCAPTCHA, Turnstile/Cloudflare, FunCaptcha, AWS WAF, DataDome, Imperva, Yidun, TenDI, …);

  3. when the solution comes back with its own userAgent (or headers["User-Agent"]), the token is bound to THAT value — reuse it for the injection and any follow-up requests instead of your original.

CapMonster requires a current Windows-OS UA; a stale/invalid one fails with ERROR_WRONG_USERAGENT, so re-fetch here rather than reusing an old one.

Inputs: no named parameters.

get_balanceGet CapMonster balanceA

Get CapMonster account balance.

Inputs: no named parameters.

get_docsFetch CapMonster documentationA

Fetch a CapMonster documentation page by its URL and return its text.

Use this to read a captcha type's docs (exact task parameters, how to extract them from a live page, and worked createTask/getTaskResult examples). Pick the URL from the llms.txt index (https://docs.capmonster.cloud/llms.txt) — it lists every doc page. Also accepts llms-full.txt and the OpenAPI spec URL.

Only URLs on docs.capmonster.cloud or api.capmonster.cloud are allowed.

Jumping to a section (preferred on big pages — avoids paging by hand):

  • Pass section="<heading>" to return just that ##/### section (from its heading down to the next same-or-higher-level heading). Matching is case-insensitive and substring-based, so section="Examples of solving" or even section="examples" works. Great for going straight to "Create task", "Get task result", or "Examples of solving …".

  • When a page is returned in chunks, the first chunk is prefixed with a section outline (each heading and the exact section="…" to jump to it), so you can pick the section you need in one follow-up call.

Paging (when you want the raw text, no section): Pages that don't fit in limit characters are returned one chunk at a time, starting at offset. The chunk is prefixed with a header showing the range, the total length, and (if there's more) the offset to pass on the next call — keep calling with that offset until the header says end of document.

Inputs: url (required), limit, offset, section.

get_supported_tasksList supported captcha task typesA

List captcha task types supported by CapMonster, sourced from the OpenAPI spec.

Inputs: no named parameters.

get_task_parametersGet task type parametersA

Return the parameters for a CapMonster task type, from the live OpenAPI spec.

Use after get_supported_tasks() to look up what fields a task needs. Pass either a top-level type name (e.g. 'RecaptchaV2Task', 'TurnstileTask') or a CustomTask class name (e.g. 'DataDome', 'altcha', 'HUNT').

Returns:

  • all_parameters: every field with its type/description (nested objects like metadata are expanded).

  • required: the fields the spec marks required.

  • description: the type's own spec note. READ IT — for several types it is where the spec records that the type has mutually-exclusive VARIANTS and which fields each needs (e.g. Turnstile's cloudflareTaskType, AWS WAF's challenge/captcha/cookie option-sets). The flat required list CANNOT express those variants, so it under-reports what a given variant needs.

  • solution: the name of the solution schema this type returns.

āš ļø The flat field list is a starting point, not the whole contract. When description mentions variants/options/modes — or whenever you are unsure — confirm the exact per-variant field set and the solution shape against the worked examples via get_docs before building the task.

Inputs: task_type (required).

get_task_resultGet task result (single poll)A

Fetch a task result ONCE (a single poll).

Prefer get_task_result_wait, which polls for you. Use this only if you want to drive the poll loop yourself.

Returns a dict:

  • while solving: {"status": "processing", ...} — retry after 2-3 s. Poll no faster than once per 2 s (max 120 polls per task), and fetch the result promptly: the task is stored for only ~5 min before it expires with ERROR_NO_SUCH_CAPCHA_ID.

  • when ready: {"status": "ready", "solution": {...}, "cost": ..., ...}

The solution object is CapMonster's raw solution, returned verbatim — its shape differs per captcha type. Extract fields by the shape documented for that type (get_docs), e.g. gRecaptchaResponse/token for reCAPTCHA/Turnstile, nested domains[host].cookies.* for DataDome/Imperva, data.randstr + data.ticket for TenDI, etc.

IMPORTANT: several types return a userAgent (or headers["User-Agent"]) inside the solution — the solved token is bound to it, so reuse that exact UA in the browser / subsequent requests when injecting (Cloudflare Challenge, FunCaptcha, AWS WAF, Binance, TenDI, Basilisk).

Inputs: task_id (required).

get_task_result_waitGet task result (poll to completion)A

Poll a task to completion and return its solution (the usual way to collect a result after create_task).

Blocks, polling /getTaskResult every poll_interval_seconds until the task is ready or timeout_seconds elapses. This respects CapMonster's limits for you — the interval is clamped to a minimum of 2 s (the API rejects faster polling with ERROR_TOO_MUCH_REQUESTS) and the number of polls is capped at 120 per task.

Returns the same ready dict as get_task_result: {"status": "ready", "solution": {...}, "cost": ..., ...} The solution is CapMonster's raw solution, verbatim — its shape differs per captcha type (see get_task_result / get_docs).

IMPORTANT: several types return a userAgent (or headers["User-Agent"]) inside the solution — the token is bound to it, so reuse that exact UA when injecting (Cloudflare Challenge, FunCaptcha, AWS WAF, Binance, TenDI, Basilisk).

Raises an error on solve error (e.g. ERROR_RECAPTCHA_TIMEOUT — often a slow proxy) or if the task is still processing when timeout_seconds is reached (increase the timeout, or check the proxy/params and re-create the task).

Inputs: task_id (required), timeout_seconds, poll_interval_seconds.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4.4/5.0

    Scored across 8 tools

    Disambiguation4/5

    The three reference tools (get_supported_tasks, get_task_parameters, get_docs) have overlapping purposes but are clearly distinguished: one lists types, one returns structured parameters, and one fetches documentation pages. The polling pair get_task_result vs get_task_result_wait is well-differentiated, and no two tools actually do the same thing.

    Naming Consistency5/5

    All tools follow a consistent verb_noun pattern: get_* for informational/account operations and create_task for the single mutation. Names are specific, predictable, and use the same style throughout.

    Tool Count5/5

    Eight tools is well-scoped for a captcha-solving service. The set covers balance, user-agent, task creation, two result-polling variants, and three complementary reference tools, each earning its place without redundancy.

    Completeness5/5

    The core captcha-solving lifecycle is covered: discover supported tasks, look up parameters and docs, create the task, and poll for the result. Account balance and user-agent fetching address operational needs, leaving no dead ends in the primary workflow.

    Maintenance

    ActivityMaintained
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      Not graded
      quality
      B
      maintenance
      Enables solving captchas through the createTask/getTaskResult protocol, supporting 19 task types with real browser rendering and anti-bot handling.
      -
    • A
      license
      A
      quality
      C
      maintenance
      Enables 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.
      4
      161 npm
      MIT