Skip to content
Scalekit Docs
Talk to an Engineer Dashboard

Anchor Browser MCP connector

OAuth 2.1/DCRAIAutomationDeveloper Tools

Connect to Anchor Browser MCP to run cloud browser automation, control live browser sessions, extract web data, and let AI agents browse and act on the...

Anchor Browser MCP connector

  1. Terminal window
    npm install @scalekit-sdk/node

    Full SDK reference: Node.js | Python

  2. Add your Scalekit credentials to your .env file. Find values in app.scalekit.com > Developers > API Credentials.

    .env
    SCALEKIT_ENVIRONMENT_URL=<your-environment-url>
    SCALEKIT_CLIENT_ID=<your-client-id>
    SCALEKIT_CLIENT_SECRET=<your-client-secret>
  3. quickstart.ts
    import { ScalekitClient } from '@scalekit-sdk/node'
    import 'dotenv/config'
    const scalekit = new ScalekitClient(
    process.env.SCALEKIT_ENV_URL,
    process.env.SCALEKIT_CLIENT_ID,
    process.env.SCALEKIT_CLIENT_SECRET,
    )
    const actions = scalekit.actions
    const connector = 'anchorbrowsermcp'
    const identifier = 'user_123'
    // Generate an authorization link for the user
    const { link } = await actions.getAuthorizationLink({ connectionName: connector, identifier })
    console.log('Authorize Anchor Browser MCP:', link)
    process.stdout.write('Press Enter after authorizing...')
    await new Promise(r => process.stdin.once('data', r))
    // Make your first call
    const result = await actions.executeTool({
    connector,
    identifier,
    toolName: 'anchorbrowsermcp_anchor_tab_list',
    toolInput: {},
    })
    console.log(result)

Connect this agent connector to let your agent:

  • For anchor wait — Pause the automation until a specified text appears on the page, a specified text disappears from the page, or a given number of seconds elapses
  • Type anchor — Type text into an editable element in the cloud browser page
  • Screenshot anchor take — Take a screenshot of the current browser page or a specific element
  • Select anchor tab — Switch the active browser tab to the tab at the given zero-based index
  • New anchor tab — Open a new browser tab in the cloud session, optionally navigating it to a specified URL
  • List anchor tab — List all currently open tabs in the cloud browser session, returning their indices and titles or URLs

Use the exact tool names from the Tool list below when you call execute_tool. If you’re not sure which name to use, list the tools available for the current user first.

anchorbrowsermcp_anchor_click#Perform a click on an element in the cloud browser page. Use `element` to provide a human-readable description of the target (e.g. 'Submit button') and `ref` to supply the exact element reference obtained from a prior `anchor_snapshot` accessibility snapshot. Optionally set `doubleClick` to true to perform a double-click instead.3 params

Perform a click on an element in the cloud browser page. Use `element` to provide a human-readable description of the target (e.g. 'Submit button') and `ref` to supply the exact element reference obtained from a prior `anchor_snapshot` accessibility snapshot. Optionally set `doubleClick` to true to perform a double-click instead.

NameTypeRequiredDescription
elementstringrequiredHuman-readable element description used to obtain permission to interact with the element
refstringrequiredExact target element reference from the page snapshot
doubleClickbooleanoptionalWhether to perform a double click instead of a single click
anchorbrowsermcp_anchor_close#Close the current browser page and end the active cloud browser session. Use this to cleanly terminate a session when automation is complete.0 params

Close the current browser page and end the active cloud browser session. Use this to cleanly terminate a session when automation is complete.

anchorbrowsermcp_anchor_console_messages#Returns all console messages captured since the current page was loaded. Use this to inspect JavaScript log output, warnings, and errors for debugging or validation purposes.0 params

Returns all console messages captured since the current page was loaded. Use this to inspect JavaScript log output, warnings, and errors for debugging or validation purposes.

anchorbrowsermcp_anchor_drag#Perform a drag-and-drop operation between two elements in the cloud browser page. Provide human-readable descriptions for both the source (`startElement`) and target (`endElement`), along with their exact element references (`startRef`, `endRef`) obtained from a prior `anchor_snapshot` accessibility snapshot. Useful for reordering list items, moving cards between columns, or resizing elements.4 params

