
rea-captcha
io.github.masakaai由 GitHub 账号 masakaai 发布v0.3.1更新于 Oct 24, 2026
Safe same-session CAPTCHA handoff and fresh-evidence resume for Browser Use and Playwright agents.
发布方自己的服务:captcha.cc Human Verification
概览
一个本地 stdio MCP 服务器,在代理已有的浏览器会话中检测 CAPTCHA 验证挑战,并协调授权完成或人工接管,然后恢复原任务。
- 可以做什么
- 分析并检查检测到的验证挑战及其策略判定(captcha_analyze、captcha_inspect)。在已有浏览器中执行策略授权的完成操作,并等待新的验证证据(captcha_complete)。将挑战交由人工处理并等待唤醒信号(captcha_handoff、captcha_wait)。在获得新的服务器验证证据后恢复同一任务(captcha_resume)。无状态模式仅分析证据,不控制浏览器。
- 适用场景
- 当 Browser Use 或 Playwright 代理在自有或明确授权的站点上执行任务中途遇到 CAPTCHA,并希望在不重启任务的情况下于同一浏览器会话内完成阻断与恢复时使用。
- 运行要求
- 通过 npx(Node.js)作为 stdio 服务器在本地运行,仅限桌面端。同会话浏览器操作需要配置指向代理已用浏览器的 Playwright/CDP 适配器,并用 agent-config 命令生成宿主配置。无状态模式不需要浏览器。
安装
在 SourceWeft 中
- 打开 控制台中的 rea-captcha,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
rea-captcha
Keep Browser Use tasks alive through CAPTCHA handoff.
[npm] [CI] [Live demo] [license]
Translations
English · العربية · Deutsch · Ελληνικά · Español · فارسی · Français · Bahasa Indonesia · Italiano · 日本語 · 한국어 · Polski · Português (Brasil) · Русский · ไทย · Türkçe · Українська · Tiếng Việt · 简体中文 · 繁體中文Install · Live demo · Demo evidence · How it works · MCP catalog · Cases · Architecture
When a Browser Use task hits a CAPTCHA halfway through, rea-captcha keeps the block and recovery inside the browser session the agent already owns. It detects supported verification challenges, coordinates an authorized action or human handoff, requires fresh server-validated evidence, and then returns control to the same task. It ships a TypeScript SDK, local stdio MCP server, browser-use plugin, Vercel-compatible Agent Skill, and optional authorized-origin local OCR.
Official source: install from
masakaai/rea-captchaand npm packagerea-captcha. The project has no hosted solver, telemetry, stealth claim, or dependency on Jet Browser. It reuses the agent's existing browser; the provider examples use documented non-production credentials only.
[Four same-session verification demos: reCAPTCHA, Turnstile, hCaptcha, and an owned image/text flow]
Run the four live verification cases
If this fixes a handoff you have actually hit, a star helps other Browser Use builders find it.
What the demo proves
These are complete agent-driven protected-action flows, not DOM-only fixtures. Each run detects a challenge, performs the authorized browser interaction in the same page, submits to the real validation boundary, observes fresh passed evidence, verifies the session cookie, and resumes the same controller. Google reCAPTCHA v2, Cloudflare Turnstile, and hCaptcha use their documented test modes plus vendor Siteverify endpoints; the owned image/text case uses an explicitly authorized local path and local server validation.
The first three cases load vendor-hosted JavaScript and accept the protected action only after the server receives success: true from the vendor verification endpoint. They use the vendors' documented non-production credentials: Google test keys, Cloudflare dummy keys, and hCaptcha test keys.
Install
Browser Use
Install the version-aligned Python adapter from the verified release wheel:
Attach the handoff guard to the Agent that already owns the browser session:
The plugin borrows the agent's current BrowserSession; it does not launch or replace the browser. See the Browser Use handoff guide and complete example.
CI installs the supported Browser Use dependency and exercises the adapter against real Agent / BrowserSession pause-resume contracts; see the integration test.
MCP and coding agents
For local, stateless evidence analysis:
Stateless mode does not control a browser. Same-session actions require a configured Playwright/CDP adapter; generate a host configuration with npx [email protected] agent-config --agent mcp-json.
Or ask Codex, Claude Code, Cursor, or another coding agent to wire the correct path for the project:
How it works
MCP and coding agents
The official Registry entry is io.github.masakaai/rea-captcha and launches the zero-configuration stdio server through npm:
Review the pinned package version and approve npm's install prompt only when it matches the release you intend to run. The command does not suppress that prompt.
It exposes six tools: captcha_analyze, captcha_inspect, captcha_complete, captcha_handoff, captcha_wait, and captcha_resume. captcha_complete performs only a policy-authorized action in the configured existing browser and waits for fresh validation evidence. See the tool catalog for inputs and lifecycle semantics.
For a stateful local session, run setup and print a host configuration:
rea-captcha adds verification intelligence and bounded completion actions; it does not replace an agent's navigation tools. Both integrations must refer to the same browser session.
Hermes Agent users can inspect the Portable Agent Plugins v1 package. Its catalog-safe default is stateless evidence analysis; same-session browser actions still require an explicit stateful rea-captcha configuration.
TypeScript SDK
The controller borrows page; it does not create or close the browser. Human completion is a wake-up signal, not proof of success: the handoff identity is bound to the task, existing tab/session, and gate generation, and the controller still requires fresh evidence before consuming it once.
Browser providers
The recommended cross-agent provider is a browser already exposing CDP:
Generic Playwright Page, Playwright-over-CDP, browser-use, and optional Jet Browser managed/standalone adapters are implemented. Jet Browser must be selected explicitly and is neither installed nor started by the default path. Configuration examples and provider boundaries are documented in architecture and cases.
browser-use and local OCR
The Python adapter is not published on PyPI yet, so an unqualified pip install rea-captcha will not work. The pinned wheel is built from the v0.3.1 tag, smoke-tested in GitHub Actions, and attached to the corresponding release.
For agent-driven completion, point rea-captcha's Playwright/CDP session at the same existing browser used by browser-use. The MCP lifecycle detects the block, performs an authorized action, verifies the result, and returns control without replacing the browser or task context.
The Python plugin shown in Install remains a lightweight detection and manual-recovery fallback for browser-use integrations that do not expose a compatible CDP action surface.
Local ddddocr is an optional primitive only for simple image/text challenges on an exact authorized origin. It is disabled unless both allowLocalImageText and authorizedOrigins are configured. No model weights are redistributed, and an OCR prediction remains untrusted evidence.
What is implemented
- Evidence detection for reCAPTCHA, hCaptcha, Turnstile, GeeTest, DataDome, PerimeterX, AWS WAF, image/text inputs, and generic verification pages.
- Deterministic states with bounded timeout, cancellation, and fresh-evidence resume checks.
- Six stdio MCP tools, CLI/MCP parity, TypeScript SDK, browser-use hooks, and a Vercel-compatible Agent Skill.
- Borrowed Playwright/CDP sessions plus optional Jet Browser adapters.
- Local JSONL events with explicit ownership and no telemetry.
- npm Trusted Publishing/provenance workflow and GitHub OIDC publication to the official MCP Registry.
Documentation
- Architecture and trust boundaries
- Browser Use handoff guide
- Case matrix and fixture rationale
- MCP tool catalog
- Validation evidence
- Release and Trusted Publisher procedure
- Ecosystem and awesome-list intake
- Security policy
- Contributing
Community
Ask integration questions and share same-session agent examples in GitHub Discussions. For real-time chat, join the MASAKA Discord and use the dedicated #rea-captcha channel. Use GitHub Issues for reproducible bugs and follow the private security policy for vulnerabilities. Never post browser profiles, cookies, challenge tokens, API keys, or private page evidence.
Scope and disclaimer
rea-captcha is for owned or explicitly authorized workflows. Provider automation is accepted only when the adapter confirms the vendor's documented non-production test key. It does not bypass production interactive protection. Commercial solver APIs, credential transfer, stealth claims, and automatic completion of third-party production challenges are outside scope.
Inspired by morluto/rea.
License
Core code and integrations are MIT licensed. Optional dependencies and model artifacts keep their own terms; see Third-party notices and model licenses.
来源:README.md,提交 1df0d2c
工具
0版本历史
5- v0.3.1最新Oct 16, 2026
- v0.3.0Oct 16, 2026
- v0.2.4Oct 16, 2026
- v0.2.3Oct 15, 2026
- v0.2.1Oct 14, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分
其他 Captcha 集成

captcha.cc Human Verification
cc.captcha官方发布者
面向 captcha.cc 的远程 MCP 服务器,帮助助手生成 CAPTCHA 集成代码片段,并创建实时挑战用于测试。

CaptchaNo
由 GitHub 账号 DishantSinghDev2 发布
CaptchaNo MCP 服务器让 AI 助手通过付费打码服务解决 reCAPTCHA v2/v3/Enterprise、Turnstile、DataDome 和图片验证码。

Capmonster Mcp Patchright Captcha Solver
由 GitHub 账号 CapMonsterCloud 发布
隐身浏览器自动化 MCP 服务器,提供 66 个工具,用于页面导航、内容提取以及会话、Cookie 和配置文件管理。

Capmonster Mcp Captcha Solver
由 GitHub 账号 CapMonsterCloud 发布
让 AI 助手向 CapMonster Cloud 提交验证码求解任务并轮询结果,覆盖 reCAPTCHA、Turnstile 等反机器人挑战。

Captcha Mcp
由 GitHub 账号 zekebuilds-lab 发布
一个本地 MCP 服务器,发放工作量证明或闪电网络付费挑战,让助手从 PowForge 验证码后端获取短期访问令牌。