Skip to main content
Glama
NSLSolver MCP Server

NSLSolver MCP Server

Official
by NSLSolver

NSLSolver MCP Server

npm License: MIT

The official Model Context Protocol server for NSLSolver. It lets AI agents (Claude Code, Claude Desktop, Cursor, VS Code, Windsurf and any other MCP client) solve Cloudflare Turnstile, Cloudflare Challenge (cf_clearance), Kasada, Akamai Bot Manager and reCAPTCHA v3 / Enterprise while they browse, scrape or test.

Tool

Solves

Returns

Avg. time

Price / 1,000

solve_turnstile

Cloudflare Turnstile

token

~250 ms

$0.80

solve_cloudflare_challenge

Cloudflare managed challenge ("Just a moment...")

cookies.cf_clearance + user_agent

~2.5 s

$1.00

solve_recaptcha_v3

reCAPTCHA v3 and Enterprise

token

~4.5 s

$1.00

solve_kasada

Kasada (KPSDK)

headers (x-kpsdk-*)

~6 s

$1.50

solve_akamai

Akamai Bot Manager (beta)

cookies (_abck, bm_sz, …)

~9 s

$2.00

get_balance

–

balance, allowed types, CPM limits

–

free

Only successful solves are billed. Failed solves, validation errors and rate-limited calls cost nothing.

1. Get an API key

Create an account at nslsolver.com. Your key is active immediately, and verifying your email adds 100 free solves. Copy the key from the dashboard.

Related MCP server: real-browser-mcp-server

2. Add the server to your client

Requires Node.js 18 or newer. Replace YOUR_API_KEY with your key.

Claude Code

claude mcp add nslsolver -e NSLSOLVER_API_KEY=YOUR_API_KEY -- npx -y nslsolver-mcp

Claude Desktop

Edit claude_desktop_config.json (Settings → Developer → Edit Config):

{
  "mcpServers": {
    "nslsolver": {
      "command": "npx",
      "args": ["-y", "nslsolver-mcp"],
      "env": { "NSLSOLVER_API_KEY": "YOUR_API_KEY" }
    }
  }
}

Cursor

Add to ~/.cursor/mcp.json (global) or .cursor/mcp.json (project):

{
  "mcpServers": {
    "nslsolver": {
      "command": "npx",
      "args": ["-y", "nslsolver-mcp"],
      "env": { "NSLSOLVER_API_KEY": "YOUR_API_KEY" }
    }
  }
}

VS Code (GitHub Copilot agent mode)

Add to .vscode/mcp.json. VS Code prompts for the key once and stores it securely:

{
  "inputs": [
    { "type": "promptString", "id": "nslsolver-key", "description": "NSLSolver API key", "password": true }
  ],
  "servers": {
    "nslsolver": {
      "command": "npx",
      "args": ["-y", "nslsolver-mcp"],
      "env": { "NSLSOLVER_API_KEY": "${input:nslsolver-key}" }
    }
  }
}

Windsurf and other clients

Use the same command / args / env block as Claude Desktop in your client's MCP config (Windsurf: ~/.codeium/windsurf/mcp_config.json).

3. Ask your agent

Get a Turnstile token for https://example.com/login. The sitekey is 0x4AAAAAAA8vwvf7nF7pKCe8.

This page shows "Just a moment...". Get a cf_clearance cookie through my proxy http://user:pass@1.2.3.4:8080.

How much NSLSolver balance do I have left?

The agent picks the right tool, calls NSLSolver and uses the token, cookies or headers in its next request.

Tool reference

All tools take the page url. A proxy is protocol://[user:pass@]host:port with http, https, socks4 or socks5.

solve_turnstile – site_key (required, the data-sitekey starting 0x4AAAA…), action, cdata (only if the widget sets them; must match exactly), proxy, user_agent (optional). Submit the token as cf-turnstile-response. Tokens are single-use and expire after about 300 seconds.

solve_cloudflare_challenge – site_key (required: in the Network tab, open the challenges.cloudflare.com/…/new/normal request and copy the segment after /rch/xxxxx/), proxy (required), user_agent, accept_language (optional). Replay cf_clearance through the same proxy with the returned user_agent.

solve_recaptcha_v3 – site_key (required, usually 6L…), proxy (required), action (defaults to verify; match grecaptcha.execute), enterprise (true if the page loads enterprise.js), user_agent.

solve_kasada – p_js_path (path of the Kasada p.js script, e.g. /149e9513-…/2d206a39-…/p.js), fp_host, tl_host (required), cd_constant, user_agent, ua_version (Chrome major version), proxy (optional). Replay the returned x-kpsdk-* headers with the same User-Agent.

solve_akamai – user_agent and proxy (required). Replay the cookies with the same User-Agent and proxy.

get_balance – no arguments. Limited to 30 calls per minute per IP.

Rate-limited (429) and temporarily unavailable (503) responses are retried automatically, up to twice with backoff. Timeouts are not retried, so a solve is never sent twice.

Configuration

Variable

Required

Description

NSLSOLVER_API_KEY

yes

Your API key. NSL_API_KEY is also accepted.

NSLSOLVER_API_URL

no

API base URL. Defaults to https://api.nslsolver.com.

The server starts without a key, so clients can list its tools. Tool calls then return a clear error until a key is set.

Development

