DocumentationAPI v1
Model Context Protocol • Spec 2025-03-26

ByeCap MCP Server for AI Agents

Connect Claude Code, Claude Desktop, Cursor, Windsurf, Cline, and OpenAI Agents to ByeCap with 16 native MCP tools, 3 built-in documentation resources, and 3 workflow prompts.

1. Hosted Streamable HTTP

Zero local install. Point any Streamable HTTP MCP client straight to https://mcp.byecap.org/mcp.

2. Node.js STDIO (npm)

Run locally in 1 line via npx -y @byecap/mcp with zero external dependencies.

3. Python STDIO (PyPI)

Install via pip install byecap-mcp or launch directly with uvx byecap-mcp.

Option 1: Hosted Streamable HTTP (Recommended — Zero Install)

Ideal for Claude Code, Cursor, Windsurf, and remote cloud agents. Authenticates via Authorization: Bearer <API_KEY> or X-API-Key and enforces your key's IP allowlist and spend caps automatically.

Claude Code CLI
claude mcp add --transport http byecap https://mcp.byecap.org/mcp \
  --header "Authorization: Bearer YOUR_BYECAP_API_KEY"
Cursor / Windsurf (mcp.json)
{
  "mcpServers": {
    "byecap": {
      "url": "https://mcp.byecap.org/mcp",
      "headers": {
        "Authorization": "Bearer YOUR_BYECAP_API_KEY"
      }
    }
  }
}

Option 2: Local STDIO Packages (npm & PyPI)

Node.js (npx -y @byecap/mcp)
{
  "mcpServers": {
    "byecap": {
      "command": "npx",
      "args": ["-y", "@byecap/mcp"],
      "env": {
        "BYECAP_API_KEY": "YOUR_BYECAP_API_KEY"
      }
    }
  }
}
Python (pip install byecap-mcp / uvx)
{
  "mcpServers": {
    "byecap": {
      "command": "uvx",
      "args": ["byecap-mcp"],
      "env": {
        "BYECAP_API_KEY": "YOUR_BYECAP_API_KEY"
      }
    }
  }
}

Available MCP Tools (16 Tools)

Discovery • Execution • Batch • Account
Tool NameCategoryDescription
list_task_typesDiscoveryLists all 21 official ByeCap Token (12) and Recognition (9) task types with required fields, proxy mode, and pricing.
get_task_schemaDiscoveryReturns exact input schema, conditional parameters, output fields, and example JSON payload for any task type.
detect_captchaDiscoveryInspects raw HTML or challenge URLs to identify Turnstile, reCAPTCHA, hCaptcha, FunCaptcha, GeeTest, AWS WAF, DataDome, or SVG and extract sitekeys.
get_injection_snippetDiscoveryReturns ready-to-run Playwright, Puppeteer, Selenium, or vanilla JS code to inject a solved token or clearance cookie into the target page.
get_docsDiscoveryRetrieves concise Markdown reference guides (overview, quickstart, token, recognition, error-codes, billing) directly into agent context.
solve_captchaExecutionSingle-RTT synchronous solve (POST /tasks:solve) for fast Image & SVG to Text, Grids, Slider, Rotate, and Audio tasks.
solve_taskExecutionAll-in-one async solver: calls /createTask and automatically polls /getTaskResult until a verified token/cookie is ready.
solve_batchExecutionSolves up to 10 CAPTCHA tasks concurrently in parallel (supports both sync and async modes) and returns ordered results.
create_taskExecutionLow-level asynchronous task creation (POST /createTask) returning a taskId immediately.
get_task_resultExecutionChecks status and solution of an existing taskId once (POST /getTaskResult).
wait_for_task_resultExecutionPolls an existing taskId with configurable timeout and interval until completion or failure.
get_balanceAccountReturns authenticated USD wallet balance (wallet keys) or remaining solve quota (package keys) with strict key-type isolation.
get_pricingAccountQueries live enabled captcha modules and current micro-USD unit prices from the platform catalog.
get_uptimeAccountReturns 24-hour uptime percentage and p95 response time metrics for the ByeCap API.
report_incorrectAccountFlags a rejected solution by task_id within 5 minutes for automated quality audit and refund evaluation.
get_soft_idAccountReturns your 6-digit Developer SoftID, revenue share rate, and accumulated developer earnings.

MCP Resources & Agent Skill Files

byecap://docs/overview
text/markdown

Platform architecture, endpoints, and quickstart instructions for autonomous agents.

byecap://docs/task-catalog
application/json

Complete machine-readable JSON catalog of all 21 Token & Recognition solver schemas.

byecap://docs/error-codes
text/markdown

Canonical error codes, HTTP status codes, retry policies, and auto-refund guarantees.

Fetch Agent Skill Prompt (skill.md)
curl -s https://docs.byecap.org/skill.md
Fetch LLM Documentation Index (llms.txt)
curl -s https://docs.byecap.org/llms.txt
Scoped Sub-Keys for Autonomous Agents: We recommend minting a dedicated sub-key in Dashboard → API Keys with a daily USD spend cap and module allowlist before attaching it to an autonomous AI agent. Package-scoped keys are strictly isolated and cannot read your main wallet balance.