bypassapi-mcp

v0.1.0
bypassapi-mcp Checked 2 days ago Published 4 months ago

MCP server for BypassAPI — web scraping + Cloudflare/CAPTCHA bypass for AI agents

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

scrape

Fetch a single web page and return clean, LLM-ready content. Handles JavaScript rendering, Cloudflare challenges, and bot protection. Args: url: The page URL to fetch. formats: Which outputs to return, subset of ["markdown", "text", "html"]. Defaults to ["markdown"] (best for LLM reading). wait_for_selector: Optional CSS selector to wait for before capturing. wait_ms: Extra wait after load, in milliseconds (default 2000). screenshot: If true, also capture a screenshot. solve_cf: Force Cloudflare-challenge solving (slower; us…

ParameterTypeDescription
url *string
formats
screenshotboolean
solve_cfboolean
use_proxyboolean
wait_for_selector
wait_msinteger

extract

Extract specific structured data from a web page using an LLM. Fetches the page (bypassing protection) then pulls out exactly what you ask for. Args: url: The page URL. prompt: What to extract, e.g. "the product name, price, and rating". schema: Optional JSON Schema to force the output shape. solve_cf: Force Cloudflare-challenge solving if the page is blocked. Returns: Dict with `extracted_data` (the structured result) plus page metadata.

ParameterTypeDescription
prompt *string
url *string
schema
solve_cfboolean

crawl

Crawl a website by following links from a starting URL. Args: url: The starting URL. max_pages: Max pages to fetch (default 10). max_depth: How many link-hops deep to go (default 2). same_domain: Stay on the starting domain (default true). extract_prompt: If set, run LLM extraction on every crawled page. Returns: Dict with `pages` (list of scraped pages) and how many credits were used.

ParameterTypeDescription
url *string
extract_prompt
max_depthinteger
max_pagesinteger
same_domainboolean

map_site

Discover and list the URLs of a website (sitemap-style), without scraping content. Args: url: The site URL to map. max_pages: Max URLs to return (default 200). Returns: Dict with the discovered list of URLs.

ParameterTypeDescription
url *string
max_pagesinteger

batch

Scrape many URLs in one call (up to 50). Args: urls: List of page URLs (max 50). formats: Output formats per page (default ["markdown"]). Returns: Dict with `results`, one entry per URL.

ParameterTypeDescription
urls *array
formats

account

Check the BypassAPI account: remaining credits and usage.