git clone https://github.com/NSLSolver/NSLSolver-MCP.git
cd NSLSolver-MCP
npm install
npm run build
npx @modelcontextprotocol/inspector -e NSLSOLVER_API_KEY=YOUR_API_KEY node dist/index.js

Use NSLSolver only on sites you are authorized to automate, and in line with their terms and applicable law. See the terms.

License

MIT

Available Tools

6 tools
get_balanceGet NSLSolver balanceA
Read-onlyIdempotent

Return the account balance in USD, the captcha types this API key may solve, and the captchas-per-minute limit (max_cpm, current_cpm, cpm_limit). Free; limited to 30 calls per minute per IP.

Inputs: no named parameters.

solve_akamaiSolve Akamai Bot Manager (beta)A

Solve Akamai Bot Manager and return validated cookies (_abck, bm_sz, ak_bmsc) (~9 s, $2.00 per 1,000, beta). url is the protected page that loads the Akamai sensor script. Replay the cookies with the same user_agent and through the same proxy.

Inputs: url (required), proxy (required), user_agent (required).

solve_cloudflare_challengeSolve Cloudflare Challenge (cf_clearance)A

Solve a Cloudflare managed challenge / "Just a moment..." interstitial and return the cf_clearance cookie plus the user_agent it is bound to (~2.5 s, $1.00 per 1,000). site_key is the challenge widget id (0x...): in the browser Network tab, find the request to challenges.cloudflare.com ending in /new/normal and copy the path segment after /rch/xxxxx/. A proxy is required; replay cf_clearance through the same proxy with the returned user_agent.

Inputs: url (required), proxy (required), site_key (required), user_agent, +1 more.

solve_kasadaSolve KasadaA

Solve Kasada (KPSDK) bot protection and return the x-kpsdk-ct / x-kpsdk-cd / x-kpsdk-v / x-kpsdk-h headers to replay on the protected API (~6 s, $1.50 per 1,000). p_js_path is the path of the Kasada p.js script loaded by the page (starts with /, looks like ///p.js); fp_host serves the fingerprint page; tl_host is the host receiving the /tl request.

Inputs: url (required), fp_host (required), tl_host (required), p_js_path (required), +4 more.

solve_recaptcha_v3Solve reCAPTCHA v3 / EnterpriseA

Solve Google reCAPTCHA v3 or reCAPTCHA Enterprise (score-based) and return a token (~4.5 s, $1.00 per 1,000). site_key is the render= / data-sitekey value (usually starts with 6L). Set enterprise=true when the page loads recaptcha/enterprise.js. action must match the action the site passes to grecaptcha.execute. Submit the token as g-recaptcha-response.

Inputs: url (required), proxy (required), site_key (required), action, +2 more.

solve_turnstileSolve Cloudflare TurnstileA

Solve a Cloudflare Turnstile widget and return a token (~250 ms, $0.80 per 1,000). site_key is the data-sitekey attribute (starts with 0x4AAAA...) of the .cf-turnstile element, or the sitekey passed to turnstile.render(). Submit the returned token as the cf-turnstile-response form field (or wherever the site sends it). Tokens are single-use and expire after ~300 s. No proxy needed.

Inputs: url (required), site_key (required), cdata, proxy, +2 more.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4.3/5.0

    Scored across 6 tools

    Disambiguation5/5

    Each solve_* tool targets a distinct bot-protection product (Turnstile, Cloudflare interstitial, Kasada, Akamai, reCAPTCHA v3), and the descriptions call out the specific identifying parameters (data-sitekey 0x4AAAA vs 0x challenge widget id, 6L sitekeys, p.js paths). get_balance is clearly a non-solving account tool, so there is no realistic misselection.

    Naming Consistency5/5

    All tools use a predictable snake_case verb_noun pattern (get_balance, solve_turnstile, solve_recaptcha_v3), with the provider as the noun for every solver. No camelCase or style mixing.

    Tool Count5/5

    Six tools is well-scoped: one account/credential-info tool plus one tool per supported captcha product, with no redundant or filler entries. Each tool maps to a genuinely different solving backend.

    Completeness3/5

    The surface covers account status and five major solvers with full parameter detail, but common captcha families (reCAPTCHA v2 checkbox, hCaptcha, FunCaptcha, image/text captcha) have no corresponding tool. There is also no usage/history or task-polling operation, so agents handling those cases hit a dead end.

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      D
      maintenance
      Enables AI agents to scrape websites protected by Cloudflare, DataDome, and Akamai, bypassing anti-bot measures to retrieve page content.
      2
      MIT
    • A
      license
      A
      quality
      C
      maintenance
      Enables AI agents to solve reCAPTCHA v2/v3/Enterprise, Cloudflare Turnstile, DataDome and image captchas during browser or HTTP automation, returning the token, cookie or text the page needs. Failed solves are never billed, and a configurable per-process spend cap limits autonomous spending.
      4
      161 npm
      MIT
    • A
      license
      B
      quality
      B
      maintenance
      It enables AI assistants and agents to open web pages, detect and solve captchas such as reCAPTCHA, hCaptcha, Turnstile, FunCaptcha, GeeTest, and SmartCaptcha, and continue tasks by interacting with browser elements. It also supports obtaining tokens without a browser for some captcha types and recognizing text captchas.
      17
      1
      MIT