Dashboard

MCP Tools Reference

Complete reference for all 33 tools available through the Scrayle MCP Server. Each tool is callable by your AI assistant when connected via MCP.

Scraping Tools

scrape_url

Scrape a single URL and extract content as markdown, HTML, links, or screenshots.

ParameterTypeRequiredDescription
urlstring (URL)YesThe page URL to scrape
formatsarrayNoOutput formats: markdown, html, links, screenshot. Default: ["markdown"]
waitFornumberNoWait time in ms after page load (0-10000)
mobilebooleanNoEmulate a mobile viewport

batch_scrape

Scrape multiple URLs in parallel (up to 20 at once).

ParameterTypeRequiredDescription
urlsstring[] (URLs)YesArray of URLs to scrape (max 20)
formatsarrayNoOutput formats. Default: ["markdown"]

Crawling

crawl_website

Recursively crawl a website starting from a URL, following links and extracting content from each page.

ParameterTypeRequiredDescription
urlstring (URL)YesStarting URL for the crawl
maxPagesnumber (1-500)NoMaximum pages to crawl. Default: 50
maxDepthnumber (1-10)NoMaximum link depth. Default: 3
allowedDomainsstring[]NoOnly follow links to these domains
excludePathsstring[]NoURL path patterns to skip

Browser Control Tools

start_browser_session

Launch a cloud browser session and connect to it. Returns a task ID for use with all other browser_* tools.

ParameterTypeRequiredDescription
browserModeenumNoprivate, stealth, or human. Default: stealth
proxyCountrystringNoISO country code for proxy (e.g. US, GB)
sessionTTLnumber (10-7200)NoSession time-to-live in seconds. Default: 300
profileIdstringNoBrowser profile ID for persistent cookies/storage

browser_navigate

Navigate the browser to a URL. Returns the page title and URL after navigation.

ParameterTypeRequiredDescription
taskIdstringYesThe browser session task ID from start_browser_session
urlstring (URL)YesThe URL to navigate to
waitUntilenumNoload, domcontentloaded, or networkidle. Default: domcontentloaded

browser_click

Click an element on the page by CSS selector.

ParameterTypeRequiredDescription
taskIdstringYesThe browser session task ID
selectorstringYesCSS selector of the element to click

browser_type

Type text into an input field. Optionally clear the field first and press Enter after typing.

ParameterTypeRequiredDescription
taskIdstringYesThe browser session task ID
selectorstringYesCSS selector of the input element
textstringYesThe text to type
clearbooleanNoClear the field before typing. Default: true
pressEnterbooleanNoPress Enter after typing. Default: false

browser_screenshot

Take a screenshot of the current page. Returns a base64 PNG image.

ParameterTypeRequiredDescription
taskIdstringYesThe browser session task ID
fullPagebooleanNoCapture the full scrollable page. Default: false (viewport only)

browser_get_content

Get the visible text content of the page or a specific element.

ParameterTypeRequiredDescription
taskIdstringYesThe browser session task ID
selectorstringNoCSS selector to extract content from. Default: entire page body

browser_evaluate

Execute JavaScript in the browser page context. Returns the result.

ParameterTypeRequiredDescription
taskIdstringYesThe browser session task ID
scriptstringYesJavaScript code to execute in the page context

browser_select

Select an option from a dropdown/select element.

ParameterTypeRequiredDescription
taskIdstringYesThe browser session task ID
selectorstringYesCSS selector of the select element
valuestringYesThe option value or visible label to select

browser_scroll

Scroll the page up or down.

ParameterTypeRequiredDescription
taskIdstringYesThe browser session task ID
directionenumYesup or down
pixelsnumber (100-5000)NoPixels to scroll. Default: 500

browser_wait

Wait for an element to appear on the page, or for the page to finish loading.

ParameterTypeRequiredDescription
taskIdstringYesThe browser session task ID
selectorstringNoCSS selector to wait for (waits until visible)
timeoutnumber (1000-30000)NoMax wait time in ms. Default: 10000

