browser_get_cookies

MCP tool from MCP Server Webdriver by VitexSoftware

Read all cookies for the current page

How to use it

browser_get_cookies is exposed by the MCP Server Webdriver MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the browser_get_cookies tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.

Install MCP Server Webdriver

$mcp-server-webdriver -P work
FULL MCP SERVER WEBDRIVER LISTING

Other tools in MCP Server Webdriver (37)

browser_accept_dialog

Accept a JS alert() / confirm() / prompt()

browser_back

Go back in history

browser_click

Click element (CSS selector)

browser_close

Quit the browser session

browser_dismiss_dialog

Dismiss a JS confirm() / prompt()

browser_execute_js

Run JavaScript — returns JSON

browser_fill

Type text into an input field (clears first by default)

browser_find_elements

List all elements matching a CSS selector

browser_forward

Go forward in history

browser_get_attribute

Value of an HTML attribute on an element (wrapped as untrusted content)

browser_get_source

Raw HTML source (wrapped as untrusted content — see Security)

browser_get_text

Visible text (whole page or CSS selector; wrapped as untrusted content)

browser_get_title

Current page <title>

browser_get_url

Current URL

browser_hover

Hover mouse over element (:hover states, tooltips, dropdowns)

browser_navigate

Navigate to a URL (bare hostnames get https://)

browser_open

Open Firefox (URL optional, default about:blank); accepts width, height, useragent for mobile emulation

browser_press_key

Send enter / tab / escape / arrow / F-keys

browser_refresh

Reload the current page

browser_screenshot

Full-page or element PNG screenshot

browser_scroll

Scroll to coords, by offset, or element into view

browser_select

Select <option> in a <select> dropdown

browser_set_cookie

Inject a cookie (auth tokens, session IDs)

browser_set_viewport

Resize the viewport mid-session (e.g. 390×844 for iPhone 14)

browser_status

Session state, geckodriver version, BiDi status, current viewport size, buffer counts

browser_switch_frame

Switch into <iframe> or back to main document

browser_wait

Wait: visible / clickable / present / text:<str>

devtools_clear

Clear buffered DevTools data (use before navigating)

devtools_computed_css

Computed CSS properties of an element

devtools_console

Console output (log / warn / error / info / debug; entries carry an untrusted marker)

devtools_css_variables

CSS custom properties (--var) in scope

devtools_element_info

Bounding box, visibility, attributes, aria, outerHTML

devtools_enable_bidi

Attach BiDi listeners to a running session

devtools_js_errors

JavaScript exceptions only (entries carry an untrusted marker)

devtools_network_all

All network requests (supports limit= and filters)

devtools_network_failed

Failed resources (4xx, 5xx, DNS errors)

devtools_report

Main diagnostic tool — JS errors + console + failed/slow network