captcha-solver-tool
Click on "Install 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., "@captcha-solver-toolAuthorized: solve the reCAPTCHA v2 at https://example.test/login for task authorized-qa-42"
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 Build a CAPTCHA Solver Tool with FastMCP
Introduction
When an authorized AI-agent workflow reaches a CAPTCHA checkpoint, developers need a bounded tool contract instead of open-ended retries. FastMCP provides native FastMCP server and @mcp.tool decorator. This repository shows that verified boundary and naturally connects CapSolver only after explicit authorization.
Related MCP server: goose-capsolver-mcp-extension
What this repository demonstrates
a verified native
FastMCPserver and@mcp.tooldecorator 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 FastMCP 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 FastMCP 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.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.
No tool schema history has been recorded yet.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
Browser MCP for logged-in tasks. Uses your Chrome — credentials stay local. Zero-token replay.
Authenticated LLM MCP Agent
Remote MCP for A2A failure replay MCP, structured receipts, audit logs, and reviewer-ready evidence.
Validate whether an IP address belongs to Bingbot. Remote MCP server exposing a validate_ip tool.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceIntegrates with 2Captcha to solve various CAPTCHA types (image, reCAPTCHA, hCaptcha, etc.) for AI agents via MCP.22-
- 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 authorized, bounded CAPTCHA solving alongside Obscura browser sessions, with session binding, attempt limits, and human review fallback.1-
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/normal-sugar/fastmcp-captcha-solver-tool'
If you have feedback or need assistance with the MCP directory API, please join our Discord server