Repository navigation
capsolver-mcp separates CAPTCHA tasks from browser operations. The core
server connects to the CapSolver API and provides 15 tools for discovery,
account checks, task submission, polling and recovery. Use it on its own
for workflows with known inputs, including image recognition.
For page workflows, add the independent Python browser service (13 tools)
or the Patchright companion (66 native tools, 79 with the CapSolver workflow).
Prepare the challenge in the browser, submit it through the core, apply the
solution in the original tab, and check the website's acceptance.
- The Agent prompt uses the User-Agent returned with a token and reports a
mismatch if the current session cannot use it. Use
get_actual_user_agent(task_id=...)to read the returned value. - Keep
CAPSOLVER_API_KEYin your MCP client environment when upgrading. - Start with
--offlinewhen you explicitly want to simulate the workflow. - Generate and save a unique
request_idbefore submitting and pass it to the
submission tool. If the response is lost, look up the saved ID with
get_request_status. - Follow the migration instructions
if you usesolve_captcha,detect_captchasorsolve_on_page.
The new standalone server does not depend oncapsolver-core.
Install the core on Python 3.10 or later:
python -m pip install --upgrade capsolver-mcpThe MCP Registry entry
lists the core PyPI package for local STDIO installation. The source ZIP and
the optional Patchright tarball are attached to this release.