Capmonster MCP CAPTCHA Solver
OfficialCapMonster Cloud MCP server that lets AI agents submit and manage CAPTCHA-solving tasks via CapMonster's API.
List supported CAPTCHA task types and look up their required/optional parameters and solution schemas.
Fetch CapMonster documentation pages with section jumps and pagination.
Create CAPTCHA solving tasks, including large base64/opaque payloads via a JSON task file.
Poll task results once or wait to completion with rate-limit-aware polling.
Retrieve a current Windows User-Agent for consistent browser/task fingerprinting.
Check CapMonster account balance.
Supports reCAPTCHA, Cloudflare Turnstile/Challenge, FunCaptcha, GeeTest, AWS WAF, DataDome, Imperva, and other task types; it does not include a browser and hCaptcha is not supported.
Allows solving Binance anti-bot captchas by creating and polling CapMonster Cloud tasks.
Allows solving Cloudflare Turnstile and Cloudflare Challenge (managed challenge / cf_clearance) captchas by creating and polling CapMonster Cloud tasks.
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 |
|
| 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
Add the server to your MCP client config (see below).
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-mcpPrefer 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.cloudonly), with section-jump and pagination.create_task(task): Submits a captcha task and returns ataskId.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
Available Tools
8 toolscreate_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:
set it as the patchright browser context's UA (browser-launch flag / device emulation), so the page is loaded with it;
pass the SAME string as the
userAgentfield of any CapMonster task that accepts one (reCAPTCHA, Turnstile/Cloudflare, FunCaptcha, AWS WAF, DataDome, Imperva, Yidun, TenDI, ā¦);when the solution comes back with its own
userAgent(orheaders["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, sosection="Examples of solving"or evensection="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
metadataare 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 flatrequiredlist 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
Scored across 8 tools
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.
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.
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.
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
Related MCP Connectors
Solve reCAPTCHA v2/v3, hCaptcha, Cloudflare Turnstile and image captchas. Platform-hosted, no creden
Cloudflare Solver: Scraping API designed to bypass Cloudflare protection.
Solve reCAPTCHA image grids, text captchas, GeeTest and FunCAPTCHA for AI agents. Free tier.
Universal captcha solving with the industry-standard createTask / getTaskResult protocol, 19 task
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceIntegrates with 2Captcha to solve various CAPTCHA types (image, reCAPTCHA, hCaptcha, etc.) for AI agents via MCP.-
- FlicenseNot gradedqualityBmaintenanceEnables solving captchas through the createTask/getTaskResult protocol, supporting 19 task types with real browser rendering and anti-bot handling.-
- AlicenseNot gradedqualityDmaintenanceEnables solving reCAPTCHA v2/v3, hCaptcha, Cloudflare Turnstile, and image captchas through MCP tools. Users pay per solve with prepaid credit and can retrieve results asynchronously.MIT
- 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