Perform a drag-and-drop operation between two elements in the cloud browser page. Provide human-readable descriptions for both the source (`startElement`) and target (`endElement`), along with their exact element references (`startRef`, `endRef`) obtained from a prior `anchor_snapshot` accessibility snapshot. Useful for reordering list items, moving cards between columns, or resizing elements.

NameTypeRequiredDescription
endElementstringrequiredHuman-readable target element description used to obtain the permission to interact with the element
endRefstringrequiredExact target element reference from the page snapshot
startElementstringrequiredHuman-readable source element description used to obtain the permission to interact with the element
startRefstringrequiredExact source element reference from the page snapshot
anchorbrowsermcp_anchor_file_upload#Upload one or more files to the cloud browser page via a file input element. Provide an array of absolute file paths on the server where the browser session is running. Supports single or multiple file uploads to any `<input type='file'>` element that has been activated on the page.1 param

Upload one or more files to the cloud browser page via a file input element. Provide an array of absolute file paths on the server where the browser session is running. Supports single or multiple file uploads to any `<input type='file'>` element that has been activated on the page.

NameTypeRequiredDescription
pathsarrayrequiredThe absolute paths to the files to upload. Can be a single file or multiple files.
anchorbrowsermcp_anchor_generate_playwright_code#Generate a Playwright test script for a given scenario described as a series of steps. Provide a test name, description, and ordered list of step instructions; the tool returns runnable Playwright code. Use this to automate browser test authoring from natural language instructions.3 params

Generate a Playwright test script for a given scenario described as a series of steps. Provide a test name, description, and ordered list of step instructions; the tool returns runnable Playwright code. Use this to automate browser test authoring from natural language instructions.

NameTypeRequiredDescription
descriptionstringrequiredThe description of the test
namestringrequiredThe name of the test
stepsarrayrequiredThe steps of the test
anchorbrowsermcp_anchor_get_body_html#Get the HTML content of the body element from the current page, or of a specific element when a selector is provided. Useful for identifying the DOM structure and locating paths to important elements. By default, comments, scripts, styles, images, and SVGs are excluded to keep the output concise.2 params

Get the HTML content of the body element from the current page, or of a specific element when a selector is provided. Useful for identifying the DOM structure and locating paths to important elements. By default, comments, scripts, styles, images, and SVGs are excluded to keep the output concise.

NameTypeRequiredDescription
slimResponsebooleanrequiredWhether to exclude HTML comments, script tags, style tags, images and svgs in the output (default: true)
selectorstringoptionalThe selector of the element to be saved for example: .class-name, #id, etc.
anchorbrowsermcp_anchor_handle_dialog#Accept or dismiss a browser dialog (alert, confirm, or prompt) that has appeared in the cloud browser page. Set `accept` to true to confirm/accept the dialog, or false to cancel/dismiss it. For prompt dialogs that require text input, provide the response text in `promptText`.2 params

Accept or dismiss a browser dialog (alert, confirm, or prompt) that has appeared in the cloud browser page. Set `accept` to true to confirm/accept the dialog, or false to cancel/dismiss it. For prompt dialogs that require text input, provide the response text in `promptText`.

NameTypeRequiredDescription
acceptbooleanrequiredWhether to accept the dialog.
promptTextstringoptionalThe text of the prompt in case of a prompt dialog.
anchorbrowsermcp_anchor_hover#Hover the mouse cursor over an element in the cloud browser page without clicking it. Use `element` to provide a human-readable description of the target and `ref` to supply the exact element reference from a prior `anchor_snapshot` accessibility snapshot. Useful for revealing tooltips, dropdown menus, or other hover-triggered UI states.2 params

Hover the mouse cursor over an element in the cloud browser page without clicking it. Use `element` to provide a human-readable description of the target and `ref` to supply the exact element reference from a prior `anchor_snapshot` accessibility snapshot. Useful for revealing tooltips, dropdown menus, or other hover-triggered UI states.

NameTypeRequiredDescription
elementstringrequiredHuman-readable element description used to obtain permission to interact with the element
refstringrequiredExact target element reference from the page snapshot
anchorbrowsermcp_anchor_navigate#Navigate the cloud browser to a specified URL, loading the page in the current tab. Use this tool to start browsing a site, follow a link programmatically, or move to any web address during an automation session.1 param

Navigate the cloud browser to a specified URL, loading the page in the current tab. Use this tool to start browsing a site, follow a link programmatically, or move to any web address during an automation session.

