capsolver-mcp

v0.2.0
io.github.capsolver-ai/capsolver-mcp Checked 3 days ago Published 16 days ago

CapSolver task discovery, CAPTCHA solving, recognition, and task recovery over MCP.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

browser_open

Open a managed session or attach to an explicit Chromium CDP endpoint; return stable page IDs.

ParameterTypeDescription
cdp_endpoint
cdp_target_id
headlessboolean
record_videoboolean
response_capture
urlstring
user_agent

browser_inspect

Inspect current pages and form fields. Password and hidden values are redacted.

ParameterTypeDescription
page_id *string
session_id *string

browser_action

Navigate, fill, click, press, select, wait, scroll or save a local screenshot on a persistent page.

ParameterTypeDescription
action *string
page_id *string
session_id *string
options

browser_detect_captchas

Detect known widgets and captured dynamic parameters in page frames. Custom pages may need recipes.

ParameterTypeDescription
page_id *string
session_id *string

browser_close

Close a managed session or disconnect from an attached browser.

ParameterTypeDescription
session_id *string

browser_prepare_captcha

Extract fresh parameters for core create_task. No paid call. Supply any required proxy fields separately in the core task payload. save_task_file stores large inputs locally (0600). The core must share this filesystem. Delete the file after use; it may contain page data. Retain captcha_id for browser_apply_solution. Recipe validation occurs before spending credit. Read the official task documentation first.

ParameterTypeDescription
page_id *string
session_id *string
captcha_id
recipe
save_task_fileboolean
submitboolean
task_overrides

browser_apply_solution

Apply the full core-MCP solution to a prepared challenge; optionally submit and verify. Does not solve, query or charge. Rejects stale or already-used prepared challenges. verified=true requires a configured business/page condition.

ParameterTypeDescription
captcha_id *string
page_id *string
session_id *string
solution *object
submitboolean

browser_evaluate

Execute JavaScript in the selected page/frame for custom integrations. Code can read or change the page. No Node.js or host filesystem access is supplied. Return only necessary data; do not return passwords or tokens to logs. This is a privileged browser operation, not a read-only tool.

ParameterTypeDescription
expression *string
page_id *string
session_id *string
frame_selector

browser_network_requests

Read the last 100 page-response summaries, with response IDs and capture states. Query values, bodies and raw headers are omitted. Enable capture before navigation, then use browser_get_response to read private local evidence. Explicit browser_api_request responses are returned by that tool instead.

ParameterTypeDescription
page_id *string
session_id *string

browser_add_init_script

Install JS statements before future page/frame scripts. No reload or immediate execution. Pass an invoked expression or statements, not an uninvoked arrow function. Register before navigation; use an idempotent wrapper. Order relative to other init scripts is unspecified. Code has page privileges, not host IO.

ParameterTypeDescription
page_id *string
script *string
session_id *string

browser_capture_responses

Capture future original response bodies to private local files, without refetching. URL filters are case-sensitive globs; empty means all HTTP(S) responses. Prefer narrow filters. For the very first navigation set response_capture in browser_open. Disable stops future capture and retains existing files. Bodies are Playwright-decoded bytes, not raw compressed wire traffic.

ParameterTypeDescription
page_id *string
session_id *string
enabledboolean
max_body_bytesinteger
max_responsesinteger
url_patterns

browser_get_response

Read retained response evidence. No network request is made. Default returns safe metadata and private file paths. include_body exposes selected bytes to the caller; use only needed fields, or read files locally. Source distinguishes original_response from session_request. Pending, truncated, skipped and evicted records are not complete response bodies.

ParameterTypeDescription
page_id *string
response_id *string
session_id *string
encodingstring
include_bodyboolean
limitinteger
offsetinteger

browser_api_request

Make a NEW request with context cookies and UA; save local evidence. This is not original page traffic, a browser navigation or JS execution. The page state and TLS/client-hint fingerprint may differ. No retry is performed; POST/other state changes need existing user authorization. Redirects are opt-in and checked individually. HTTP errors are recorded as http_ok=false; request delivery is distinct from business acceptance. The CapSolver API host is blocked; paid tasks must use the core ledger. For CDP attachments, allow_direct=true expl…

ParameterTypeDescription
page_id *string
session_id *string
url *string
allow_directboolean
data
follow_redirectsboolean
headers
include_bodyboolean
max_body_bytesinteger
methodstring
timeout_msinteger