
Khadija Santos
AI Agent & MCP Engineer
Published Oct 13, 2026
Updated Nov 30, 2026 · min read

We tested CapSolver MCP 0.2.0 in Claude Code. Calling list_task_types returned 25 task types.
Start by listing supported CAPTCHA types; a successful tool connection does not prove that a paid solving request will succeed.
Use get_task_schema to confirm the fields for a known task type before making an account-backed request.
The page tools open their own browser session; they do not automatically continue an existing Claude browser tab.
A returned token or filled widget still needs the target application's final acceptance check.
Claude Code can help write or debug a browser task, but it needs an actual solving tool when a supported CAPTCHA interrupts the approved operation. Asking the model to “try harder” does not supply the site parameters, API connection, or result handling that the challenge requires.
CapSolver exposes those capabilities through its MCP service. This guide covers installing the package, connecting it to Claude Code, checking the available tools, and choosing a solving call. The examples concern your own pages or permitted automation tasks. They do not automate account creation, purchasing, or access to restricted data.
Claude Code can discover and call CapSolver's MCP tools after you configure and approve the server.
The CapSolver MCP 0.2.0 release documents a core server and an optional browser server. These are the tools used in this guide.
The tool names describe separate operations. A balance query does not recognize a page, and detecting a widget does not solve it. Start with the operation you actually need.
In our check of the published 0.2.0 package, the core server advertised 15 tools. Calling list_task_types returned 25 task types from the versioned local catalog. Each entry includes its verification status.
Choose a task type from the returned catalog, then call get_task_schema for its required and conditional inputs.
Install the MCP package in the Python environment Claude Code will launch. Include the browser extra for the page examples later in this guide.
Use Python 3.10 or later. From the activated virtual environment, run:
python -m pip install "capsolver-mcp[browser]==0.2.0"
python -m playwright install chromium
The installation follows CapSolver's official package instructions. The browser extra and Chromium are needed for the page tools. The Playwright browser installation guide explains that the browser binaries are a separate dependency from the Python package.
Use the Python executable from this environment in the next step. If you install into a virtual environment and configure a different Python, the client may report that it cannot import capsolver_mcp even though installation succeeded elsewhere.
You also need Claude Code and a CapSolver account key for real solving. Store that key as CAPSOLVER_API_KEY in the environment used to start Claude Code. Do not paste it into a chat prompt or commit it to a shared project file.
We verified the connection in Claude Code by calling list_task_types. CapSolver MCP 0.2.0 returned 25 task types from its local catalog.
Add a capsolver entry to the project's .mcp.json, pointing to the Python environment where you installed the packages.
Use the interpreter and browser executable from that environment. The second entry is optional for catalog and account calls. Supply the core process with a key through your local environment when making provider calls.
{
"mcpServers": {
"capsolver": {
"command": "/absolute/path/to/venv/bin/python",
"args": [
"-m",
"capsolver_mcp"
],
"env": {
"CAPSOLVER_API_KEY": "${CAPSOLVER_API_KEY}"
}
},
"capsolver-browser": {
"command": "/absolute/path/to/venv/bin/capsolver-browser-mcp"
}
}
}
If .mcp.json already contains other servers, merge these entries into its existing mcpServers object.
Claude Code's MCP configuration documentation covers project scope, environment expansion, and server approval. Start Claude Code from the intended project, review the project-server approval prompt, and approve this server only after confirming the command and package are the ones you installed.
Check the configuration from that project directory:
claude mcp list
Inside an interactive Claude Code session, use /mcp to inspect server status and available controls. A pending-approval status means the project server still needs your review. It is different from a missing executable or failed connection.
Ask Claude Code to list supported CAPTCHA types before asking it to spend account credits.
A suitable first request is:
Call
list_task_typeson the CapSolver core server. Report the catalog source and number of returned task types.
That confirms the client can reach a real tool and gives you the installed server's actual coverage. MCP's connection lifecycle separates initialization from later operations; establishing the connection is only the beginning of a usable integration. We tested this call in Claude Code CLI and received 25 task types.
For an account check, you can then ask for get_balance. Keep the response private if it contains account information. A failure here points to account access or service communication and should be resolved before attempting a paid solve.
Do not judge readiness from a model's statement that it “knows CapSolver.” Inspect the actual tool result. A discovered tool, a successful account query, and a completed CAPTCHA solve establish different facts.
Use bonus code CAP26 when topping up your CapSolver account to get an extra 5% bonus on every recharge — with no limits.
Redeem it now in your CapSolver Dashboard

