🎉NEWCapSolver for AI agents
Selenium CAPTCHA solver landing page hero section with code snippet and CTA buttons
Selenium CAPTCHA solver landing page hero section with code snippet and CTA buttons

Agent Automation · MCP Server

Add CAPTCHA Solving to AI Agents with CapSolver MCP Server

Connect CapSolver to Claude Desktop, Claude Code, Cursor, Cline, or another MCP-compatible client. The server exposes CAPTCHA solving as MCP tools, so agents can call CapSolver without a separate integration for every client.

MCP Client · CapSolver

Connected
CapSolver MCP server connected5 tools discovered
User Solve the CAPTCHA on this page.
tool_call: solve_captcha(...)Challenge details sent to CapSolver
CapSolver ✓ CAPTCHA result returned
Agent Result received. Continuing the task.
CapSolver MCP Server

Ready

MCP clients

Connect CapSolver to your MCP client

Use the same CapSolver MCP server across popular MCP-compatible clients.

  • Claude Desktop

    Desktop client
  • Claude Code

    Coding agent
  • Cursor

    AI code editor
  • Cline

    Coding agent
  • Other MCP clients

    MCP compatible

Configure the CapSolver MCP server in your client to access the same set of CAPTCHA solving tools.

How it works

How CapSolver MCP works

  1. 01

    Connect

    Connect your MCP client to the CapSolver MCP server.

  2. 02

    Discover

    The client discovers the available CapSolver tools.

  3. 03

    Call

    The agent calls the right tool when CAPTCHA solving is needed.

  4. 04

    Return

    CapSolver returns the result so the client can continue the workflow.

Why MCP

Make CapSolver available to agents through a standard tool protocol

  • Built for cross-agent access

    A CapSolver MCP server lets MCP-compatible agents call CAPTCHA recovery without a custom integration for every framework.

  • Tool-native by design

    MCP servers expose tools with clear names, descriptions, and input schemas, making CapSolver a natural fit for agent tool use.

  • One integration across frameworks

    Expose CapSolver tools once and let MCP clients discover and call them through a consistent interface.

  • Complements browser automation

    MCP does not replace Browser Use, Playwright, Puppeteer, Browserbase, or Steel. It gives agents a standard way to call CapSolver when needed.

With and without MCP

What changes with CapSolver MCP

CapSolver MCP does not change how CAPTCHA solving works. It changes how compatible AI agents connect to and call CapSolver tools.

Area
Without CapSolver MCPSeparate setup for each integration
With CapSolver MCPOne consistent tool interface
Integration setupConnect CapSolver separately in each agent framework or application.Connect the MCP server once and make its tools available to compatible clients.
Tool discoveryDefine and document the available CapSolver functions for each integration.MCP clients discover the available tools, descriptions, and input fields.
Tool callsEach integration may use a different function format and response flow.Agents call the same tool interface and receive structured results.
API key setupConfigure the API key across multiple scripts or applications.Keep the API key in the CapSolver MCP server environment.

MCP tools

Five tools available through CapSolver MCP

CapSolver MCP provides tools for CAPTCHA solving, browser workflows, account checks, and supported-type discovery. Browser tools require Playwright; the other tools can run without a browser.

ToolWhat it doesBrowser required
solve_captchaSolves a CAPTCHA using the challenge type and required page parameters.
No
detect_captchasDetects CAPTCHA challenges on the current browser page.
Yes
solve_on_pageDetects and solves a CAPTCHA within the current browser workflow.
Yes
get_balanceReturns the available CapSolver account balance.
No
get_supported_captchasReturns the CAPTCHA types available through the MCP server.
No
{
  "name": "solve_captcha",
  "title": "Solve CAPTCHA with CapSolver",
  "description": "Solve a captcha by type and site params (token mode).",
  "inputSchema": {
    "type": "object",
    "properties": {
      "captcha_type": {
        "type": "string",
        "enum": [
          "reCaptchaV2",
          "reCaptchaV3",
          "cloudflare"
        ],
        "description": "The captcha family to solve."
      },
      "website_url": {
        "type": "string",
        "description": "Full URL of the page where the captcha appears."
      },
      "website_key": {
        "type": "string",
        "description": "Public site key extracted from the captcha widget."
      }
    },
    "required": [
      "captcha_type",
      "website_url",
      "website_key"
    ]
  }
}

Quick Start

Connect CapSolver to your MCP client

Install the CapSolver MCP server, add it to your client configuration, and reload the client to access the available tools.

Step01

Install

# Install the core packagepip install capsolver-core # Install the MCP serverpip install capsolver-mcp

Need browser tools? Install the browser extra and Chromium.

View Browser Setup
Step02

Configure client

{  "mcpServers": {    "capsolver": {      "command": "capsolver-mcp",      "env": {        "CAPSOLVER_API_KEY": "YOUR_API_KEY"      }    }  }}

Add this configuration to your MCP client and provide your CapSolver API key through the environment settings.

Step03

Connect and verify

Connection verification checklist

  1. Reload your MCP client
  2. Confirm that the CapSolver server is connected
  3. Check that five CapSolver tools appear in the tool list

CapSolver MCP is connected, Ready for tool calls.

View Available Tools

Example Tool Call

See how an agent calls CapSolver through MCP

The agent calls solve_captcha with the challenge type and required page details, then receives a structured result.

{
  "jsonrpc": "2.0",
  "id": 2,
  "method": "tools/call",
  "params": {
    "name": "solve_captcha",
    "arguments": {
      "captcha_type": "cloudflare",
      "website_url": "https://example.com/signup",
      "website_key": "0x4XXXXXXXXXXXXXXXX"
    }
  }
}

Responsible Use

Use CapSolver for lawful and responsible automation

Use CapSolver for approved QA testing, internal RPA, public-data workflows, and user-approved agent tasks. Review site terms, privacy requirements, and rate limits before running automated workflows.

Limit MCP tool access to trusted clients and add confirmation or human review for sensitive operations. CapSolver does not support unauthorized access, credential abuse, spam, or unlawful activity.

FAQ

Related Integrations

Choose another integration to add CAPTCHA solving to your agent or browser workflow.

Add CapSolver tools to your MCP client

Connect the CapSolver MCP server and make CAPTCHA solving tools available to your AI agents through a standard interface.