Skip to main content

CapMonster Cloud MCP Server (Model Context Protocol)

License: MIT MCP Protocol

An Model Context Protocol (MCP) server for CapMonster Cloud, available as a Python package and as a TypeScript port (ts/).

This server is the solve brain: it lists supported captcha types, serves CapMonster's live docs, and creates/polls solve tasks against the CapMonster Cloud REST API. It has no browser of its own — pair it with a browser-driving MCP (e.g. capmonster-mcp-patchright) 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 Free API Key and Start Bypassing CAPTCHAs


⚡ Supported CAPTCHAs

Your AI Agent will be able to automatically bypass, 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, despite appearing in some of CapMonster's own marketing copy.

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

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

📚 Official Documentation

📄 License

MIT

Metadata

Release files for capmonster-mcp 0.1.11

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for capmonster-mcp 0.1.11
File Size Uploaded
capmonster_mcp-0.1.11.tar.gz 65.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for capmonster-mcp 0.1.11
File Interpreter ABI Platform
capmonster_mcp-0.1.11-py3-none-any.whl Python 3 none any Details

Total release size: 78.1 kB

Release files / capmonster_mcp-0.1.11.tar.gz

Download URL capmonster_mcp-0.1.11.tar.gz
Size 65.3 kB
Tags Source
SHA-256 checksum
How to use checksums
0e09c731138aef59086aa13751454d4361b4fa2f6a3fccd7ad2e19f184461d5e
BLAKE2b-256 checksum
How to use checksums
246e9bcf0c12919cec2e72e7ee1981fee9f9a622a61b6902d7f248c5dbf8bc8d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / capmonster_mcp-0.1.11-py3-none-any.whl

Download URL capmonster_mcp-0.1.11-py3-none-any.whl
Size 12.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
132c24680dd776f592fb97d267e15613c71e5e2bed3aa182a4e355b5dc4506ee
BLAKE2b-256 checksum
How to use checksums
f99e2a869c6b62d60ebd29ab00575d7373d068d01cbf5ab94b679f8f35a5c6d6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release history Release notifications | RSS feed

0.1.14

2 release files

0.1.13

2 release files

0.1.12

2 release files

This release

0.1.11 This release

2 release files

0.1.10

2 release files

0.1.9

2 release files

0.1.8

2 release files

0.1.5

2 release files

0.1.4

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page