When your own test supplies a known challenge type, inspect its schema before asking Claude to submit the task.
For a read-only check of the inputs, ask:
Call
get_task_schemafor the exact task type selected from the catalog. List its required fields and tell me which information is missing from my test fixture.
For an authorized provider run, generate and save a unique request_id, then pass it with the documented task object to create_task. Keep its task ID and use get_task_result or wait_for_result for that same request.
Your application then needs to consume the returned token through the target's intended flow. The MCP call itself does not submit every form or verify a business result. For page-specific reCAPTCHA inputs, consult the reCAPTCHA v2 task documentation.
If a parameter is unknown, inspect the current approved page with the appropriate browser tools. A sitekey remembered from another page is not evidence for the current widget. Keep the solve connected to the actual operation being debugged.
The optional browser service maintains a session across calls. Start with browser_open and keep the returned session_id and page_id. In a separate browser-server check, browser_open opened a blank page, browser_inspect and browser_detect_captchas ran against that page, and browser_close released the session.
For detection, a useful request is:
Open my local test page with the browser server. Inspect the page, then call
browser_detect_captchaswith the same session_id and page_id. Report the detection result.
Keep subsequent page checks in the same session. After verifying the application outcome, call browser_close with the session_id.
The official MCP implementation opens a managed browser by default. Attachment to an existing Chromium session requires an explicitly configured CDP endpoint. Check which page you own before continuing.
For an existing Chromium page that you control, use the optional browser service with its documented connection settings. Follow the current browser setup. The standalone MCP package does not require the retired CapSolver Core SDK or Agent Tools package.
The existing Claude Computer Use guide discusses an adjacent browser-agent surface. Claude Computer Use and this Claude Code MCP setup should not be treated as interchangeable configuration.
Most setup failures can be narrowed to the executable path, environment, browser installation, or task input.
If the configured command cannot start, verify its absolute path and confirm that the same Python environment contains capsolver-mcp 0.2.0.
If page detection reports a missing browser executable, run the Chromium installation command in the environment that launches the MCP server. Token mode does not require a browser just to call the solving service, so distinguish a browser startup failure from a solver API failure.
If the server connects but an API call fails, retain the returned error code and a redacted summary. Check the account key, supported type, required inputs, and current page state before another attempt.
If a solve returns a token but the original application is unchanged, inspect result consumption. Confirm that the result was used by the intended workflow and that you did not assume two separate browser sessions shared state.
Keep a small limit on repeated attempts. When the same error remains unresolved, return the evidence for review rather than instructing the agent to retry indefinitely.
Start with a real MCP connection, inspect the installed tool set, and request the operation that matches the challenge in your approved task.
CapSolver gives Claude Code a documented CAPTCHA-solving capability. Correct inputs and a clear browser boundary make that capability useful; the final application response tells you whether the intended task actually completed.
Q: Do I need browser dependencies for every MCP tool?
No. The page tools need the browser extra and Chromium. Token solving and account or coverage queries do not need to open a browser just to call their corresponding service or local capability.
Q: Can CapSolver MCP continue my existing browser tab?
A managed browser session persists until you close it. To use an existing Chromium session you control, supply its supported CDP connection explicitly.
Q: Does the MCP server support every CapSolver REST task?
Check list_task_types and the schema for your selected type. Read its documented coverage and verification status before using it in a workflow.
Q: Why does Claude Code show pending approval?
A project MCP server may require approval before use. Review it in Claude Code and confirm the configured command rather than treating approval status as an API-key error.
Q: Does a successful solve mean the agent finished its task?
No. Verify that the result was consumed by the intended application and that the requested page operation completed. A token or filled widget is an intermediate result.

Khadija Santos
AI Agent & MCP Engineer
Develops and maintains CapSolver’s MCP tooling, from implementation and package releases to AI agent integrations.
ABOUT THE AUTHOR
Connect Gemini CLI to a CAPTCHA solver over MCP, verify the local connection, choose the right tools, and keep browser completion separate from tool discovery.

Test CAPTCHA-protected report downloads with repeatable fixtures, failure cases, export checks, and file assertions that confirm the correct report arrives.
