Skip to content

MCP Server — Get Started

Connect Claude, Cursor, VS Code, Codex and any MCP client to CaptchaSonic with one URL and your API key. Solve reCAPTCHA, Turnstile, hCaptcha-style, GeeTest and image CAPTCHAs from any AI agent.

The CaptchaSonic MCP server gives any AI agent tools to solve CAPTCHAs: reCAPTCHA v2/v3, Cloudflare Turnstile and challenge pages, hCaptcha-style PopularCaptcha, GeeTest, MTCaptcha, AWS WAF, TikTok, Binance, OCR and more. It speaks the Model Context Protocol, so it works in Claude Code, Cursor, VS Code, Windsurf, Codex, Gemini CLI and every other MCP client.

Hosted server (recommended)

Paste one URL and your API key. Nothing to install, always up to date.

Run locally

For clients that only support local servers. Runs with npx. See Run locally.

Server URL

https://mcp.captchasonic.com

Authenticate with your CaptchaSonic API key as a bearer token:

Authorization: Bearer sonic_xxx

NOTE

This is a server URL for your MCP client, not a page to open in a browser. Get your API key from the dashboard. Solves are billed to that key exactly like direct API calls, and failed solves are refunded.

Client setup

Replace sonic_xxx with your API key.

claude mcp add --transport http captchasonic https://mcp.captchasonic.com \
  --header "Authorization: Bearer sonic_xxx"

Any other client: use the URL above with Streamable HTTP transport and an Authorization: Bearer header. If the client only supports local (stdio) servers, see Run locally.

Check it works

Ask your agent:

Check my CaptchaSonic balance.

It calls get_balance and replies with your balance. If you see ERROR_KEY_DOES_NOT_EXIST, the key in your config is wrong or revoked.

What your agent can do

ToolUse it for
solve_token_captchareCAPTCHA v2/v3, Turnstile, Cloudflare challenge, PopularCaptcha, GeeTest, MTCaptcha. Returns a token to submit with the form.
solve_image_captchaImage grids, sliders, click challenges, OCR text and audio. Returns the answer immediately.
get_task_resultFetch a token that is still solving.
get_balanceWallet balance and plan limits.
list_captcha_typesEvery supported type with its required fields.

Full parameters and answer formats: Tools reference. Setting up an agent to do this on its own: For agents.