capsolver-mcp
v0.2.0CapSolver 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.
| Parameter | Type | Description |
|---|---|---|
cdp_endpoint | ||
cdp_target_id | ||
headless | boolean | |
record_video | boolean | |
response_capture | ||
url | string | |
user_agent |
browser_inspect
Inspect current pages and form fields. Password and hidden values are redacted.
| Parameter | Type | Description |
|---|---|---|
page_id * | string | |
session_id * | string |
browser_action
Navigate, fill, click, press, select, wait, scroll or save a local screenshot on a persistent page.
| Parameter | Type | Description |
|---|---|---|
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.
| Parameter | Type | Description |
|---|---|---|
page_id * | string | |
session_id * | string |
browser_close
Close a managed session or disconnect from an attached browser.
| Parameter | Type | Description |
|---|---|---|
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.
| Parameter | Type | Description |
|---|---|---|
page_id * | string | |
session_id * | string | |
captcha_id | ||
recipe | ||
save_task_file | boolean | |
submit | boolean | |
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.
| Parameter | Type | Description |
|---|---|---|
captcha_id * | string | |
page_id * | string | |
session_id * | string | |
solution * | object | |
submit | boolean |
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.
| Parameter | Type | Description |
|---|---|---|
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.
| Parameter | Type | Description |
|---|---|---|
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.
| Parameter | Type | Description |
|---|---|---|
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.
| Parameter | Type | Description |
|---|---|---|
page_id * | string | |
session_id * | string | |
enabled | boolean | |
max_body_bytes | integer | |
max_responses | integer | |
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.
| Parameter | Type | Description |
|---|---|---|
page_id * | string | |
response_id * | string | |
session_id * | string | |
encoding | string | |
include_body | boolean | |
limit | integer | |
offset | integer |
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…
| Parameter | Type | Description |
|---|---|---|
page_id * | string | |
session_id * | string | |
url * | string | |
allow_direct | boolean | |
data | ||
follow_redirects | boolean | |
headers | ||
include_body | boolean | |
max_body_bytes | integer | |
method | string | |
timeout_ms | integer |