NameTypeRequiredDescription
urlstringrequiredThe URL to navigate to
anchorbrowsermcp_anchor_navigate_back#Go back to the previous page in the browser history, equivalent to clicking the browser's Back button. Use this to return to a prior page after following a link or submitting a form.0 params

Go back to the previous page in the browser history, equivalent to clicking the browser's Back button. Use this to return to a prior page after following a link or submitting a form.

anchorbrowsermcp_anchor_navigate_forward#Go forward to the next page in the browser history, equivalent to clicking the browser's Forward button. Use this after navigating back to re-advance to a page you previously visited.0 params

Go forward to the next page in the browser history, equivalent to clicking the browser's Forward button. Use this after navigating back to re-advance to a page you previously visited.

anchorbrowsermcp_anchor_network_requests#Returns all network requests captured since the current page was loaded. Use this to inspect API calls, resource loads, and HTTP traffic for debugging, auditing, or understanding page behavior.0 params

Returns all network requests captured since the current page was loaded. Use this to inspect API calls, resource loads, and HTTP traffic for debugging, auditing, or understanding page behavior.

anchorbrowsermcp_anchor_pdf_save#Save the current browser page as a PDF file. Useful for archiving page content, generating printable reports, or capturing rendered page state as a document. An optional filename can be specified; otherwise a timestamped default is used.1 param

Save the current browser page as a PDF file. Useful for archiving page content, generating printable reports, or capturing rendered page state as a document. An optional filename can be specified; otherwise a timestamped default is used.

NameTypeRequiredDescription
filenamestringoptionalFile name to save the pdf to. Defaults to `page-{timestamp}.pdf` if not specified.
anchorbrowsermcp_anchor_press_key#Press a keyboard key or key combination in the cloud browser page. Accepts named keys (e.g. `ArrowLeft`, `Enter`, `Tab`, `Escape`) or single characters (e.g. `a`, `1`). Useful for keyboard navigation, submitting forms, triggering shortcuts, or dismissing dialogs without using the mouse.1 param

Press a keyboard key or key combination in the cloud browser page. Accepts named keys (e.g. `ArrowLeft`, `Enter`, `Tab`, `Escape`) or single characters (e.g. `a`, `1`). Useful for keyboard navigation, submitting forms, triggering shortcuts, or dismissing dialogs without using the mouse.

NameTypeRequiredDescription
keystringrequiredName of the key to press or a character to generate, such as `ArrowLeft` or `a`
anchorbrowsermcp_anchor_resize#Resize the browser window to the specified width and height in pixels. Use this to test responsive layouts, simulate different device viewports, or prepare the browser state before capturing screenshots or snapshots.2 params

Resize the browser window to the specified width and height in pixels. Use this to test responsive layouts, simulate different device viewports, or prepare the browser state before capturing screenshots or snapshots.

NameTypeRequiredDescription
heightnumberrequiredHeight of the browser window
widthnumberrequiredWidth of the browser window
anchorbrowsermcp_anchor_select_option#Select one or more options in a dropdown or select element in the cloud browser page. Use `element` to provide a human-readable description of the dropdown and `ref` to supply the exact element reference from a prior `anchor_snapshot` accessibility snapshot. Pass one or more option values in the `values` array to select.3 params

Select one or more options in a dropdown or select element in the cloud browser page. Use `element` to provide a human-readable description of the dropdown and `ref` to supply the exact element reference from a prior `anchor_snapshot` accessibility snapshot. Pass one or more option values in the `values` array to select.

NameTypeRequiredDescription
elementstringrequiredHuman-readable element description used to obtain permission to interact with the element
refstringrequiredExact target element reference from the page snapshot
valuesarrayrequiredArray of values to select in the dropdown. This can be a single value or multiple values.
anchorbrowsermcp_anchor_snapshot#Capture an accessibility snapshot of the current page. This produces a structured representation of the page's accessible elements (roles, labels, states), which is more useful than a screenshot for planning and executing further interactions. Use this to understand page structure before performing actions.0 params

Capture an accessibility snapshot of the current page. This produces a structured representation of the page's accessible elements (roles, labels, states), which is more useful than a screenshot for planning and executing further interactions. Use this to understand page structure before performing actions.

