obscura-capsolver-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., "@obscura-capsolver-tool Solve the recaptcha_v2 checkpoint for browser session obscura-local-1 at https://example.test"
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 Tool Alongside Obscura MCP
English · 简体中文 · 日本語 · Español · Português · 한국어
Introduction
When an authorized AI-agent browser task reaches a CAPTCHA checkpoint, an operator needs a controlled decision instead of an open-ended retry loop. This repository shows how an MCP client can run Obscura for the stateful browser session and use CapSolver through a separate, bounded checkpoint tool.
Obscura exposes browser tools through MCP, but it does not advertise a third-party tool plugin interface. This example therefore runs as an independent companion MCP server configured alongside Obscura. It does not modify the browser engine or claim a native integration.
Related MCP server: praisonai-captcha-solver-mcp-tool
Features
accepts structured state from the current Obscura
browser_snapshotresult;requires explicit authorization and a matching snapshot origin;
supports one attempt with a configurable timeout capped at 120 seconds;
validates a ready solver result before returning a token;
returns a structured
manual_reviewstate for every unsafe or ambiguous branch;uses fixtures only in tests and makes no real browser or solver request.
How It Works
The agent uses Obscura MCP tools to navigate and inspect an authorized target.
A supported verification checkpoint is detected.
The agent passes the browser session ID, snapshot URL, origin, purpose authorization, and challenge type to this companion tool.
Policy checks run before any solver transport is allowed.
One bounded attempt may run; malformed, denied, exhausted, or timed-out work stops for a person.
Architecture
MCP-capable agent
├─ Obscura MCP → stateful browser_* tools
└─ this MCP server → authorization → bounded solver transport → validated statusThe two servers share only structured task context supplied by the agent. This repository does not read browser cookies, profiles, or saved credentials.
Quick Start
python -m venv .venv
source .venv/bin/activate
pip install -e .
python -m unittest discover -s tests -v
python scripts/smoke.pyAdd both servers to an MCP-capable client using examples/mcp-client-config.json. Start the companion directly with:
python -m obscura_capsolver_tool.mcp_serverUsage
Call browser_snapshot first, then send one authorized checkpoint:
{
"task_id": "authorized-qa-42",
"origin": "https://example.test",
"snapshot_url": "https://example.test",
"browser_session_id": "obscura-local-1",
"challenge_type": "recaptcha_v2",
"authorized": true,
"attempt": 0,
"timeout_seconds": 45
}The offline fixture returns either solved or manual_review. Production transport code should follow the official CapSolver API overview, task creation contract, and task result contract.
Example Output
{
"status": "solved",
"task_id": "authorized-qa-42",
"browser_session_id": "obscura-local-1",
"attempts_used": 1,
"token": "fixture-token"
}Project Structure
src/obscura_capsolver_tool/ policy, handler, and stdio MCP server
examples/ dual-server MCP client configuration
tests/ offline policy and protocol tests
scripts/ smoke test
docs/ five translated guidesTesting
The suite covers authorization denial, attempt exhaustion, invalid results, session/origin binding, MCP tool discovery, and the successful fixture path. It does not run Obscura or make a real CapSolver API request.
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 requirements, and retention policies. Do not use it for bulk account creation, access controls, private data, credential collection, or avoiding platform safeguards. Stop for human review whenever authorization, target ownership, challenge state, or result validity is unclear.
Security
Never commit API keys, session state, cookies, tokens, or captured private content. See SECURITY.md for reporting guidance.
Conclusion
This companion pattern keeps Obscura browser control separate from solver policy while preserving authorization, session binding, attempt budgets, validation, and human stopping. Replace the fixture transport only after reviewing the current official CapSolver integration guidance.
Maintainer Note
Developer sharing CapSolver integration examples.
License
MIT. See LICENSE.
Available Tools
1 toolsolve_verification_checkpointC
Handle one explicitly authorized CAPTCHA checkpoint for the current Obscura browser session.
Inputs: origin (required), task_id (required), authorized (required), snapshot_url (required), +4 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 1 tool
Only one tool exists, so there is no possibility of confusion between tools. The tool's purpose is clearly defined as solving a CAPTCHA checkpoint.
With a single tool, there is no naming convention to compare against. The name 'solve_verification_checkpoint' is descriptive and follows a clear verb_noun pattern.
A single tool for a CAPTCHA-solving server feels thin. Typical CAPTCHA services might include tools for checking status, listing pending checkpoints, or retrieving results, making this count inadequate for the apparent scope.
The tool surface only covers one action (solving a checkpoint) with no supporting operations like status checks or session management. This leaves notable gaps that could cause agent failures if the CAPTCHA flow requires more than a single solve action.
Maintenance
Related MCP Connectors
Solve reCAPTCHA v2/v3, hCaptcha, Cloudflare Turnstile and image captchas. Platform-hosted, no creden
Solve reCAPTCHA image grids, text captchas, GeeTest and FunCAPTCHA for AI agents. Free tier.
Cloudflare Solver: Scraping API designed to bypass Cloudflare protection.
Undetectable cloud browser sessions for AI agents and scrapers. Navigate, extract, click, captcha.
Related MCP Servers
- 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.-
- FlicenseNot gradedqualityCmaintenanceEnables Langroid agents to solve CAPTCHAs through CapSolver in authorized workflows, with structured validation, single-attempt limits, and human review for unsafe or incomplete requests.-
- FlicenseNot gradedqualityCmaintenanceEnables solving CAPTCHAs in MCP workflows with authorization, bounded attempts, and structured result validation.-