camoufox-playwright-mcp

v0.1.6
camoufox-playwright-mcp Checked 5 days ago Published 1 month ago

The Playwright MCP, on Camoufox.

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

browser_resize Resize browser window

Resize the browser window

ParameterTypeDescription
height *integer
width *integer
_meta

browser_close Close browser

Close the page

ParameterTypeDescription
_meta

browser_console_messages Get console messages

Returns all console messages

ParameterTypeDescription
_meta
allboolean
filename
levelstring

browser_handle_dialog Handle a dialog

Handle a dialog

ParameterTypeDescription
accept *boolean
_meta
promptText

browser_evaluate Evaluate JavaScript

Evaluate JavaScript expression on page or element

ParameterTypeDescription
function *string
_meta
element
filename
target

browser_file_upload Upload files

Upload one or multiple files

ParameterTypeDescription
_meta
paths

browser_drop Drop files or data onto an element

Drop files or MIME-typed data onto an element, as if dragged from outside the page. At least one of "paths" or "data" must be provided.

ParameterTypeDescription
target *string
_meta
data
element
paths

browser_find Find in page snapshot

Search the accessibility snapshot of the current page for text or a regular expression. Returns matching snapshot nodes with a few lines of surrounding context (like search snippets), which is cheaper than capturing the whole snapshot when you only need to locate an element and its ref.

ParameterTypeDescription
_meta
regex
text

browser_fill_form Fill form

Fill multiple form fields

ParameterTypeDescription
fields *array
_meta

browser_press_key Press a key

Press a key on the keyboard

ParameterTypeDescription
key *string
_meta

browser_type Type text

Type text into editable element

ParameterTypeDescription
target *string
text *string
_meta
element
slowlyboolean
submitboolean

browser_navigate Navigate to a URL

Navigate to a URL

ParameterTypeDescription
url *stringThe URL to navigate to
_meta

browser_navigate_back Go back

Go back to the previous page in the history

ParameterTypeDescription
_meta

browser_network_requests List network requests

Returns a numbered list of network requests since loading the page. Use browser_network_request with the number to get full details.

ParameterTypeDescription
_meta
filenameFilename to save the network requests to. If not provided, requests are returned as text.
filterOnly return requests whose URL matches this regexp (e.g. "/api/.*user").
staticbooleanWhether to include successful static resources like images, fonts, scripts, etc. Defaults to false.

browser_network_request Show network request details

Returns full details (headers and body) of a single network request, or a single part if `part` is set. Use the number from browser_network_requests.

ParameterTypeDescription
index *integer1-based index of the request, as printed by browser_network_requests.
_meta
filenameFilename to save the result to. If not provided, output is returned as text.
partReturn only this part of the request. Omit to return full details.

browser_run_code_unsafe Run Playwright code (unsafe)

Run a Python Playwright code snippet. Unsafe: executes arbitrary Python in the Playwright server process with normal builtins/imports and is RCE-equivalent.

ParameterTypeDescription
_meta
codePython Playwright code to execute. It may define an async function or provide statements that run with page in scope.
filenameLoad code from the specified file. If both code and filename are provided, code will be ignored.

browser_take_screenshot Take a screenshot

Take a screenshot of the current page. You can't perform actions based on the screenshot, use browser_snapshot for actions.

ParameterTypeDescription
_meta
element
filename
fullPage
scalestring
target
typestring

browser_snapshot Page snapshot

Capture accessibility snapshot of the current page, this is better than screenshot

ParameterTypeDescription
_meta
boxes
depth
filename
target

browser_click Click

Perform click on a web page

ParameterTypeDescription
target *string
_meta
button
doubleClickboolean
element
modifiers

browser_select_option Select option

Select an option in a dropdown

ParameterTypeDescription
target *string
values *array
_meta
element

browser_hover Hover mouse

Hover over element on page

ParameterTypeDescription
target *string
_meta
element

browser_drag Drag mouse

Perform drag and drop between two elements

ParameterTypeDescription
endTarget *string
startTarget *string
_meta
endElement
startElement

browser_tabs Manage tabs

List, create, close, or select a browser tab.

ParameterTypeDescription
action *string
_meta
index
url

browser_wait_for Wait for

Wait for text to appear or disappear or a specified time to pass

ParameterTypeDescription
_meta
text
textGone
time