anchorbrowsermcp_anchor_tab_close#Close a browser tab by its index, or close the currently active tab if no index is specified. Use this to clean up tabs that are no longer needed during a multi-tab automation session.1 param

Close a browser tab by its index, or close the currently active tab if no index is specified. Use this to clean up tabs that are no longer needed during a multi-tab automation session.

NameTypeRequiredDescription
indexnumberoptionalThe index of the tab to close. Closes current tab if not provided.
anchorbrowsermcp_anchor_tab_list#List all currently open tabs in the cloud browser session, returning their indices and titles or URLs. Use this to inspect available tabs before selecting or closing one.0 params

List all currently open tabs in the cloud browser session, returning their indices and titles or URLs. Use this to inspect available tabs before selecting or closing one.

anchorbrowsermcp_anchor_tab_new#Open a new browser tab in the cloud session, optionally navigating it to a specified URL. If no URL is provided, the new tab opens blank. Use this to work across multiple pages simultaneously.1 param

Open a new browser tab in the cloud session, optionally navigating it to a specified URL. If no URL is provided, the new tab opens blank. Use this to work across multiple pages simultaneously.

NameTypeRequiredDescription
urlstringoptionalThe URL to navigate to in the new tab. If not provided, the new tab will be blank.
anchorbrowsermcp_anchor_tab_select#Switch the active browser tab to the tab at the given zero-based index. Use this to move focus between multiple open tabs before interacting with the content of a specific tab.1 param

Switch the active browser tab to the tab at the given zero-based index. Use this to move focus between multiple open tabs before interacting with the content of a specific tab.

NameTypeRequiredDescription
indexnumberrequiredThe index of the tab to select
anchorbrowsermcp_anchor_take_screenshot#Take a screenshot of the current browser page or a specific element. Returns a JPEG image by default (or PNG when raw mode is enabled). Use this to visually inspect page state; note that screenshots cannot be used as input for further actions — use anchor_snapshot instead when you need to interact with elements.4 params

Take a screenshot of the current browser page or a specific element. Returns a JPEG image by default (or PNG when raw mode is enabled). Use this to visually inspect page state; note that screenshots cannot be used as input for further actions — use anchor_snapshot instead when you need to interact with elements.

NameTypeRequiredDescription
elementstringoptionalHuman-readable element description used to obtain permission to screenshot the element. If not provided, the screenshot will be taken of viewport. If element is provided, ref must be provided too.
filenamestringoptionalFile name to save the screenshot to. Defaults to `page-{timestamp}.{png|jpeg}` if not specified.
rawbooleanoptionalWhether to return without compression (in PNG format). Default is false, which returns a JPEG image.
refstringoptionalExact target element reference from the page snapshot. If not provided, the screenshot will be taken of viewport. If ref is provided, element must be provided too.
anchorbrowsermcp_anchor_type#Type text into an editable element in the cloud browser page. Use `element` to provide a human-readable description of the target input and `ref` to supply the exact element reference from a prior `anchor_snapshot` accessibility snapshot. Optionally press Enter after typing (`submit`) or type character-by-character to trigger key handlers (`slowly`).5 params

Type text into an editable element in the cloud browser page. Use `element` to provide a human-readable description of the target input and `ref` to supply the exact element reference from a prior `anchor_snapshot` accessibility snapshot. Optionally press Enter after typing (`submit`) or type character-by-character to trigger key handlers (`slowly`).

NameTypeRequiredDescription
elementstringrequiredHuman-readable element description used to obtain permission to interact with the element
refstringrequiredExact target element reference from the page snapshot
textstringrequiredText to type into the element
slowlybooleanoptionalWhether to type one character at a time. Useful for triggering key handlers in the page. By default entire text is filled in at once.
submitbooleanoptionalWhether to submit entered text (press Enter after)
anchorbrowsermcp_anchor_wait_for#Pause the automation until a specified text appears on the page, a specified text disappears from the page, or a given number of seconds elapses. Use this to synchronize with dynamic page content loading or transitions before taking the next action.3 params

Pause the automation until a specified text appears on the page, a specified text disappears from the page, or a given number of seconds elapses. Use this to synchronize with dynamic page content loading or transitions before taking the next action.

NameTypeRequiredDescription
textstringoptionalThe text to wait for
textGonestringoptionalThe text to wait for to disappear
timenumberoptionalThe time to wait in seconds