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. mcp-patchright-mainworld) 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. mcp-patchright-mainworld) 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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

capmonster_mcp-0.1.4.tar.gz (64.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

capmonster_mcp-0.1.4-py3-none-any.whl (12.8 kB view details)

Uploaded Python 3

File details

Details for the file capmonster_mcp-0.1.4.tar.gz.

File metadata

  • Download URL: capmonster_mcp-0.1.4.tar.gz
  • Upload date:
  • Size: 64.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for capmonster_mcp-0.1.4.tar.gz
Algorithm Hash digest
SHA256 e188dae5d44a4771b7ba4d6a477e6d5ed6b6c837ecb659ee0beeb459a9c28577
MD5 f0ace81dc2719b4599a155428fe469ca
BLAKE2b-256 31666ebf8919e13282c9f47158c9fef3ce6065b93f576c955cb0539a4e5915cf

See more details on using hashes here.

File details

Details for the file capmonster_mcp-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: capmonster_mcp-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 12.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for capmonster_mcp-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 fe2961a450d8768093c285ede8fe9edc527b9336f44200fa02456f55285e138f
MD5 1b61e5d06bf6eab3bfbd84688928e525
BLAKE2b-256 357b5a44391a0a316c74385bb0de6934a4dfc867868883932cf8b7d1cbd2f1c0

See more details on using hashes here.

Release history Release notifications | RSS feed

0.1.10

2 files

0.1.9

2 files

0.1.8

2 files

0.1.5

2 files

This release

0.1.4 This release

2 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