MCP Getting Started
Connect your MCP client to ByeCap, confirm live account connectivity without spending credits, and run your first image-recognition or token task. For the complete tool catalog and supported services, see Tools & Coverage.
1. Choose Hosted HTTP or Install Locally
You can connect directly to ByeCap's Hosted Streamable HTTP endpoint (https://mcp.byecap.org/mcp) with zero local installation, or install the standalone local STDIO package for Node.js or Python.
python -m pip install --upgrade byecap-mcp
python -m pip show byecap-mcp
python -m byecap_mcp --help
# Or launch directly without global install via uvx:
uvx --upgrade byecap-mcp --helpnpx -y @byecap/mcp --help
# Or install globally:
npm install -g @byecap/mcp
byecap-mcp --help2. Connect Your MCP Client
Replace YOUR_BYECAP_API_KEY with an API key from your ByeCap Dashboard. When using a local Python virtual environment on Windows, macOS, or Linux, run python -c "import sys; print(sys.executable)" to obtain the exact interpreter path.
claude mcp add --transport http byecap https://mcp.byecap.org/mcp \
--header "Authorization: Bearer YOUR_BYECAP_API_KEY"{
"mcpServers": {
"byecap": {
"url": "https://mcp.byecap.org/mcp",
"headers": {
"Authorization": "Bearer YOUR_BYECAP_API_KEY"
}
}
}
}{
"mcpServers": {
"byecap": {
"command": "/absolute/path/to/.venv/bin/python",
"args": ["-m", "byecap_mcp"],
"env": {
"BYECAP_API_KEY": "YOUR_BYECAP_API_KEY"
}
}
}
}[mcp_servers.byecap]
command = "/absolute/path/to/.venv/bin/python"
args = ["-m", "byecap_mcp"]
[mcp_servers.byecap.env]
BYECAP_API_KEY = "YOUR_BYECAP_API_KEY"BYECAP_API_KEY in your private user-level MCP config or restrict the key with per-key spend caps and IP allowlists in the dashboard.3. Confirm the Connection (Zero Cost)
Send this verification prompt first to verify tool discovery and live account authentication without creating a paid task:
List the task types supported by ByeCap, look up the inputs and result fields for ImageToTextTask, and check my account balance connection.| Prompt to Send | Expected Result |
|---|---|
| “Use the ByeCap balance tool and tell me whether the connection works.” | get_balance returns your live USD wallet balance (or remaining package quota for package keys). A $0.00 balance still confirms valid auth; top up before running paid tasks. |
| “What inputs does ImageToTextTask require, and which field returns the answer?” | The client invokes get_task_schema and returns the required body field and solution.text output without billing credits. |
| “Read the characters in this test captcha image.” | Submits a live recognition request via solve_captcha (single-RTT) or solve_task and returns solution.text. |
4. Run a Live Image-Recognition Task
Attach a sample captcha image or provide a local file path to your agent. Note that the body parameter expects raw Base64 image bytes (without a data:image/...;base64, prefix).
Use ByeCap's ImageToTextTask (solve_captcha) to read the attached captcha image. Pass the Base64-encoded image in body and return the task ID and solution.text.5. Pair with a Browser Automation Server (Optional)
ByeCap's MCP server handles challenge detection, schema lookup, task solving, and injection snippet generation. Pair it with a browser MCP (such as Playwright MCP or Chrome DevTools MCP) when your agent needs to open live web pages, inject tokens, and verify form submission:
Call detect_captcha on page HTML or URL.
Call solve_task or solve_captcha with extracted sitekey.
Fetch ready code from get_injection_snippet.
Submit form and confirm website acceptance.
6. Transport & Startup Modes
| Mode | Endpoint / Command |
|---|---|
| Hosted Streamable HTTP | https://mcp.byecap.org/mcp |
| Local Node.js STDIO | npx -y @byecap/mcp |
| Local Python STDIO | python -m byecap_mcp or uvx byecap-mcp |