langroid-captcha-solver-mcp-tool
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@langroid-captcha-solver-mcp-toolSolve the CAPTCHA on the current page to continue"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.

How to Add a CAPTCHA Solver MCP Tool to Langroid
Introduction
English · 简体中文 · 日本語 · Español · Português · 한국어
Langroid agents can call tools during an authorized workflow. When a Langroid agent reaches a CAPTCHA while running an authorized browser or data task, the workflow needs a clear checkpoint instead of an uncontrolled retry loop. This repository shows how to connect a bounded solver tool, validate its result, and stop for human review when the request is unsafe or incomplete. The example naturally connects CapSolver only after explicit authorization.
Related MCP server: goose-capsolver-mcp-extension
What this repository demonstrates
a verified
MCP ToolMessage adapterintegration boundary;typed challenge input and structured output;
one-attempt budget, 45-second default timeout, and result validation;
fixture-first tests with no real key, target, or solver request;
a manual-review result for denied, unsupported, exhausted, or malformed requests.
Quick start
python -m venv .venv
source .venv/bin/activate
pip install -e . pytest
pytest -q
python scripts/smoke.pyMinimal call
from captcha_solver_tool import solve_checkpoint
result = solve_checkpoint({
"task_id": "authorized-qa-42",
"origin": "https://example.test",
"challenge_type": "recaptcha_v2",
"authorized": True,
})
print(result["status"])See src/captcha_solver_tool/adapter.py for the Langroid boundary. Production code should implement a transport using the official CapSolver API overview, createTask, and getTaskResult contracts.
Control flow
Detect a supported verification checkpoint.
Confirm the target and purpose are authorized.
Spend at most one solving attempt.
Validate a ready result before continuing.
Stop for a person on any error, timeout, denial, or ambiguity.
Responsible use
Use this example only with public data, systems you own, or targets where you have explicit permission. Respect site terms, rate limits, privacy obligations, and data-retention rules. Do not use it for account creation at scale, access controls, private data, credential collection, or avoiding platform safeguards.
Project status
The adapter contract and offline behavior are tested. No live Langroid model session and no real CapSolver request are performed by the test suite. This is an independent educational example and does not imply an official partnership.
Conclusion
The example keeps authorization, attempt budgets, result validation, and human stopping explicit. Use the official CapSolver documentation when replacing the fixture transport.
Disclosure
Developer sharing CapSolver integration examples.
License
MIT. See LICENSE.
This server cannot be deployed
Maintenance
Related MCP Connectors
Human-in-the-loop API for AI agents. CAPTCHA, OTP, KYC, and approvals by real humans.
Solve reCAPTCHA v2/v3, hCaptcha, Cloudflare Turnstile and image captchas. Platform-hosted, no creden
Web search, browser automation, scraping, crawling and CAPTCHA solving for AI agents.
Zero-secret MCP gateway for AI agents: risk-scored, audited calls with human-in-the-loop approval.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceIntegrates with 2Captcha to solve various CAPTCHA types (image, reCAPTCHA, hCaptcha, etc.) for AI agents via MCP.121 npm-
- FlicenseNot gradedqualityCmaintenanceEnables authorized CAPTCHA recovery for goose agents via CapSolver with bounded polling, result validation, and human handoff for failure cases.-
- FlicenseNot gradedqualityCmaintenanceEnables PraisonAI agents to solve authorized CAPTCHA challenges with a bounded one-attempt budget, structured result validation, and a human-review stop for denied, unsupported, exhausted, or malformed requests.-
- FlicenseCqualityCmaintenanceEnables authorized, bounded CAPTCHA solving alongside Obscura browser sessions, with session binding, attempt limits, and human review fallback.1-