close_browser_session

Close an active cloud browser session and disconnect.

ParameterTypeRequiredDescription
taskIdstringYesThe browser session task ID

list_browser_profiles

List your saved browser profiles. No parameters required.

Workflow Tools

create_workflow

Create a new automation workflow with nodes and edges.

ParameterTypeRequiredDescription
namestringYesName for the workflow
nodesarrayYesArray of workflow nodes. Each node has id, type (e.g. Scraper, DataExtractor), and data object
edgesarrayYesArray of edges connecting nodes. Each edge has source and target node IDs
descriptionstringNoOptional description of the workflow

list_workflows

List your automation workflows. No parameters required.

run_workflow

Execute a visual automation workflow by its ID.

ParameterTypeRequiredDescription
workflowIdstringYesThe workflow ID to run
workflowNamestringNoA human-readable name for this run
inputParamsobjectNoKey-value input parameters for the workflow
proxyCountrystringNoISO country code for proxy
browserModeenumNoprivate, stealth, or human

get_workflow_status

Check the status of a workflow run.

ParameterTypeRequiredDescription
taskIdstringYesThe workflow run task ID

list_workflow_runs

List your recent workflow runs with their status.

ParameterTypeRequiredDescription
limitnumber (1-50)NoNumber of runs to return. Default: 10

Marketplace Tools

search_marketplace

Search the Scrayle Marketplace for pre-built scraping workflows and automation actors.

ParameterTypeRequiredDescription
querystringNoSearch query (e.g. "tiktok scraper", "amazon products")
categorystringNoFilter by category (e.g. "social-media", "e-commerce")
listingTypeenumNotemplate or actor
limitnumber (1-50)NoNumber of results. Default: 20

get_marketplace_actor

Get detailed information about a marketplace actor/template.

ParameterTypeRequiredDescription
templateIdstringYesThe marketplace template/actor ID

run_marketplace_actor

Run a marketplace actor with custom input parameters.

ParameterTypeRequiredDescription
templateIdstringYesThe actor/template ID to run
inputobjectNoInput parameters for the actor

CAPTCHA Tools

solve_captcha

Solve a CAPTCHA challenge and return the solution token.

ParameterTypeRequiredDescription
typestringYesCAPTCHA type (e.g. ReCaptchaV2TaskProxyless, HCaptchaTaskProxyless, TurnstileTaskProxyless)
websiteURLstring (URL)YesThe page URL with the CAPTCHA
websiteKeystringYesThe CAPTCHA site key
isInvisiblebooleanNoWhether the CAPTCHA is invisible (reCAPTCHA only)

Storage Tools

kv_create_namespace

Create a new key-value store namespace.

ParameterTypeRequiredDescription
namestringYesName for the new KV namespace

kv_get

Get a value from a key-value store namespace.

ParameterTypeRequiredDescription
namespaceIdstringYesThe KV namespace ID
keystringYesThe key to retrieve

kv_set

Set a value in a key-value store namespace.

ParameterTypeRequiredDescription
namespaceIdstringYesThe KV namespace ID
keystringYesThe key to set
valueanyYesThe value to store (any JSON-serializable value)
ttlnumberNoTime-to-live in seconds

kv_list_namespaces

List your KV store namespaces. No parameters required.

create_dataset

Create a new dataset for storing structured records.

ParameterTypeRequiredDescription
namestringYesName for the new dataset

list_datasets

List your datasets with item counts. No parameters required.

get_dataset_items

Get items from a dataset.

ParameterTypeRequiredDescription
datasetIdstringYesThe dataset ID
limitnumber (1-100)NoNumber of items. Default: 25
offsetnumberNoPagination offset. Default: 0

add_dataset_items

Add items to a dataset.

ParameterTypeRequiredDescription
datasetIdstringYesThe dataset ID
itemsobject[] (1-100)YesArray of data items (flat key-value objects)
💡Tool Usage

You do not call these tools directly. Your AI assistant calls them automatically based on your conversation. Just describe what you need in natural language.