About io.scrapfly.mcp/mcp
io.scrapfly.mcp/mcp is an MCP server published by scrapfly in the Scraping category: scrape any website, extract structured data, and collect web content at scale with AI agents. Conduid read 50 tools from its source: browser_unblock, call_webmcp_tool, check_if_blocked, click, cloud_browser_close, cloud_browser_downloads and 44 more. It is published to npm as scrapfly-mcp, a package with no command-line entry point.
The repository has 16 stars and 3 forks, and its last commit was on 1 Dec 2026. Conduid has no tagged release on record for it. It passes all 1 static checks Conduid ran on the repository. Its topics include scraping.
Install
npm install scrapfly-mcpgit clone https://github.com/scrapfly/scrapfly-mcpTools (50)
browser_unblockSame, through the anti-bot bypass firstcall_webmcp_toolInvoke a WebMCP tool that the current page registered with `navigator.modelContext.registerTool()`. Preferred over clicking/scraping when the page exposes a matching tool — it's the author's declared API for that action and avoids DOM fragility. Input must satisfy the schema returned by `list_webmcp_tools` (also on the open/navigate response). Tool runs in the page's main world.check_if_blockedDecide whether a scrape result is a block pageclickClick an element in the active cloud browser session. Requires a `uid` obtained from `take_snapshot` output — uids are stable for that snapshot only. Typical flow: take_snapshot → locate element by label/text → click(uid). After the click, the page may navigate or reveal new elements; take another snapshot before your next action if the DOM likely changed.cloud_browser_closeClose the sessioncloud_browser_downloadsFiles downloaded during the sessioncloud_browser_evalRun JavaScript and return its valuecloud_browser_navigateLoad a new URL in the open sessioncloud_browser_openStart a session at a URLcloud_browser_performancePageSpeed-style lab run with mobile throttlingcloud_browser_screenshotPNG of the session, optionally of a CSS selectorcloud_browser_sessionsList active sessionscloud_browser_vault_createCreate an empty credential vault. The response carries the vault key once. Scrapfly stores no copy, so it cannot be retrieved again and losing it makes every item in the vault unreadable: show it to the user and have them save it before adding items. Two-step confirmation.cloud_browser_vault_deleteDelete a vault and every item it holds. This cannot be undone, and any Cloud Browser session that names the vault stops resolving credentials. Prefer cloud_browser_vault_item_delete when only one credential is unwanted. Two-step confirmation.cloud_browser_vault_getFetch one vault: name, description, item count and, for a linked vault, the 1Password selection rules plus last sync time, sync status, sync error and counts. No secret material is returned. Use cloud_browser_vault_list when the id is unknown, cloud_browser_vault_item_list for the items themselves.cloud_browser_vault_item_createAdd one credential to a vault. The vault key is required because the secret is sealed under it, and the server verifies the key before writing, so a wrong key fails here instead of leaving a row nothing can open. type is password, passkey, cookie, totp or blob, and secret must carry that type's fields. Two-step confirmation.cloud_browser_vault_item_deleteDelete one item from a vault. This cannot be undone and the credential is gone from every later Cloud Browser session. Items owned by a linked service are refused with a conflict; unlink the service first or drop the item upstream. Two-step confirmation.cloud_browser_vault_item_listList a vault's items: id, type, label, origin, username, provenance and timestamps. Secrets stay encrypted under the customer-held key, which Scrapfly does not have, and the ciphertext is dropped from this result, so no plaintext is ever returned. Rows whose source is not manual belong to the linked service and refuse edits.cloud_browser_vault_item_updatePatch one vault item. Fields you send overwrite the row. Sending secret replaces the stored secret with no way back and requires the vault key; a label, origin, username or metadata patch does not. Items owned by a linked service are refused with a conflict. Two-step confirmation.cloud_browser_vault_listList the Cloud Browser credential vaults this API key can see in its project and environment, with item counts, vault_type, link state and last sync status. No secret material is returned. Start here to resolve a vault id for every other vault tool.cloud_browser_vault_rotateRotate the vault key: send the current key, get a fresh one back once. The previous key is invalidated immediately, so every stored config and script still holding it stops opening the vault. Scrapfly keeps no copy of either key. Two-step confirmation.cloud_browser_vault_service_linkLink a vault to 1Password so its items mirror an upstream vault. The vault key is required and verified first: the service-account token is sealed under it, and a well-formed wrong key would link the vault and leave a token every later sync fails to open. Run cloud_browser_vault_service_test first to pick the upstream vault. Two-step confirmation.cloud_browser_vault_service_syncSync a linked vault from 1Password now, bypassing the freshness window and the one hour back-off a failed run leaves behind. Needs the vault key to open the sealed token. Returns imported, updated, deleted, skipped, unmirrored, status and warnings. The server budget is 25 seconds.cloud_browser_vault_service_testProbe a 1Password service-account token and list the upstream vaults it can reach, changing nothing. The vault key is required. Pass token to check one that is not stored yet, or omit it to probe the token already sealed in the vault. Every call spends the provider's rate-limit budget. The server budget is 10 seconds.cloud_browser_vault_service_unlinkUnlink a vault from 1Password. keep_items defaults to true and leaves the mirrored rows behind as manual items; keep_items=false deletes every mirrored row and that cannot be undone. The sealed service-account token is deleted either way. Two-step confirmation.cloud_browser_vault_service_updateChange a linked vault's 1Password selection rules, rotate its service-account token, or both. linked_service_data replaces the stored document wholesale, so send every field you want kept. The vault key is required only when a token is sent, and token_item_id in the body is ignored. Two-step confirmation.cloud_browser_vault_updateRename a vault or change its description. Items, the vault key and any linked service stay as they are. A rename breaks session configs that select the vault by its old name. Use cloud_browser_vault_service_update for 1Password selection rules. Two-step confirmation.dragDrag one element onto another (both by `uid`). Use for HTML5 drag-and-drop interfaces — reordering lists, uploading via drop zones, Trello-style boards. Rare outside those cases.dropdown_optionsReturn all <option> entries (value, label, selected) of a native HTML <select> element by uid. Use before select_option to discover available choices when the snapshot's `options="a|b|c"` enrichment is truncated or missing.evaluate_scriptEvaluate a JS expression in the page and return its value. Use for *reading*: extract a computed value, read localStorage, inspect window state, pull structured data the snapshot doesn't expose. Do NOT use for interaction — `click`/`fill`/`type_text` are the supported paths and survive anti-bot checks. Script runs as `(() => <your expr>)()` in the main world.fillSet the value of an input/textarea in one shot (faster than `type_text`). Prefer this for forms, search boxes, addresses. Requires `uid` from a recent `take_snapshot`. Use `type_text` instead only when the page has a live autocomplete that needs per-keystroke events.find_elementsReturn up to 20 elements matching a CSS selector with their tag, text excerpt (80 chars), and key attributes. Use when take_snapshot doesn't expose what you need — typically for non-interactive content selection (`<article>`, `.product-card`, `[data-id]`). Returns an empty list rather than an error when nothing matches.get_page_urlReturn the browser's current URL and page title. Cheap; use it to confirm a navigation landed where you expected, or to capture the final URL after redirects before reporting back to the user.go_backNavigate one step back in the browser's history (equivalent to clicking the browser's back arrow). Returns an error if there's nothing to go back to. After this call, take_snapshot to see the previous page's elements — DOM uids from prior snapshots are stale.hoverMove the mouse over an element (by `uid` from `take_snapshot`). Use when a page reveals menus, tooltips, or controls only on hover — otherwise `click` is what you want.info_accountSubscription plan, API credit usage, concurrencyinfo_api_keyThe API key this server is authenticated withlist_webmcp_toolsList the WebMCP tools the current page has registered via `navigator.modelContext.registerTool()`. Returns name, description, and input schema for each. When a page exposes these, they are an author-provided programmatic API — prefer calling one via `call_webmcp_tool` over DOM scraping or UI clicks. The `cloud_browser_open` and `cloud_browser_navigate` responses already surface this list, so you rarely need to call this directly.press_keySend a single key to the focused element. Accepts names like Enter, Tab, Escape, ArrowDown, Backspace. Typical use: submit a form (Enter), navigate a listbox (ArrowDown), close a modal (Escape).scraping_instruction_enhancedCheat-sheet of the scraping optionsscreenshotOne-shot PNG of a URLscrollScroll either (a) a specific element into view by `uid`, or (b) the page by a pixel delta, or (c) to bottom via selector type "bottom". Use (a) before clicking an off-screen element; use (c) to trigger infinite-scroll pagination; retake a snapshot afterwards since new content typically appears.scroll_to_textScroll the active page until the first element whose textContent contains the given substring is in the viewport. Case-insensitive substring match. No-op if the text is already visible. Cheap to call before any click on content that may be below the fold (long articles, lazy-loaded lists, paginated tables). Returns the matched element's tag and a 80-char text excerpt, or an error if not found.select_optionPick an option from a native HTML `<select>` by the dropdown's `uid` and the option's `value` attribute (not its visible label). For custom dropdowns built out of divs, use `click` instead.take_screenshotCapture a PNG of the current cloud-browser page. Use when the user asks for a visual, or when the page's information (charts, diagrams, styled layout) isn't well-represented by the accessibility tree. For structural/text understanding, `take_snapshot` is cheaper and more actionable.take_snapshotReturn the current page's accessibility tree as structured text with element uids. This is your primary way to see and act on the page — read it to find links, buttons, inputs, headings, then use their uids with `click`, `fill`, `hover`, etc. Cheap — call it freely whenever you're unsure what's on the page or after an action that likely changed the DOM. Do NOT guess uids.type_textType text character-by-character into the currently focused input (use after clicking/focusing). Slower than `fill` but fires per-keystroke events — needed for live autocompletes, search-as-you-type, or inputs that reject setValue-style writes.waitSleep for N seconds before the next action. Use sparingly — most pages can be interacted with as soon as the snapshot returns. Useful for waiting on animations to settle, on lazy-loaded carousels, or on deliberate rate-limiting between repeated form submissions. Capped at 10s server-side; longer sleeps will be clamped.web_get_pageQuick page fetch with smart defaultsweb_scrapeFull control: headers, JS rendering, country, proxy pool, extractionSecurity checks
- ✓README presentThe repository's README runs to about 1.3K words.
5 checks have not been run yet.
README
The repository's README runs to about 1.3K words. The original in the repository is authoritative.
Read full README